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

This commit is contained in:
Jimmy Olgeni 2004-06-20 10:53:14 +00:00
parent 3f3e6d58c7
commit ed3c9cc7f8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=111857

View File

@ -7,7 +7,7 @@
PORTNAME= usermin
PORTVERSION= 1.080
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= sysutils
MASTER_SITES= http://www.webmin.com/uupdates/ \
${MASTER_SITE_SOURCEFORGE}
@ -41,7 +41,9 @@ post-extract:
post-patch:
@${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