aboutsummaryrefslogtreecommitdiff
path: root/finance/ktoblzcheck
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-10-20 22:23:52 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-10-20 22:23:52 +0000
commitf6dc97d64ea48b389576f52b3b92de5ec951f063 (patch)
tree547da21e2388d6418df614530c995ae206e147cb /finance/ktoblzcheck
parenta9e72e2a56f297850b1f61b7d1e1e48c007a5bc5 (diff)
downloadports-f6dc97d64ea48b389576f52b3b92de5ec951f063.tar.gz
ports-f6dc97d64ea48b389576f52b3b92de5ec951f063.zip
Notes
Diffstat (limited to 'finance/ktoblzcheck')
-rw-r--r--finance/ktoblzcheck/Makefile18
-rw-r--r--finance/ktoblzcheck/distinfo6
-rw-r--r--finance/ktoblzcheck/files/patch-src__bin__ibankchk.cc11
-rw-r--r--finance/ktoblzcheck/files/patch-src__lib__ktoblzcheck.cc10
-rw-r--r--finance/ktoblzcheck/pkg-plist5
5 files changed, 31 insertions, 19 deletions
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 <bsd.port.mk>
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 <ostream>
++#include <iostream>
+
+ 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 <fstream>
+ #include <iostream>
+ #include <algorithm>
++#include <cstdio>
+
+ // 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%%