diff options
author | Jimmy Olgeni <olgeni@FreeBSD.org> | 2015-05-19 09:58:25 +0000 |
---|---|---|
committer | Jimmy Olgeni <olgeni@FreeBSD.org> | 2015-05-19 09:58:25 +0000 |
commit | 73b47427dab76adaaefb809f076ea0dc7b4fd4d2 (patch) | |
tree | cba787b903f8193121c9e523caa06b621f747694 /sysutils/usermin/Makefile | |
parent | 53a2cb4be32a00b89ee84e0b0acaf206112c6cd3 (diff) | |
download | ports-73b47427dab76adaaefb809f076ea0dc7b4fd4d2.tar.gz ports-73b47427dab76adaaefb809f076ea0dc7b4fd4d2.zip |
Upgrade to version 1.660.
Notes
Notes:
svn path=/head/; revision=386760
Diffstat (limited to 'sysutils/usermin/Makefile')
-rw-r--r-- | sysutils/usermin/Makefile | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/sysutils/usermin/Makefile b/sysutils/usermin/Makefile index 10eff11620f4..43efd8ff5faf 100644 --- a/sysutils/usermin/Makefile +++ b/sysutils/usermin/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= usermin -PORTVERSION= 1.650 +PORTVERSION= 1.660 CATEGORIES= sysutils MASTER_SITES= http://www.webmin.com/uupdates/:up \ SF/webadmin/${PORTNAME}/${PORTVERSION}:sf \ @@ -23,7 +23,7 @@ NO_BUILD= yes USES= cpe perl5 CPE_VENDOR= webmin USE_RC_SUBR= usermin -SUB_LIST= PERL5=${PERL} +SUB_LIST= PERL=${PERL} SUB_FILES= pkg-message USERMIN_MODULES= @@ -47,17 +47,10 @@ post-patch: -exec ${REINPLACE_CMD} -e "s@/usr/local@${PREFIX}@g" {} \; \ -exec ${REINPLACE_CMD} -e "s@%%PREFIX%%@${PREFIX}@g" {} \; - @${FIND} ${WRKSRC} -name "*.cgi" -print \ - | ${XARGS} ${REINPLACE_CMD} -e "s@#!/usr/local/bin/perl@#!${PERL}@" - @${FIND} ${WRKSRC} -name "*.cgi" -print \ - | ${XARGS} ${REINPLACE_CMD} -e "s@#!/usr/bin/perl@#!${PERL}@" - @${FIND} ${WRKSRC} -name "*.pl" -print \ - | ${XARGS} ${REINPLACE_CMD} -e "s@#!/usr/local/bin/perl@#!${PERL}@" - @${FIND} ${WRKSRC} -name "*.pl" -print \ - | ${XARGS} ${REINPLACE_CMD} -e "s@#!/usr/bin/perl@#!${PERL}@" + @${FIND} ${WRKSRC} \( -name "*.cgi" -or -name "*.pl" -or -name "*.sh" \) -exec \ + ${REINPLACE_CMD} -e "s@%%PERL%%@${PERL}@g; s@#!/usr/bin/perl@#!${PERL}@; s@#!/usr/local/bin/perl@#!${PERL}@" {} \; - @${FIND} ${WRKSRC} -name "*.orig" -delete - @${FIND} ${WRKSRC} -name "*.bak" -delete + @${FIND} ${WRKSRC} \( -name "*.orig" -or -name "*.bak" -or -name "*.pyc" \) -delete do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/lib/usermin |