aboutsummaryrefslogtreecommitdiffstats
path: root/finance/p5-PFProAPI/Makefile
blob: a55112fda6d382d82743f5966f6de113ba532a83 (plain) (blame)
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
# New ports collection makefile for:    PFProAPI
# Date created:             13 June 2006
# Whom:                 Alexandr Kovalenko <never@nevermind.kiev.ua>
#
# $FreeBSD$
#

PORTNAME=   PFProAPI
PORTVERSION=    0.03
PORTREVISION=   1
CATEGORIES= finance perl5
MASTER_SITES=   #https://manager.verisign.com/
PKGNAMEPREFIX=  p5-
DISTNAME=   pfpro_freebsd

MAINTAINER= never@nevermind.kiev.ua
COMMENT=    Perl bindings for VeriSign's PayFlow Pro SDK

BUILD_DEPENDS=  pfpro:${PORTSDIR}/finance/pfpro
RUN_DEPENDS:=   ${BUILD_DEPENDS}

WRKSRC=     ${WRKDIR}/verisign/payflowpro/freebsd/perl
PERL_CONFIGURE= yes

MAN3=       PFProAPI.3

.include <bsd.port.pre.mk>

RESTRICTED= Only for VeriSign PayFlow Pro customers
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE=     ${RESTRICTED}. See ${PORTSDIR}/finance/pfpro for instructions
.endif

post-patch:
    ${REINPLACE_CMD} -e "s|%%PREFIX%%|${LOCALBASE}|" ${WRKSRC}/PFProAPI.pm

.include <bsd.port.post.mk>