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
This commit is contained in:
Ion-Mihai Tetcu 2006-06-18 22:14:01 +00:00
parent a260b8424a
commit 3be2ee09d0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=165713

View File

@ -24,6 +24,8 @@ 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
@ -32,4 +34,4 @@ IGNORE= ${RESTRICTED}. See ${PORTSDIR}/finance/pfpro for instructions
post-patch:
${REINPLACE_CMD} -e "s|%%PREFIX%%|${LOCALBASE}|" ${WRKSRC}/PFProAPI.pm
.include <bsd.port.mk>
.include <bsd.port.post.mk>