diff options
Diffstat (limited to 'chinese/bg5pdf/Makefile')
-rw-r--r-- | chinese/bg5pdf/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/chinese/bg5pdf/Makefile b/chinese/bg5pdf/Makefile index 9623563419ad..9f295b3c484e 100644 --- a/chinese/bg5pdf/Makefile +++ b/chinese/bg5pdf/Makefile @@ -7,7 +7,7 @@ PORTNAME= bg5pdf PORTVERSION= 1.0.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= chinese print MASTER_SITES= http://cschin.yydolphin.net/bg5pdf/ \ ftp://freebsd.sinica.edu.tw/pub/statue/bg5pdf/ @@ -19,6 +19,11 @@ LIB_DEPENDS= pdf.6:${PORTSDIR}/print/pdflib USE_PYTHON= yes WRKSRC= ${WRKDIR}/${PORTNAME} +USE_REINPLACE= yes + +post-patch: + ${REINPLACE_CMD} -e 's,%%PYTHON_INCLUDEDIR%%,${PYTHON_INCLUDEDIR},g' \ + ${WRKSRC}/Makefile do-install: @${MKDIR} ${EXAMPLESDIR} |