Quote ${FIND} parameters and fix PLIST.
This commit is contained in:
parent
53168ba052
commit
21dacc1aae
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=239223
2 changed files with 30 additions and 4 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= virtualmin
|
||||
PORTVERSION= 3.71
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= http://download.webmin.com/download/virtualmin/
|
||||
DISTNAME= virtual-server-${PORTVERSION}.gpl
|
||||
|
@ -22,10 +23,10 @@ WRKSRC= ${WRKDIR}/virtual-server
|
|||
|
||||
post-extract:
|
||||
@${FIND} ${WRKSRC} -name .xvpics | ${XARGS} ${RM} -r
|
||||
@${FIND} ${WRKSRC} -name *.swp | ${XARGS} ${RM}
|
||||
@${FIND} ${WRKSRC} -name *.cgi | ${XARGS} ${REINPLACE_CMD} -e "s@/usr/local/bin/perl@${PERL}@"
|
||||
@${FIND} ${WRKSRC} -name *.cgi | ${XARGS} ${CHMOD} 755
|
||||
@${FIND} ${WRKSRC} -name *.bak | ${XARGS} ${RM}
|
||||
@${FIND} ${WRKSRC} -name "*.swp" | ${XARGS} ${RM}
|
||||
@${FIND} ${WRKSRC} -name "*.cgi" | ${XARGS} ${REINPLACE_CMD} -e "s@/usr/local/bin/perl@${PERL}@"
|
||||
@${FIND} ${WRKSRC} -name "*.cgi" | ${XARGS} ${CHMOD} 755
|
||||
@${FIND} ${WRKSRC} -name "*.bak" | ${XARGS} ${RM}
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${PREFIX}/lib/webmin
|
||||
|
|
|
@ -1009,6 +1009,15 @@
|
|||
%%LIB32DIR%%/webmin/virtual-server/wizard-lib.pl
|
||||
%%LIB32DIR%%/webmin/virtual-server/wizard.cgi
|
||||
%%LIB32DIR%%/webmin/virtual-server/writelogs.pl
|
||||
@dirrm %%LIB32DIR%%/webmin/virtual-server/newfeatures-gpl/3.71
|
||||
@dirrm %%LIB32DIR%%/webmin/virtual-server/newfeatures-gpl/3.70
|
||||
@dirrm %%LIB32DIR%%/webmin/virtual-server/newfeatures-gpl/3.69
|
||||
@dirrm %%LIB32DIR%%/webmin/virtual-server/newfeatures-gpl/3.68
|
||||
@dirrm %%LIB32DIR%%/webmin/virtual-server/newfeatures-gpl/3.67
|
||||
@dirrm %%LIB32DIR%%/webmin/virtual-server/newfeatures-gpl/3.66
|
||||
@dirrm %%LIB32DIR%%/webmin/virtual-server/newfeatures-gpl/3.65
|
||||
@dirrm %%LIB32DIR%%/webmin/virtual-server/newfeatures-gpl/3.64
|
||||
@dirrm %%LIB32DIR%%/webmin/virtual-server/newfeatures-gpl/3.63
|
||||
@dirrm %%LIB32DIR%%/webmin/virtual-server/newfeatures-gpl/3.62
|
||||
@dirrm %%LIB32DIR%%/webmin/virtual-server/newfeatures-gpl/3.61
|
||||
@dirrm %%LIB32DIR%%/webmin/virtual-server/newfeatures-gpl/3.60
|
||||
|
@ -1020,6 +1029,16 @@
|
|||
@dirrm %%LIB32DIR%%/webmin/virtual-server/newfeatures-gpl/3.54
|
||||
@dirrm %%LIB32DIR%%/webmin/virtual-server/newfeatures-gpl/3.53
|
||||
@dirrm %%LIB32DIR%%/webmin/virtual-server/newfeatures-gpl/3.52
|
||||
@dirrm %%LIB32DIR%%/webmin/virtual-server/newfeatures-gpl
|
||||
@dirrm %%LIB32DIR%%/webmin/virtual-server/newfeatures-all/3.71
|
||||
@dirrm %%LIB32DIR%%/webmin/virtual-server/newfeatures-all/3.70
|
||||
@dirrm %%LIB32DIR%%/webmin/virtual-server/newfeatures-all/3.69
|
||||
@dirrm %%LIB32DIR%%/webmin/virtual-server/newfeatures-all/3.68
|
||||
@dirrm %%LIB32DIR%%/webmin/virtual-server/newfeatures-all/3.67
|
||||
@dirrm %%LIB32DIR%%/webmin/virtual-server/newfeatures-all/3.66
|
||||
@dirrm %%LIB32DIR%%/webmin/virtual-server/newfeatures-all/3.65
|
||||
@dirrm %%LIB32DIR%%/webmin/virtual-server/newfeatures-all/3.64
|
||||
@dirrm %%LIB32DIR%%/webmin/virtual-server/newfeatures-all/3.63
|
||||
@dirrm %%LIB32DIR%%/webmin/virtual-server/newfeatures-all/3.62
|
||||
@dirrm %%LIB32DIR%%/webmin/virtual-server/newfeatures-all/3.61
|
||||
@dirrm %%LIB32DIR%%/webmin/virtual-server/newfeatures-all/3.60
|
||||
|
@ -1031,7 +1050,13 @@
|
|||
@dirrm %%LIB32DIR%%/webmin/virtual-server/newfeatures-all/3.54
|
||||
@dirrm %%LIB32DIR%%/webmin/virtual-server/newfeatures-all/3.53
|
||||
@dirrm %%LIB32DIR%%/webmin/virtual-server/newfeatures-all/3.52
|
||||
@dirrm %%LIB32DIR%%/webmin/virtual-server/newfeatures-all
|
||||
@dirrm %%LIB32DIR%%/webmin/virtual-server/lang
|
||||
@dirrm %%LIB32DIR%%/webmin/virtual-server/images
|
||||
@dirrm %%LIB32DIR%%/webmin/virtual-server/help
|
||||
@dirrm %%LIB32DIR%%/webmin/virtual-server/PHP
|
||||
@dirrm %%LIB32DIR%%/webmin/virtual-server/IDNA
|
||||
@dirrm %%LIB32DIR%%/webmin/virtual-server
|
||||
@dirrmtry etc/webmin/virtual-server
|
||||
@dirrmtry etc/webmin
|
||||
@exec [ -e %D/etc/webmin/virtual-server ] || mkdir %D/etc/webmin/virtual-server
|
||||
|
|
Loading…
Reference in a new issue