From 62cffecc8fb7b2eac45dd80edd6d4d24ffb3b2d4 Mon Sep 17 00:00:00 2001 From: pav Date: Thu, 20 Oct 2005 22:23:52 +0000 Subject: - Update to 1.7 PR: ports/87737 Submitted by: KATO Tsuguru --- finance/ktoblzcheck/Makefile | 18 ++++-------------- finance/ktoblzcheck/distinfo | 6 ++---- finance/ktoblzcheck/files/patch-src__bin__ibankchk.cc | 11 +++++++++++ .../ktoblzcheck/files/patch-src__lib__ktoblzcheck.cc | 10 ++++++++++ finance/ktoblzcheck/pkg-plist | 5 ++++- 5 files changed, 31 insertions(+), 19 deletions(-) create mode 100644 finance/ktoblzcheck/files/patch-src__bin__ibankchk.cc create mode 100644 finance/ktoblzcheck/files/patch-src__lib__ktoblzcheck.cc (limited to 'finance/ktoblzcheck') diff --git a/finance/ktoblzcheck/Makefile b/finance/ktoblzcheck/Makefile index cc6b660362a4..5f62c1f2b13b 100644 --- a/finance/ktoblzcheck/Makefile +++ b/finance/ktoblzcheck/Makefile @@ -6,29 +6,19 @@ # PORTNAME= ktoblzcheck -PORTVERSION= 1.0 +PORTVERSION= 1.7 CATEGORIES= finance german -MASTER_SITES= http://ktoblzcheck.sourceforge.net/download/:misc \ - ${MASTER_SITE_SOURCEFORGE:S/$/:main/} -MASTER_SITE_SUBDIR= ${PORTNAME}/:main -DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:main ${DATAFILE}:misc -EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= Check bank codes of German banks -EXTRACT_DEPENDS=unzip:${PORTSDIR}/archivers/unzip - USE_GMAKE= yes USE_LIBTOOL_VER= 15 CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} -INSTALLS_SHLIBS= yes +INSTALLS_SHLIB= yes MAN1= ktoblzcheck.1 -DATAFILE= bankdata.zip - -post-extract: - @unzip -qo ${DISTDIR}/${DATAFILE} -d ${WRKSRC}/src/bankdata - .include diff --git a/finance/ktoblzcheck/distinfo b/finance/ktoblzcheck/distinfo index 2fcaa8769e29..419db463d3f1 100644 --- a/finance/ktoblzcheck/distinfo +++ b/finance/ktoblzcheck/distinfo @@ -1,4 +1,2 @@ -MD5 (ktoblzcheck-1.0.tar.gz) = 97c75dc2dcbd12e9c39e0fb6579b079a -SIZE (ktoblzcheck-1.0.tar.gz) = 396242 -MD5 (bankdata.zip) = 3d616cf6acbe52f23cdefba12e57c478 -SIZE (bankdata.zip) = 59666 +MD5 (ktoblzcheck-1.7.tar.gz) = a538e6c860a289aa1a9615993a21692b +SIZE (ktoblzcheck-1.7.tar.gz) = 443469 diff --git a/finance/ktoblzcheck/files/patch-src__bin__ibankchk.cc b/finance/ktoblzcheck/files/patch-src__bin__ibankchk.cc new file mode 100644 index 000000000000..335485ffb99a --- /dev/null +++ b/finance/ktoblzcheck/files/patch-src__bin__ibankchk.cc @@ -0,0 +1,11 @@ +--- src/bin/ibanchk.cc.orig Wed Apr 20 16:44:19 2005 ++++ src/bin/ibanchk.cc Thu Oct 13 23:12:21 2005 +@@ -3,7 +3,7 @@ + #endif + + #include "iban.h" +-#include ++#include + + int main(int argc, char *argv[]) + { diff --git a/finance/ktoblzcheck/files/patch-src__lib__ktoblzcheck.cc b/finance/ktoblzcheck/files/patch-src__lib__ktoblzcheck.cc new file mode 100644 index 000000000000..bb9dd96f24e8 --- /dev/null +++ b/finance/ktoblzcheck/files/patch-src__lib__ktoblzcheck.cc @@ -0,0 +1,10 @@ +--- src/lib/ktoblzcheck.cc.orig Mon Aug 1 17:15:23 2005 ++++ src/lib/ktoblzcheck.cc Thu Oct 13 23:10:27 2005 +@@ -32,6 +32,7 @@ + #include + #include + #include ++#include + + // The actual algorithms for number checking are there + #include "algorithms.h" diff --git a/finance/ktoblzcheck/pkg-plist b/finance/ktoblzcheck/pkg-plist index 762e6d822525..cd736f1cf45a 100644 --- a/finance/ktoblzcheck/pkg-plist +++ b/finance/ktoblzcheck/pkg-plist @@ -3,6 +3,9 @@ include/iban.h include/ktoblzcheck.h lib/libktoblzcheck.a lib/libktoblzcheck.so -lib/libktoblzcheck.so.1 +lib/libktoblzcheck.so.4 %%DATADIR%%/bankdata.txt +%%DATADIR%%/bundesbank.pl +%%DATADIR%%/ibandata.txt +%%DATADIR%%/online_update.pl @dirrm %%DATADIR%% -- cgit