freebsd-ports/finance/p5-Business-WorldPay-Junior/Makefile
Eitan Adler c59a3834c4 At the moment 1385 ports use BUILD_DEPENDS= ${RUN_DEPENDS} and 450
ports use BUILD_DEPENDS:= ${RUN_DEPENDS}. This patch fixes ports that are
currently broken. This is a temporary measure until we organically stop using
:= or someone(s) spend a lot of time changing all the ports over.

Explicit duplication > := > = and this just moves ports one step to the left

Approved by:	portmgr
2012-01-21 17:40:15 +00:00

32 lines
924 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= ${SITE_PERL}/Business/CreditCard.pm:${PORTSDIR}/finance/p5-Business-CreditCard \
${SITE_PERL}/Business/OnlinePayment.pm:${PORTSDIR}/finance/p5-Business-OnlinePayment \
${SITE_PERL}/${PERL_ARCH}/DBI.pm:${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>