diff options
author | antoine <antoine@FreeBSD.org> | 2014-11-24 00:56:18 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2014-11-24 00:56:18 +0800 |
commit | e787e999581091eef7d0788f5eb8740e7128a3b5 (patch) | |
tree | d5d642b6803aba1ef8bb4b527dc35b8144012bf8 /www | |
parent | a2048a4e6991b45f4dfdf80594c138650f29bd78 (diff) | |
download | freebsd-ports-gnome-e787e999581091eef7d0788f5eb8740e7128a3b5.tar.gz freebsd-ports-gnome-e787e999581091eef7d0788f5eb8740e7128a3b5.tar.zst freebsd-ports-gnome-e787e999581091eef7d0788f5eb8740e7128a3b5.zip |
Cleanup plist
Diffstat (limited to 'www')
-rw-r--r-- | www/yanopaste/Makefile | 4 | ||||
-rw-r--r-- | www/yanopaste/pkg-plist | 9 |
2 files changed, 5 insertions, 8 deletions
diff --git a/www/yanopaste/Makefile b/www/yanopaste/Makefile index 8a0c4b1c8995..9a2bec416a4e 100644 --- a/www/yanopaste/Makefile +++ b/www/yanopaste/Makefile @@ -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> diff --git a/www/yanopaste/pkg-plist b/www/yanopaste/pkg-plist index bc2ba64c4f3e..ce7656f5d06e 100644 --- a/www/yanopaste/pkg-plist +++ b/www/yanopaste/pkg-plist @@ -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%% |