freebsd-ports/finance/p5-Business-WorldPay-Junior/Makefile
2012-06-04 13:06:24 +00:00

32 lines
881 B
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= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= ports@FreeBSD.org
COMMENT= Perl module to handle WorldPay Junior for payment services
BUILD_DEPENDS= p5-Business-CreditCard>=0:${PORTSDIR}/finance/p5-Business-CreditCard \
p5-Business-OnlinePayment>=0:${PORTSDIR}/finance/p5-Business-OnlinePayment \
p5-DBI>=0:${PORTSDIR}/databases/p5-DBI
RUN_DEPENDS:= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
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.mk>