svn commit: r345953 - head/security/chrootuid

Emanuel Haupt ehaupt at FreeBSD.org
Tue Feb 25 10:04:27 UTC 2014


Author: ehaupt
Date: Tue Feb 25 10:04:26 2014
New Revision: 345953
URL: http://svnweb.freebsd.org/changeset/ports/345953
QAT: https://qat.redports.org/buildarchive/r345953/

Log:
  Support staging

Deleted:
  head/security/chrootuid/pkg-plist
Modified:
  head/security/chrootuid/Makefile

Modified: head/security/chrootuid/Makefile
==============================================================================
--- head/security/chrootuid/Makefile	Tue Feb 25 09:48:09 2014	(r345952)
+++ head/security/chrootuid/Makefile	Tue Feb 25 10:04:26 2014	(r345953)
@@ -11,16 +11,15 @@ DISTNAME=	${PORTNAME}${PORTVERSION}
 MAINTAINER=	ports at 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>


More information about the svn-ports-all mailing list