aboutsummaryrefslogtreecommitdiff
path: root/shells/jailkit
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-12-27 08:24:48 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-12-27 08:24:48 +0000
commit48812c732f41da9b7041f26462993c42b4d194db (patch)
tree9d9e46b8f1d2cd83cd3cb925addf988f7b7fb4b2 /shells/jailkit
parentb7b786729a347b5a26f468cfc1d2f990cd1f01d5 (diff)
downloadports-48812c732f41da9b7041f26462993c42b4d194db.tar.gz
ports-48812c732f41da9b7041f26462993c42b4d194db.zip
Notes
Diffstat (limited to 'shells/jailkit')
-rw-r--r--shells/jailkit/Makefile30
-rw-r--r--shells/jailkit/pkg-plist13
2 files changed, 15 insertions, 28 deletions
diff --git a/shells/jailkit/Makefile b/shells/jailkit/Makefile
index facf1d5baa55..2999a490d7bb 100644
--- a/shells/jailkit/Makefile
+++ b/shells/jailkit/Makefile
@@ -16,36 +16,10 @@ USE_PYTHON= 2
SHELLS= /etc/shells
-MAN8= jailkit.8 \
- jk_addjailuser.8 \
- jk_check.8 \
- jk_chrootlaunch.8 \
- jk_chrootsh.8 \
- jk_cp.8 \
- jk_init.8 \
- jk_jailuser.8 \
- jk_list.8 \
- jk_lsh.8 \
- jk_socketd.8 \
- jk_uchroot.8 \
- jk_update.8
-MANCOMPRESSED= yes
-
PORTDOCS= COPYRIGHT README.txt
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
post-install:
- @${ECHO_MSG} "Updating ${SHELLS}"
- @${CP} ${SHELLS} ${SHELLS}.bak
- @(${GREP} -v ${PREFIX}/sbin/jk_chrootsh ${SHELLS}.bak; \
- ${ECHO_CMD} ${PREFIX}/sbin/jk_chrootsh) > ${SHELLS}
- @${RM} -f ${SHELLS}.bak
-
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/shells/jailkit/pkg-plist b/shells/jailkit/pkg-plist
index 43ea9d180f36..58912d4c6772 100644
--- a/shells/jailkit/pkg-plist
+++ b/shells/jailkit/pkg-plist
@@ -6,6 +6,19 @@ etc/jailkit/jk_socketd.ini
etc/jailkit/jk_chrootsh.ini
etc/jailkit/jk_update.ini
etc/jailkit/jk_uchroot.ini
+man/man8/jailkit.8.gz
+man/man8/jk_addjailuser.8.gz
+man/man8/jk_check.8.gz
+man/man8/jk_chrootlaunch.8.gz
+man/man8/jk_chrootsh.8.gz
+man/man8/jk_cp.8.gz
+man/man8/jk_init.8.gz
+man/man8/jk_jailuser.8.gz
+man/man8/jk_list.8.gz
+man/man8/jk_lsh.8.gz
+man/man8/jk_socketd.8.gz
+man/man8/jk_uchroot.8.gz
+man/man8/jk_update.8.gz
sbin/jk_chrootlaunch
sbin/jk_chrootsh
sbin/jk_cp