blob: 8b3a6dc277b04e0b463a56cc5877d9da95670e8d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# New ports collection makefile for: p5-Business-PayPal-EWP
# Date created: Thu 12 May 2005
# Whom: Alfred Perlstein
#
#
# $FreeBSD$
#
PORTNAME= Business-PayPal-EWP
PORTVERSION= 0.02
CATEGORIES= security perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Business
PKGNAMEPREFIX= p5-
MAINTAINER= alfred@freebsd.org
COMMENT= Perl extension to talk to paypal
PERL_CONFIGURE= yes
USE_OPENSSL= yes
CONFIGURE_ARGS= ${OPENSSLBASE}
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Net/SSLeay.pm:${PORTSDIR}/security/p5-Net-SSLeay \
${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
RUN_DEPENDS= ${BUILD_DEPENDS}
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Business::PayPal::EWP.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
post-patch:
#${PERL} -pi -e 's!^our \((.*?)(?=\);)!join("","use vars qw(",split(/,/,$$1))!e' ${WRKSRC}/lib/Business/PayPal/EWP.pm
${PERL} -pi -e 's/^our /my /' ${WRKSRC}/lib/Business/PayPal/EWP.pm
.endif
post-configure:
${PERL} -pi -e 's/\x0d//' ${WRKSRC}/ppport.h
${PERL} -pi -e 's/\x0d//' ${WRKSRC}/lib/Business/PayPal/EWP.pm
.include <bsd.port.post.mk>
|