svn commit: r345194 - head/japanese/celrw

Emanuel Haupt ehaupt at FreeBSD.org
Thu Feb 20 08:46:06 UTC 2014


Author: ehaupt
Date: Thu Feb 20 08:46:05 2014
New Revision: 345194
URL: http://svnweb.freebsd.org/changeset/ports/345194
QAT: https://qat.redports.org/buildarchive/r345194/

Log:
  Support staging

Modified:
  head/japanese/celrw/Makefile

Modified: head/japanese/celrw/Makefile
==============================================================================
--- head/japanese/celrw/Makefile	Thu Feb 20 08:44:59 2014	(r345193)
+++ head/japanese/celrw/Makefile	Thu Feb 20 08:46:05 2014	(r345194)
@@ -17,7 +17,8 @@ ALL_TARGET=	${PORTNAME}
 PORTDOCS=	README
 PLIST_FILES=	bin/celrw
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS
+
 post-extract:
 .for file in config.guess config.sub install.sh
 	@${RM} -f ${WRKSRC}/${file}
@@ -25,10 +26,8 @@ post-extract:
 .endfor
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/celrw ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/celrw ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list