aboutsummaryrefslogblamecommitdiff
path: root/finance/p5-Business-WorldPay-Junior/Makefile
blob: 5be61809602da9629afcd7a8db1ea2d0abb554fd (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                                 
           
 
                                        
                    
                 
                             
                    

                   
                                
                                                                          
 

                     

                                                                          

                                                                                
 

                               
 




                                                                          
 
                      
# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
# $FreeBSD$

PORTNAME=	Business-WorldPay-Junior
PORTVERSION=	1.07
PORTREVISION=	1
CATEGORIES=	finance perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	bofh@FreeBSD.org
COMMENT=	Perl module to handle WorldPay Junior for payment services

LICENSE=	GPLv2

BUILD_DEPENDS=	${RUN_DEPENDS}
RUN_DEPENDS=	p5-Business-CreditCard>=0:finance/p5-Business-CreditCard \
		p5-Business-OnlinePayment>=0:finance/p5-Business-OnlinePayment \
		p5-DBI>=0:databases/p5-DBI

USES=		perl5
USE_PERL5=	configure patch

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>