Fix ${PERL} insertion (unbreak -STABLE).

This commit is contained in:
Jimmy Olgeni 2004-06-20 10:35:47 +00:00
parent 9ae6de0197
commit 3f3e6d58c7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=111856

View file

@ -7,7 +7,7 @@
PORTNAME= webmin
PORTVERSION= 1.150
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= sysutils
MASTER_SITES= http://www.webmin.com/updates/ \
${MASTER_SITE_SOURCEFORGE}
@ -58,7 +58,9 @@ post-patch:
.endfor
@${REINPLACE_CMD} -e "s=%%PREFIX%%=${PREFIX}=" ${WRKSRC}/setup.sh
@${FIND} ${WRKSRC} -name "*.cgi" -print \
| ${XARGS} ${REINPLACE_CMD} -e "s@/usr/local/bin/perl@${PERL}@"
| ${XARGS} ${REINPLACE_CMD} -e "s@#!/usr/local/bin/perl@#!${PERL}@"
@${FIND} ${WRKSRC} -name "*.pl" -print \
| ${XARGS} ${REINPLACE_CMD} -e "s@#!/usr/local/bin/perl@#!${PERL}@"
@${FIND} ${WRKSRC} -name "*.orig" -print | ${XARGS} ${RM}
@${FIND} ${WRKSRC} -name "*.bak" -print | ${XARGS} ${RM}
# we may have 2 levels of empty directories which cause the plist generation