aboutsummaryrefslogtreecommitdiffstats
path: root/databases/pxtools/Makefile
diff options
context:
space:
mode:
authorjedgar <jedgar@FreeBSD.org>2002-09-07 01:31:49 +0800
committerjedgar <jedgar@FreeBSD.org>2002-09-07 01:31:49 +0800
commit300fa29941c116a876c2109191eaf2159b3be58e (patch)
tree3659854fb440e373d364b7101300cb68411fa144 /databases/pxtools/Makefile
parent06d4978af427acc884990d3788abd28d87ea29a9 (diff)
downloadfreebsd-ports-gnome-300fa29941c116a876c2109191eaf2159b3be58e.tar.gz
freebsd-ports-gnome-300fa29941c116a876c2109191eaf2159b3be58e.tar.zst
freebsd-ports-gnome-300fa29941c116a876c2109191eaf2159b3be58e.zip
Update port to 0.0.19.
Diffstat (limited to 'databases/pxtools/Makefile')
-rw-r--r--databases/pxtools/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/databases/pxtools/Makefile b/databases/pxtools/Makefile
index 28b52202a874..93e3b691844f 100644
--- a/databases/pxtools/Makefile
+++ b/databases/pxtools/Makefile
@@ -6,12 +6,22 @@
#
PORTNAME= pxtools
-PORTVERSION= 0.0.16
+PORTVERSION= 0.0.19
CATEGORIES= databases
MASTER_SITES= http://jan.kneschke.de/projects/pxtools/download/
MAINTAINER= jedgar@FreeBSD.org
+LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
+
GNU_CONFIGURE= yes
+USE_REINPLACE= yes
+CONFIGURE_ARGS= --with-included-gettext
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
+ LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|-O2|${CFLAGS}|' \
+ ${WRKSRC}/configure ${WRKSRC}/src/Makefile.in
.include <bsd.port.mk>