- Support STAGE

This commit is contained in:
Li-Wen Hsu 2013-11-18 13:42:01 +00:00
parent cd8ab6a935
commit 07e453b674
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=334192

View File

@ -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>