diff options
author | olgeni <olgeni@FreeBSD.org> | 2004-06-20 10:35:47 +0000 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2004-06-20 10:35:47 +0000 |
commit | 86ea316834492f8fb55abf480bd0ae6fd2060761 (patch) | |
tree | 18cc1c007932ea5d23fd3d8a383384a56197feef /sysutils | |
parent | c50f51af36ee0296f8f71f3fa7526075c3eddff3 (diff) | |
download | FreeBSD-ports-86ea316834492f8fb55abf480bd0ae6fd2060761.zip FreeBSD-ports-86ea316834492f8fb55abf480bd0ae6fd2060761.tar.gz |
Fix ${PERL} insertion (unbreak -STABLE).
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/webmin/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sysutils/webmin/Makefile b/sysutils/webmin/Makefile index b3fd22a..fed4290 100644 --- a/sysutils/webmin/Makefile +++ b/sysutils/webmin/Makefile @@ -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 |