summaryrefslogtreecommitdiff
path: root/shells/jailkit/Makefile
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2013-08-15 11:51:39 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2013-08-15 11:51:39 +0000
commit32a0b889501bf00b669ea69ac80e994f8e3cdf37 (patch)
tree006e69be6b89ba95c280c805bd594c995912cf3d /shells/jailkit/Makefile
parentMake the sed(1) call to add a GDB index to generated files work with base sed. (diff)
- Try to unbreak parallel builds (-jX) by calling sub-makes correctly
- Do not mention PORTNAME in the COMMENT (according to PH section 5.6) - Avoid .for loop when installing portdocs, slightly cleanup Makefile - Reformat pkg-descr nicely (now perfectly aligned on both sides) and pacify portlint(1) by using correct delimiter after WWW line (space, per PH section 3.2.1). Reported by: marino Approved by: miwi, bapt (portmgr, implicit)
Notes
Notes: svn path=/head/; revision=324765
Diffstat (limited to 'shells/jailkit/Makefile')
-rw-r--r--shells/jailkit/Makefile16
1 files changed, 7 insertions, 9 deletions
diff --git a/shells/jailkit/Makefile b/shells/jailkit/Makefile
index ebd8336a2bd8..34a78d61d88d 100644
--- a/shells/jailkit/Makefile
+++ b/shells/jailkit/Makefile
@@ -1,6 +1,5 @@
# Created by: Sylvio Cesar <sylvio@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= jailkit
PORTVERSION= 2.15
@@ -9,7 +8,7 @@ MASTER_SITES= http://olivier.sessink.nl/jailkit/ \
http://www.sfr-fresh.com/unix/privat/
MAINTAINER= sylvio@FreeBSD.org
-COMMENT= Jailkit is a set of utilities to limit user account
+COMMENT= Utilities to limit user account
GNU_CONFIGURE= yes
USE_PYTHON= 2.5+
@@ -33,19 +32,18 @@ MANCOMPRESSED= yes
PORTDOCS= COPYRIGHT README.txt
-.include <bsd.port.pre.mk>
+.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}
+ ${ECHO_CMD} ${PREFIX}/sbin/jk_chrootsh) > ${SHELLS}
@${RM} -f ${SHELLS}.bak
.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
-.for docs in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}
-.endfor
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif
-.include <bsd.port.post.mk>
+
+.include <bsd.port.mk>