f015946d5e
- Worldpay have a new range of callback servers IPs
43 lines
1.3 KiB
Makefile
43 lines
1.3 KiB
Makefile
# New ports collection makefile for: Business::OnlinePayment::WorldPay::Junior
|
|
# Date created: 24 October 2002
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= Business-WorldPay-Junior
|
|
PORTVERSION= 1.07
|
|
CATEGORIES= finance perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
MASTER_SITE_SUBDIR= Business
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Perl module to handle WorldPay Junior for payment services
|
|
|
|
BUILD_DEPENDS= ${SITE_PERL}/Business/CreditCard.pm:${PORTSDIR}/finance/p5-Business-CreditCard \
|
|
${SITE_PERL}/Business/OnlinePayment.pm:${PORTSDIR}/finance/p5-Business-OnlinePayment
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
PERL_CONFIGURE= yes
|
|
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
|
|
|
MAN3= Business::WorldPay::Junior.3
|
|
|
|
post-patch:
|
|
@${PERL} -pi -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1);$$1/;' \
|
|
-e '$$_="" if /use 5/;' \
|
|
-e '$$_="" if /use warnings/;' \
|
|
${WRKSRC}/Junior.pm
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PERL_LEVEL} < 500600
|
|
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137
|
|
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137
|
|
.else
|
|
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
|
|
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|