aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-25 18:04:26 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-25 18:04:26 +0800
commit572b189e91fefd1be69a535779bb3223f8ded574 (patch)
tree5d653a4e4812701e87b667cb8477c27d87840e66 /security
parent92018ef6c5551d4d1e49abcef2bbde5520ab65f6 (diff)
downloadfreebsd-ports-gnome-572b189e91fefd1be69a535779bb3223f8ded574.tar.gz
freebsd-ports-gnome-572b189e91fefd1be69a535779bb3223f8ded574.tar.zst
freebsd-ports-gnome-572b189e91fefd1be69a535779bb3223f8ded574.zip
Support staging
Diffstat (limited to 'security')
-rw-r--r--security/chrootuid/Makefile17
-rw-r--r--security/chrootuid/pkg-plist4
2 files changed, 8 insertions, 13 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>
diff --git a/security/chrootuid/pkg-plist b/security/chrootuid/pkg-plist
deleted file mode 100644
index f640f7912d53..000000000000
--- a/security/chrootuid/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-sbin/chrootuid
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/chrootuid_license
-@dirrm %%DOCSDIR%%