diff options
author | vanilla <vanilla@FreeBSD.org> | 2013-09-26 22:35:04 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2013-09-26 22:35:04 +0800 |
commit | 790daaea843b9d76278405e2384e89409f9e3219 (patch) | |
tree | 83d19ba96c927de4ba74fdf2098c79ef6ac86722 /chinese/bg5pdf | |
parent | 9e5d4dfaadeab52d5bd2e44a8daecfe0a25b4561 (diff) | |
download | freebsd-ports-gnome-790daaea843b9d76278405e2384e89409f9e3219.tar.gz freebsd-ports-gnome-790daaea843b9d76278405e2384e89409f9e3219.tar.zst freebsd-ports-gnome-790daaea843b9d76278405e2384e89409f9e3219.zip |
Support stage.
Diffstat (limited to 'chinese/bg5pdf')
-rw-r--r-- | chinese/bg5pdf/Makefile | 16 | ||||
-rw-r--r-- | chinese/bg5pdf/pkg-plist | 6 |
2 files changed, 11 insertions, 11 deletions
diff --git a/chinese/bg5pdf/Makefile b/chinese/bg5pdf/Makefile index 8cf7b7f7f543..a896eb68e4f5 100644 --- a/chinese/bg5pdf/Makefile +++ b/chinese/bg5pdf/Makefile @@ -17,7 +17,6 @@ CFLAGS+= -fPIC USE_PYTHON= yes WRKSRC= ${WRKDIR}/${PORTNAME} -NO_STAGE= yes post-patch: ${REINPLACE_CMD} -e 's,/usr/bin/python,python,g' ${WRKSRC}/bg5pdf @@ -26,12 +25,13 @@ do-build: -I${PYTHON_INCLUDEDIR} -L${PREFIX}/lib -lpdf -o ${WRKSRC}/bg5pdflib.so do-install: - @${MKDIR} ${EXAMPLESDIR} - ${INSTALL_SCRIPT} ${WRKSRC}/bg5pdf ${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/gbpdf ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/bg5pdflib.so ${PYTHON_SITELIBDIR} - ${INSTALL_DATA} ${WRKSRC}/test.big5 ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/test.big5.pdf ${EXAMPLESDIR} - ${INSTALL_SCRIPT} ${WRKSRC}/genTest.py ${EXAMPLESDIR} + @${MKDIR} ${STAGEDIR}/${EXAMPLESDIR} + ${INSTALL_SCRIPT} ${WRKSRC}/bg5pdf ${STAGEDIR}/${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/gbpdf ${STAGEDIR}/${PREFIX}/bin + @${MKDIR} ${STAGEDIR}/${PYTHON_SITELIBDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/bg5pdflib.so ${STAGEDIR}/${PYTHON_SITELIBDIR} + ${INSTALL_DATA} ${WRKSRC}/test.big5 ${STAGEDIR}/${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/test.big5.pdf ${STAGEDIR}/${EXAMPLESDIR} + ${INSTALL_SCRIPT} ${WRKSRC}/genTest.py ${STAGEDIR}/${EXAMPLESDIR} .include <bsd.port.mk> diff --git a/chinese/bg5pdf/pkg-plist b/chinese/bg5pdf/pkg-plist index 060e94a53675..77abbaf6b442 100644 --- a/chinese/bg5pdf/pkg-plist +++ b/chinese/bg5pdf/pkg-plist @@ -1,8 +1,8 @@ @comment $FreeBSD$ +bin/bg5pdf +bin/gbpdf +%%PYTHON_SITELIBDIR%%/bg5pdflib.so %%EXAMPLESDIR%%/genTest.py %%EXAMPLESDIR%%/test.big5 %%EXAMPLESDIR%%/test.big5.pdf -%%PYTHON_SITELIBDIR%%/bg5pdflib.so -bin/bg5pdf -bin/gbpdf @dirrm %%EXAMPLESDIR%% |