svn commit: r356980 - head/net-mgmt/confregdecode

Joe Marcus Clarke marcus at FreeBSD.org
Sun Jun 8 06:23:21 UTC 2014


Author: marcus
Date: Sun Jun  8 06:23:20 2014
New Revision: 356980
URL: http://svnweb.freebsd.org/changeset/ports/356980
QAT: https://qat.redports.org/buildarchive/r356980/

Log:
  Convert to STAGE.

Modified:
  head/net-mgmt/confregdecode/Makefile

Modified: head/net-mgmt/confregdecode/Makefile
==============================================================================
--- head/net-mgmt/confregdecode/Makefile	Sun Jun  8 06:12:39 2014	(r356979)
+++ head/net-mgmt/confregdecode/Makefile	Sun Jun  8 06:23:20 2014	(r356980)
@@ -17,17 +17,20 @@ MAKE_ENV=	JAVAC="${JAVAC}" JAR="${JAR}"
 DATADIR=	${JAVASHAREDIR}/${PORTNAME}
 SUB_FILES=	confregdecode
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS
+
+.include <bsd.port.options.mk>
+
 do-install:
-	${MKDIR} ${DATADIR}
-	${INSTALL_DATA} ${WRKSRC}/confregdecode.jar ${DATADIR}
-	${INSTALL_SCRIPT} ${WRKDIR}/confregdecode ${PREFIX}/bin
+	${MKDIR} ${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/confregdecode.jar ${STAGEDIR}${DATADIR}
+	${INSTALL_SCRIPT} ${WRKDIR}/confregdecode ${STAGEDIR}${PREFIX}/bin
 
 post-install:
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
+.if ${PORT_OPTIONS:MDOCS}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for file in README.txt ConfregDecode.html
-	${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR}
+	${INSTALL_MAN} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
 .endfor
 .endif
 


More information about the svn-ports-head mailing list