make it build

bump PORTREVISION

PR:		ports/59057
Submitted by:	maintainer
This commit is contained in:
Vanilla I. Shu 2003-11-09 14:18:38 +00:00
parent e4ab6030f0
commit b4229b4a4a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=93540
2 changed files with 7 additions and 2 deletions

View file

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

View file

@ -2,5 +2,5 @@
+++ Makefile Sat Mar 30 23:01:40 2002
@@ -0,0 +1,3 @@
+all:
+ ${CC} ${CFLAGS} -shared bg5pdflib.c -I/usr/local/include -I /usr/local/include/python2.2 -L/usr/local/lib -lpdf -o bg5pdflib.so
+ ${CC} ${CFLAGS} -shared bg5pdflib.c -I/usr/local/include -I%%PYTHON_INCLUDEDIR%% -L/usr/local/lib -lpdf -o bg5pdflib.so
+