- 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
This commit is contained in:
Alexey Dokuchaev
2019-06-19 17:50:35 +00:00
parent 7213906da8
commit a63952412f
2 changed files with 12 additions and 7 deletions
+11 -6
View File
@@ -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>
+1 -1
View File
@@ -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/