svn commit: r334192 - head/chinese/cnprint

Li-Wen Hsu lwhsu at FreeBSD.org
Mon Nov 18 13:42:02 UTC 2013


Author: lwhsu
Date: Mon Nov 18 13:42:01 2013
New Revision: 334192
URL: http://svnweb.freebsd.org/changeset/ports/334192

Log:
  - Support STAGE

Modified:
  head/chinese/cnprint/Makefile

Modified: head/chinese/cnprint/Makefile
==============================================================================
--- head/chinese/cnprint/Makefile	Mon Nov 18 13:29:35 2013	(r334191)
+++ head/chinese/cnprint/Makefile	Mon Nov 18 13:42:01 2013	(r334192)
@@ -24,7 +24,6 @@ OPTIONS_DEFAULT=	A4SIZE
 
 A4SIZE_DESC=	Set A4 (not Letter) as a default paper size
 
-NO_STAGE=	yes
 .include <bsd.port.pre.mk>
 
 do-extract:
@@ -53,9 +52,9 @@ do-build:
 	${CC} cnprint330b.c ttfb330b.c -o cnprint -DPREFIX=\"${PREFIX}\"
 
 do-install:
-	${MKDIR} ${DATADIR}
-	${INSTALL_PROGRAM} ${WRKSRC}/cnprint ${PREFIX}/bin
-	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}33.cmd  ${DATADIR}/${PORTNAME}.cmd
-	${INSTALL_DATA} ${FILES} ${DATADIR}
+	${MKDIR} ${STAGEDIR}${DATADIR}
+	${INSTALL_PROGRAM} ${WRKSRC}/cnprint ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}33.cmd  ${STAGEDIR}${DATADIR}/${PORTNAME}.cmd
+	${INSTALL_DATA} ${FILES} ${STAGEDIR}${DATADIR}
 
 .include <bsd.port.post.mk>


More information about the svn-ports-all mailing list