Cleanup plist

This commit is contained in:
Antoine Brodin 2014-11-23 16:56:18 +00:00
parent 7031d14847
commit 4166261eae
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=373169
2 changed files with 5 additions and 8 deletions

View file

@ -26,7 +26,7 @@ create-plist:
| ${SED} -e 's,^${WRKSRC},%%WWWDIR%%,' > ${PLIST}
@${ECHO_CMD} '@exec touch %D/%%WWWDIR%%/config.php;chown ${WWWOWN} %D/%%WWWDIR%%/config.php' >> ${PLIST}
@${ECHO_CMD} '@unexec if [ ! -s %D/%%WWWDIR%%/config.php ];then rm -f %D/%%WWWDIR%%/config.php;fi' >> ${PLIST}
@${FIND} -ds ${WRKSRC}/${file} -type d \
| ${SED} -e 's,^${WRKSRC},@dirrm %%WWWDIR%%,' >> ${PLIST}
@${FIND} -ds ${WRKSRC}/${file} -type d -empty \
| ${SED} -e 's,^${WRKSRC},@dir %%WWWDIR%%,' >> ${PLIST}
.include <bsd.port.mk>

View file

@ -6,8 +6,6 @@
%%WWWDIR%%/config.php.sample
%%WWWDIR%%/functions.php
%%WWWDIR%%/header.jpg
%%WWWDIR%%/includes/geshi.VERSION
%%WWWDIR%%/includes/geshi.php
%%WWWDIR%%/includes/geshi/abap.php
%%WWWDIR%%/includes/geshi/actionscript.php
%%WWWDIR%%/includes/geshi/actionscript3.php
@ -146,11 +144,10 @@
%%WWWDIR%%/includes/geshi/xorg_conf.php
%%WWWDIR%%/includes/geshi/xpp.php
%%WWWDIR%%/includes/geshi/z80.php
%%WWWDIR%%/includes/geshi.VERSION
%%WWWDIR%%/includes/geshi.php
%%WWWDIR%%/index.php
%%WWWDIR%%/screen.css
%%WWWDIR%%/upgrade.php
@exec touch %D/%%WWWDIR%%/config.php;chown www %D/%%WWWDIR%%/config.php
@unexec if [ ! -s %D/%%WWWDIR%%/config.php ];then rm -f %D/%%WWWDIR%%/config.php;fi
%%WWWDIR%%/upgrade.php
@dirrm %%WWWDIR%%/includes/geshi
@dirrm %%WWWDIR%%/includes
@dirrm %%WWWDIR%%