diff options
author | Cheng-Lung Sung <clsung@FreeBSD.org> | 2006-08-14 05:31:18 +0000 |
---|---|---|
committer | Cheng-Lung Sung <clsung@FreeBSD.org> | 2006-08-14 05:31:18 +0000 |
commit | 1ac0f1d69c7a052ba722c2f5f56820840e8d73db (patch) | |
tree | 179963e3163b7d5258496a225c2068cd7ac3b828 /chinese/bg5pdf | |
parent | 6af5792e34119b3ce972c2996e988742fcdb0c69 (diff) | |
download | ports-1ac0f1d69c7a052ba722c2f5f56820840e8d73db.tar.gz ports-1ac0f1d69c7a052ba722c2f5f56820840e8d73db.zip |
Notes
Diffstat (limited to 'chinese/bg5pdf')
-rw-r--r-- | chinese/bg5pdf/Makefile | 6 | ||||
-rw-r--r-- | chinese/bg5pdf/pkg-plist | 11 |
2 files changed, 9 insertions, 8 deletions
diff --git a/chinese/bg5pdf/Makefile b/chinese/bg5pdf/Makefile index 8a78038ea348..5b7635e76296 100644 --- a/chinese/bg5pdf/Makefile +++ b/chinese/bg5pdf/Makefile @@ -17,9 +17,9 @@ COMMENT= Convert Chinese-Big5 encoded files to PDF, using PDFlib LIB_DEPENDS= pdf.7:${PORTSDIR}/print/pdflib +CFLAGS+= -fPIC USE_PYTHON= yes WRKSRC= ${WRKDIR}/${PORTNAME} -CFLAGS+= -fPIC post-patch: ${REINPLACE_CMD} -e 's,%%PYTHON_INCLUDEDIR%%,${PYTHON_INCLUDEDIR},g' \ @@ -27,8 +27,8 @@ post-patch: do-install: @${MKDIR} ${EXAMPLESDIR} - ${INSTALL_SCRIPT} ${WRKSRC}/bg5pdf ${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/gbpdf ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/bg5pdf ${TARGETDIR}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/gbpdf ${TARGETDIR}/bin ${INSTALL_PROGRAM} ${WRKSRC}/bg5pdflib.so ${PYTHON_SITELIBDIR} ${INSTALL_DATA} ${WRKSRC}/test.big5 ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/test.big5.pdf ${EXAMPLESDIR} diff --git a/chinese/bg5pdf/pkg-plist b/chinese/bg5pdf/pkg-plist index 280c1fe60fa2..060e94a53675 100644 --- a/chinese/bg5pdf/pkg-plist +++ b/chinese/bg5pdf/pkg-plist @@ -1,7 +1,8 @@ +@comment $FreeBSD$ +%%EXAMPLESDIR%%/genTest.py +%%EXAMPLESDIR%%/test.big5 +%%EXAMPLESDIR%%/test.big5.pdf +%%PYTHON_SITELIBDIR%%/bg5pdflib.so bin/bg5pdf bin/gbpdf -lib/%%PYTHON_VERSION%%/site-packages/bg5pdflib.so -share/examples/bg5pdf/test.big5 -share/examples/bg5pdf/test.big5.pdf -share/examples/bg5pdf/genTest.py -@dirrm share/examples/bg5pdf +@dirrm %%EXAMPLESDIR%% |