diff options
author | Jimmy Olgeni <olgeni@FreeBSD.org> | 2004-06-20 10:35:47 +0000 |
---|---|---|
committer | Jimmy Olgeni <olgeni@FreeBSD.org> | 2004-06-20 10:35:47 +0000 |
commit | 3f3e6d58c7c731abdbf2d81ef33e5615d4bfec7e (patch) | |
tree | 2447086b3724bafa671c474c5e84643e1016726a /sysutils/webmin | |
parent | 9ae6de0197ca86556a3dd4edd11207c22c8e7e49 (diff) | |
download | ports-3f3e6d58c7c731abdbf2d81ef33e5615d4bfec7e.tar.gz ports-3f3e6d58c7c731abdbf2d81ef33e5615d4bfec7e.zip |
Fix ${PERL} insertion (unbreak -STABLE).
Notes
Notes:
svn path=/head/; revision=111856
Diffstat (limited to 'sysutils/webmin')
-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 b3fd22a94d45..fed429048789 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 |