aboutsummaryrefslogtreecommitdiff
path: root/databases/pxtools
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2019-06-19 17:50:35 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2019-06-19 17:50:35 +0000
commita63952412f2ca4926141773a79f2cfc159118564 (patch)
treea77a174793e404d1ed7bcfcf7efb03ac69e17001 /databases/pxtools
parent7213906da8cc8244cb04ee43251039e8a0a84ad9 (diff)
downloadports-a63952412f2ca4926141773a79f2cfc159118564.tar.gz
ports-a63952412f2ca4926141773a79f2cfc159118564.zip
- Remove broken mirror from the MASTER_SITES
- Fix database parsing on 64-bit architectures: it used `void *' pointer (only as a placeholder), while its size was used in read(2) calls which resulted in wrong generated table names - Add a Y2K option (Y2k workaround for Paradox < 7.0) - Convert to USES+=localbase, fix a typo in the port description, and take maintainership as I might be using it sometimes
Notes
Notes: svn path=/head/; revision=504584
Diffstat (limited to 'databases/pxtools')
-rw-r--r--databases/pxtools/Makefile17
-rw-r--r--databases/pxtools/pkg-descr2
2 files changed, 12 insertions, 7 deletions
diff --git a/databases/pxtools/Makefile b/databases/pxtools/Makefile
index a805c496ee89..82301c131770 100644
--- a/databases/pxtools/Makefile
+++ b/databases/pxtools/Makefile
@@ -5,18 +5,23 @@ PORTNAME= pxtools
PORTVERSION= 0.0.20
PORTREVISION= 4
CATEGORIES= databases
-MASTER_SITES= http://jan.kneschke.de/downloads/pxtools/ \
- http://www.sourcefiles.org/Databases/Utilities/Conversion/
+MASTER_SITES= http://jan.kneschke.de/downloads/pxtools/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= danfe@FreeBSD.org
COMMENT= Collection of tools to work with Paradox databases
LICENSE= GPLv2
-USES= gettext
+USES= gettext localbase
GNU_CONFIGURE= yes
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
+OPTIONS_DEFINE= Y2K
+Y2K_DESC= Y2k workaround for Paradox < 7.0
+
+Y2K_CONFIGURE_ON= --enable-y2k
+
+post-patch:
+ @${REINPLACE_CMD} -e 's,void \*ptr,int ptr,' \
+ ${WRKSRC}/src/pxparse.c
.include <bsd.port.mk>
diff --git a/databases/pxtools/pkg-descr b/databases/pxtools/pkg-descr
index 068bf290e1d0..6acba2f272cf 100644
--- a/databases/pxtools/pkg-descr
+++ b/databases/pxtools/pkg-descr
@@ -5,6 +5,6 @@ pxtools consists of the following:
the important information.
* pxsqldump/pxcsvdump are utilities to extract the data from a
Paradox-database. The output is an SQL-/CSV-dump that can be
- used to recreate the database in an SQL-enviroment.
+ used to recreate the database in an SQL environment.
WWW: http://jan.kneschke.de/projects/pxtools/