From b90d4a6a72447bebe195be1c4658ae208386736a Mon Sep 17 00:00:00 2001 From: Emanuel Haupt Date: Tue, 25 Feb 2014 10:04:26 +0000 Subject: Support staging --- security/chrootuid/Makefile | 17 ++++++++--------- security/chrootuid/pkg-plist | 4 ---- 2 files changed, 8 insertions(+), 13 deletions(-) delete mode 100644 security/chrootuid/pkg-plist (limited to 'security/chrootuid') 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 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%% -- cgit v1.2.3