diff options
author | miwi <miwi@FreeBSD.org> | 2009-09-19 20:55:44 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2009-09-19 20:55:44 +0800 |
commit | 8438f9a59cfdec959b389f99f9f16b2e4f3b7071 (patch) | |
tree | d880120454c890a266652b287e70c6a960e257ba /german | |
parent | a84d0606a587149e16919f2c726ac6b39f5f37b9 (diff) | |
download | freebsd-ports-graphics-8438f9a59cfdec959b389f99f9f16b2e4f3b7071.tar.gz freebsd-ports-graphics-8438f9a59cfdec959b389f99f9f16b2e4f3b7071.tar.zst freebsd-ports-graphics-8438f9a59cfdec959b389f99f9f16b2e4f3b7071.zip |
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/
PR: ports/137661
Feature safe: yes
Submitted by: Dominik Brettnacher <domi at nonsensss.de>
Diffstat (limited to 'german')
-rw-r--r-- | german/Makefile | 1 | ||||
-rw-r--r-- | german/pecl-konto_check/Makefile | 44 | ||||
-rw-r--r-- | german/pecl-konto_check/distinfo | 3 | ||||
-rw-r--r-- | german/pecl-konto_check/files/patch-konto_check.c | 40 | ||||
-rw-r--r-- | german/pecl-konto_check/pkg-descr | 7 | ||||
-rw-r--r-- | german/pecl-konto_check/pkg-plist | 5 |
6 files changed, 100 insertions, 0 deletions
diff --git a/german/Makefile b/german/Makefile index 6bf230c2c50..4dbf40892b4 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 00000000000..57393679ff9 --- /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 00000000000..1c10211aef7 --- /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 00000000000..ddc373db2f0 --- /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 00000000000..dcad5ada8ed --- /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 00000000000..3453ae122a8 --- /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%% |