svn commit: r359438 - head/sysutils/jailrc

Vanilla I. Shu vanilla at FreeBSD.org
Fri Jun 27 02:48:13 UTC 2014


Author: vanilla
Date: Fri Jun 27 02:48:12 2014
New Revision: 359438
URL: http://svnweb.freebsd.org/changeset/ports/359438
QAT: https://qat.redports.org/buildarchive/r359438/

Log:
  1: Stagify.
  2: switch to options helper.
  
  Approved by:	portmgr@ (blanket approval)

Modified:
  head/sysutils/jailrc/Makefile

Modified: head/sysutils/jailrc/Makefile
==============================================================================
--- head/sysutils/jailrc/Makefile	Fri Jun 27 02:33:04 2014	(r359437)
+++ head/sysutils/jailrc/Makefile	Fri Jun 27 02:48:12 2014	(r359438)
@@ -12,16 +12,16 @@ COMMENT=	Improved jail startup/shutdown 
 
 NO_BUILD=	yes
 NO_INSTALL=	yes
-
 USE_RC_SUBR=	jailrc
-
 PORTDOCS=	*
+OPTIONS_DEFINE=	DOCS
+
+.include <bsd.port.options.mk>
 
-NO_STAGE=	yes
 post-install:
-.if !defined(NOPORTDOCS)
-		@${MKDIR} ${DOCSDIR}
-		@${INSTALL_DATA} ${FILESDIR}/README ${DOCSDIR}/README
+.if ${PORT_OPTIONS:MDOCS}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	@${INSTALL_DATA} ${FILESDIR}/README ${STAGEDIR}${DOCSDIR}/README
 .endif
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list