summaryrefslogtreecommitdiff
path: root/security/chrootuid/Makefile
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-25 10:04:26 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-25 10:04:26 +0000
commitb90d4a6a72447bebe195be1c4658ae208386736a (patch)
tree5d653a4e4812701e87b667cb8477c27d87840e66 /security/chrootuid/Makefile
parentSupport staging (diff)
Support staging
Notes
Notes: svn path=/head/; revision=345953
Diffstat (limited to 'security/chrootuid/Makefile')
-rw-r--r--security/chrootuid/Makefile17
1 files changed, 8 insertions, 9 deletions
diff --git a/security/chrootuid/Makefile b/security/chrootuid/Makefile
index 2115a7a7449c..9b63a0fef389 100644
--- a/security/chrootuid/Makefile
+++ b/security/chrootuid/Makefile
@@ -11,16 +11,15 @@ DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple wrapper that combines chroot(8) and su(1) into one program
-MAN8= chrootuid.8
+PLIST_FILES= sbin/chrootuid man/man8/chrootuid.1.gz
+PORTDOCS= README
+
+OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
do-install:
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/chrootuid_license ${DOCSDIR}
-.endif
- ${INSTALL_PROGRAM} ${WRKSRC}/chrootuid ${PREFIX}/sbin/
- ${INSTALL_MAN} ${WRKSRC}/chrootuid.1 ${PREFIX}/man/man8/${MAN8}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/chrootuid ${STAGEDIR}${PREFIX}/sbin/
+ ${INSTALL_MAN} ${WRKSRC}/chrootuid.1 ${STAGEDIR}${PREFIX}/man/man8
.include <bsd.port.mk>