# Created by: Maxim Sobolev # $FreeBSD$ PORTNAME= Business-OnlinePayment-SurePay PORTVERSION= 0.01 CATEGORIES= finance perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Business::OnlinePayment backend module for SurePay authorization service BUILD_DEPENDS= p5-Business-CreditCard>=0:${PORTSDIR}/finance/p5-Business-CreditCard \ p5-Business-OnlinePayment>=0:${PORTSDIR}/finance/p5-Business-OnlinePayment RUN_DEPENDS:= ${BUILD_DEPENDS} PERL_CONFIGURE= yes MAN3= Business::OnlinePayment::SurePay.3 post-patch: ${PERL} -pi -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1);$$1/;' \ -e '$$_="" if /use 5/;' \ -e '$$_="" if /use warnings/;' \ ${WRKSRC}/SurePay.pm .include