483e7b51cc
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>
44 lines
982 B
Makefile
44 lines
982 B
Makefile
# 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>
|