From 300fa29941c116a876c2109191eaf2159b3be58e Mon Sep 17 00:00:00 2001 From: jedgar Date: Fri, 6 Sep 2002 17:31:49 +0000 Subject: Update port to 0.0.19. --- databases/pxtools/Makefile | 12 +++++++++++- databases/pxtools/distinfo | 2 +- databases/pxtools/files/patch-aa | 11 ----------- databases/pxtools/files/patch-src::Makefile.in | 11 +++++++++++ databases/pxtools/pkg-plist | 3 ++- 5 files changed, 25 insertions(+), 14 deletions(-) delete mode 100644 databases/pxtools/files/patch-aa create mode 100644 databases/pxtools/files/patch-src::Makefile.in (limited to 'databases/pxtools') 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 diff --git a/databases/pxtools/distinfo b/databases/pxtools/distinfo index d35fde4c5692..423a2414a26a 100644 --- a/databases/pxtools/distinfo +++ b/databases/pxtools/distinfo @@ -1 +1 @@ -MD5 (pxtools-0.0.16.tar.gz) = a01dee894f4bb4c0f926b1994b6d3892 +MD5 (pxtools-0.0.19.tar.gz) = 312f091572a0b5862a44dd2be82e6e94 diff --git a/databases/pxtools/files/patch-aa b/databases/pxtools/files/patch-aa deleted file mode 100644 index 4510310169d7..000000000000 --- a/databases/pxtools/files/patch-aa +++ /dev/null @@ -1,11 +0,0 @@ ---- src/Makefile.in.orig Thu Jan 24 05:29:33 2002 -+++ src/Makefile.in Fri Jun 7 13:39:34 2002 -@@ -78,7 +78,7 @@ - - noinst_HEADERS = pxtypes.h pxconvert.h pxparse.h - --CFLAGS = -g -Wall -O2 #-DDEBUG -DDEBUG_HEAD_COPY -+CFLAGS = -g -Wall @CFLAGS@ #-DDEBUG -DDEBUG_HEAD_COPY - subdir = src - mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs - CONFIG_HEADER = $(top_builddir)/config.h diff --git a/databases/pxtools/files/patch-src::Makefile.in b/databases/pxtools/files/patch-src::Makefile.in new file mode 100644 index 000000000000..cb1458875c50 --- /dev/null +++ b/databases/pxtools/files/patch-src::Makefile.in @@ -0,0 +1,11 @@ +--- src/Makefile.in.orig Tue Jul 16 10:12:57 2002 ++++ src/Makefile.in Fri Sep 6 11:19:29 2002 +@@ -140,7 +140,7 @@ + DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) + CPPFLAGS = @CPPFLAGS@ + LDFLAGS = @LDFLAGS@ +-LIBS = @LIBS@ ++LIBS = @LIBS@ -lgnugetopt + depcomp = $(SHELL) $(top_srcdir)/depcomp + @AMDEP_TRUE@DEP_FILES = $(DEPDIR)/pxconvert.Po $(DEPDIR)/pxcsvdump.Po \ + @AMDEP_TRUE@ $(DEPDIR)/pxinfo.Po $(DEPDIR)/pxparse.Po \ diff --git a/databases/pxtools/pkg-plist b/databases/pxtools/pkg-plist index 69a34691b145..16e08a5a6cf7 100644 --- a/databases/pxtools/pkg-plist +++ b/databases/pxtools/pkg-plist @@ -1,4 +1,5 @@ bin/pxinfo -bin/pxsqldump bin/pxcsvdump +bin/pxsqldump bin/pxxmldump +share/locale/de/LC_MESSAGES/pxtools.mo -- cgit