1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/finance/p5-PFProAPI/Makefile
Ion-Mihai Tetcu 3be2ee09d0 Latest commit breaks build unconditionally, even if distfile exist in
${DISTDIR}. Fix this by folding code into bsd.port.pre.mk and bsd.port.post.mk.

PR:		99123
Submitted by:	maintainer
2006-06-18 22:14:01 +00:00

38 lines
904 B
Makefile

# 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>