aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authoraraujo <araujo@FreeBSD.org>2013-01-21 11:37:56 +0800
committeraraujo <araujo@FreeBSD.org>2013-01-21 11:37:56 +0800
commitc30a3c8a2f39636b6d7b598456a107ffab5f7a85 (patch)
treeb39c29998efef3e2a507a8210b222fc932794efb /databases
parent2e9c9a4596ed6c6fb93441a77b937d0d2106e2b9 (diff)
downloadfreebsd-ports-gnome-c30a3c8a2f39636b6d7b598456a107ffab5f7a85.tar.gz
freebsd-ports-gnome-c30a3c8a2f39636b6d7b598456a107ffab5f7a85.tar.zst
freebsd-ports-gnome-c30a3c8a2f39636b6d7b598456a107ffab5f7a85.zip
- Update MASTER_SITES.
- Add LICENSE. - Add MAKE_JOBS_SAFE. - Trim header. PR: ports/174179 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'databases')
-rw-r--r--databases/pxtools/Makefile19
-rw-r--r--databases/pxtools/files/patch-src::Makefile.in11
2 files changed, 18 insertions, 12 deletions
diff --git a/databases/pxtools/Makefile b/databases/pxtools/Makefile
index 28c00edf2392..4a29e9865f39 100644
--- a/databases/pxtools/Makefile
+++ b/databases/pxtools/Makefile
@@ -1,26 +1,23 @@
-# New ports collection makefile for: pxtools
-# Date created: 27 November 1999
-# Whom: Chris D. Faulhaber <jedgar@FreeBSD.org>
-#
+# Created by: Chris D. Faulhaber <jedgar@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= pxtools
PORTVERSION= 0.0.20
PORTREVISION= 3
CATEGORIES= databases
-MASTER_SITES= http://jan.kneschke.de/assets/2007/2/16/
+MASTER_SITES= http://jan.kneschke.de/assets/projects/pxtools/ \
+ http://www.sourcefiles.org/Databases/Utilities/Conversion/
MAINTAINER= ports@FreeBSD.org
COMMENT= Collection of tools to work with Paradox databases
-GNU_CONFIGURE= yes
+LICENSE= GPLv2
+
USE_GETTEXT= yes
+GNU_CONFIGURE= yes
+MAKE_JOBS_SAFE= yes
+
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-post-patch:
- @${REINPLACE_CMD} -e 's|-O2|${CFLAGS}|' \
- ${WRKSRC}/configure ${WRKSRC}/src/Makefile.in
-
.include <bsd.port.mk>
diff --git a/databases/pxtools/files/patch-src::Makefile.in b/databases/pxtools/files/patch-src::Makefile.in
index 9c8d22975fde..e2ed96c16e35 100644
--- a/databases/pxtools/files/patch-src::Makefile.in
+++ b/databases/pxtools/files/patch-src::Makefile.in
@@ -1,6 +1,15 @@
--- src/Makefile.in.orig Tue Jul 16 07:12:57 2002
+++ src/Makefile.in Sat Sep 28 20:02:35 2002
-@@ -195,7 +195,7 @@
+@@ -103,7 +103,7 @@
+
+ noinst_HEADERS = pxtypes.h pxconvert.h pxparse.h
+
+-CFLAGS = -g -Wall -O2 #-DDEBUG -DDEBUG_HEAD_COPY
++CFLAGS = @CFLAGS@ #-DDEBUG -DDEBUG_HEAD_COPY
+ DEFS = @DEFS@ -DLOCALEDIR=\"$(localedir)\"
+
+ pxinfo_LDADD = $(INTLLIBS)
+@@ -196,7 +196,7 @@
$(LINK) $(pxcsvdump_LDFLAGS) $(pxcsvdump_OBJECTS) $(pxcsvdump_LDADD) $(LIBS)
pxinfo$(EXEEXT): $(pxinfo_OBJECTS) $(pxinfo_DEPENDENCIES)
@rm -f pxinfo$(EXEEXT)