aboutsummaryrefslogtreecommitdiff
path: root/german
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-09-19 12:55:44 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-09-19 12:55:44 +0000
commit483e7b51cccce4b434d05a8c646f678938f7f77f (patch)
tree819e45551578127e4ddb669a69719550886d6e5a /german
parent660ca64b6280290ff8eea7e4f6ee2863999cfc06 (diff)
downloadports-483e7b51cccce4b434d05a8c646f678938f7f77f.tar.gz
ports-483e7b51cccce4b434d05a8c646f678938f7f77f.zip
Notes
Diffstat (limited to 'german')
-rw-r--r--german/Makefile1
-rw-r--r--german/pecl-konto_check/Makefile44
-rw-r--r--german/pecl-konto_check/distinfo3
-rw-r--r--german/pecl-konto_check/files/patch-konto_check.c40
-rw-r--r--german/pecl-konto_check/pkg-descr7
-rw-r--r--german/pecl-konto_check/pkg-plist5
6 files changed, 100 insertions, 0 deletions
diff --git a/german/Makefile b/german/Makefile
index 6bf230c2c502..4dbf40892b47 100644
--- a/german/Makefile
+++ b/german/Makefile
@@ -30,6 +30,7 @@
SUBDIR += ksteak
SUBDIR += linux-eagle
SUBDIR += manpages
+ SUBDIR += pecl-konto_check
SUBDIR += phone
SUBDIR += php_doc
SUBDIR += schwobifyer
diff --git a/german/pecl-konto_check/Makefile b/german/pecl-konto_check/Makefile
new file mode 100644
index 000000000000..57393679ff98
--- /dev/null
+++ b/german/pecl-konto_check/Makefile
@@ -0,0 +1,44 @@
+# Ports collection makefile for: konto_check
+# Date created: 2009-08-11
+# Whom: Dominik Brettnacher <domi@nonsensss.de>
+#
+# $FreeBSD$
+#
+
+PORTNAME= konto_check
+PORTVERSION= 2.98
+CATEGORIES= german
+MASTER_SITES= SF/kontocheck/konto_check-de/${PORTVERSION}
+PKGNAMEPREFIX= pecl-
+EXTRACT_SUFX= .zip
+
+MAINTAINER= domi@nonsensss.de
+COMMENT= PHP module to check German and Austrian Bank Account Numbers
+
+USE_ZIP= yes
+USE_PHP= yes
+USE_PHPIZE= yes
+USE_PHPEXT= yes
+PHP_MODNAME= ${PORTNAME}
+
+WRKSRC= ${WRKDIR}/php
+
+.include <bsd.port.pre.mk>
+
+post-extract:
+ @${UNZIP_CMD} -q -d ${WRKDIR} ${WRKDIR}/php.zip
+
+post-patch:
+ @${REINPLACE_CMD} -e "s|\"/etc|\"${ETCDIR}|g;" ${WRKSRC}/konto_check.c ${WRKSRC}/konto_check.lxx
+
+post-install:
+ @${MKDIR} ${ETCDIR}
+ @${INSTALL_DATA} ${WRKDIR}/blz.lut ${ETCDIR}
+ @${INSTALL_DATA} ${WRKDIR}/blz.lut2 ${ETCDIR}
+
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKDIR}/00liesmich.pdf ${DOCSDIR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/german/pecl-konto_check/distinfo b/german/pecl-konto_check/distinfo
new file mode 100644
index 000000000000..1c10211aef73
--- /dev/null
+++ b/german/pecl-konto_check/distinfo
@@ -0,0 +1,3 @@
+MD5 (konto_check-2.98.zip) = d64d6c8e067292071cdcde29c1223839
+SHA256 (konto_check-2.98.zip) = 5cd0d6683fcec74af91d3baa61513f4a515e474eb385ed8c95d9e18778b23742
+SIZE (konto_check-2.98.zip) = 628212
diff --git a/german/pecl-konto_check/files/patch-konto_check.c b/german/pecl-konto_check/files/patch-konto_check.c
new file mode 100644
index 000000000000..ddc373db2f0f
--- /dev/null
+++ b/german/pecl-konto_check/files/patch-konto_check.c
@@ -0,0 +1,40 @@
+--- konto_check.c.orig 2009-08-11 10:46:54.000000000 +0200
++++ konto_check.c 2009-08-11 10:47:04.000000000 +0200
+@@ -74,31 +74,31 @@
+ static int search_lutfile(char *name);
+
+ #ifdef ZEND_ENGINE_2
+-static ZEND_BEGIN_ARG_INFO(byref_0,1)
++ZEND_BEGIN_ARG_INFO(byref_0,1)
+ ZEND_END_ARG_INFO()
+
+-static ZEND_BEGIN_ARG_INFO(byref_1,1)
++ZEND_BEGIN_ARG_INFO(byref_1,1)
+ ZEND_ARG_PASS_INFO(0)
+ ZEND_END_ARG_INFO()
+
+-static ZEND_BEGIN_ARG_INFO(byref_11,1)
++ZEND_BEGIN_ARG_INFO(byref_11,1)
+ ZEND_ARG_PASS_INFO(0)
+ ZEND_ARG_PASS_INFO(1)
+ ZEND_ARG_PASS_INFO(0)
+ ZEND_END_ARG_INFO()
+
+-static ZEND_BEGIN_ARG_INFO(byref_2,1)
++ZEND_BEGIN_ARG_INFO(byref_2,1)
+ ZEND_ARG_PASS_INFO(0)
+ ZEND_ARG_PASS_INFO(0)
+ ZEND_END_ARG_INFO()
+
+-static ZEND_BEGIN_ARG_INFO(byref_3,1)
++ZEND_BEGIN_ARG_INFO(byref_3,1)
+ ZEND_ARG_PASS_INFO(0)
+ ZEND_ARG_PASS_INFO(0)
+ ZEND_ARG_PASS_INFO(0)
+ ZEND_END_ARG_INFO()
+
+-static ZEND_BEGIN_ARG_INFO(byref_4,1)
++ZEND_BEGIN_ARG_INFO(byref_4,1)
+ ZEND_ARG_PASS_INFO(0)
+ ZEND_ARG_PASS_INFO(0)
+ ZEND_ARG_PASS_INFO(0)
diff --git a/german/pecl-konto_check/pkg-descr b/german/pecl-konto_check/pkg-descr
new file mode 100644
index 000000000000..dcad5ada8edd
--- /dev/null
+++ b/german/pecl-konto_check/pkg-descr
@@ -0,0 +1,7 @@
+konto_check is a PHP module to check the validity of German and
+Austrian Bank Account Numbers. All currently defined test methods
+by Deutsche Bundesbank (March 2009: 00 to D3) are implemented.
+
+This port only installs the PHP module.
+
+WWW: http://www.informatik.hs-mannheim.de/konto_check/
diff --git a/german/pecl-konto_check/pkg-plist b/german/pecl-konto_check/pkg-plist
new file mode 100644
index 000000000000..3453ae122a85
--- /dev/null
+++ b/german/pecl-konto_check/pkg-plist
@@ -0,0 +1,5 @@
+%%ETCDIR%%/blz.lut
+%%ETCDIR%%/blz.lut2
+@dirrm %%ETCDIR%%
+%%PORTDOCS%%%%DOCSDIR%%/00liesmich.pdf
+%%PORTDOCS%%@dirrm %%DOCSDIR%%