mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
Cleanup plist
This commit is contained in:
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
|
@ -26,7 +26,7 @@ create-plist:
|
||||||
| ${SED} -e 's,^${WRKSRC},%%WWWDIR%%,' > ${PLIST}
|
| ${SED} -e 's,^${WRKSRC},%%WWWDIR%%,' > ${PLIST}
|
||||||
@${ECHO_CMD} '@exec touch %D/%%WWWDIR%%/config.php;chown ${WWWOWN} %D/%%WWWDIR%%/config.php' >> ${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}
|
@${ECHO_CMD} '@unexec if [ ! -s %D/%%WWWDIR%%/config.php ];then rm -f %D/%%WWWDIR%%/config.php;fi' >> ${PLIST}
|
||||||
@${FIND} -ds ${WRKSRC}/${file} -type d \
|
@${FIND} -ds ${WRKSRC}/${file} -type d -empty \
|
||||||
| ${SED} -e 's,^${WRKSRC},@dirrm %%WWWDIR%%,' >> ${PLIST}
|
| ${SED} -e 's,^${WRKSRC},@dir %%WWWDIR%%,' >> ${PLIST}
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -6,8 +6,6 @@
|
||||||
%%WWWDIR%%/config.php.sample
|
%%WWWDIR%%/config.php.sample
|
||||||
%%WWWDIR%%/functions.php
|
%%WWWDIR%%/functions.php
|
||||||
%%WWWDIR%%/header.jpg
|
%%WWWDIR%%/header.jpg
|
||||||
%%WWWDIR%%/includes/geshi.VERSION
|
|
||||||
%%WWWDIR%%/includes/geshi.php
|
|
||||||
%%WWWDIR%%/includes/geshi/abap.php
|
%%WWWDIR%%/includes/geshi/abap.php
|
||||||
%%WWWDIR%%/includes/geshi/actionscript.php
|
%%WWWDIR%%/includes/geshi/actionscript.php
|
||||||
%%WWWDIR%%/includes/geshi/actionscript3.php
|
%%WWWDIR%%/includes/geshi/actionscript3.php
|
||||||
|
@ -146,11 +144,10 @@
|
||||||
%%WWWDIR%%/includes/geshi/xorg_conf.php
|
%%WWWDIR%%/includes/geshi/xorg_conf.php
|
||||||
%%WWWDIR%%/includes/geshi/xpp.php
|
%%WWWDIR%%/includes/geshi/xpp.php
|
||||||
%%WWWDIR%%/includes/geshi/z80.php
|
%%WWWDIR%%/includes/geshi/z80.php
|
||||||
|
%%WWWDIR%%/includes/geshi.VERSION
|
||||||
|
%%WWWDIR%%/includes/geshi.php
|
||||||
%%WWWDIR%%/index.php
|
%%WWWDIR%%/index.php
|
||||||
%%WWWDIR%%/screen.css
|
%%WWWDIR%%/screen.css
|
||||||
|
%%WWWDIR%%/upgrade.php
|
||||||
@exec touch %D/%%WWWDIR%%/config.php;chown www %D/%%WWWDIR%%/config.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
|
@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%%
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue