aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2015-09-26 17:00:45 +0800
committerbapt <bapt@FreeBSD.org>2015-09-26 17:00:45 +0800
commitb769c32a9f06b271a27c3209ac60ba74011ba3df (patch)
tree2073698b50750eba96ca4d3c768d06582a3aff60
parentb46afd99a01a2948bf7b00ecede998e85847acd5 (diff)
downloadfreebsd-ports-graphics-b769c32a9f06b271a27c3209ac60ba74011ba3df.tar.gz
freebsd-ports-graphics-b769c32a9f06b271a27c3209ac60ba74011ba3df.tar.zst
freebsd-ports-graphics-b769c32a9f06b271a27c3209ac60ba74011ba3df.zip
Modernize plist
-rw-r--r--www/thundercache/Makefile2
-rw-r--r--www/thundercache/pkg-plist14
2 files changed, 5 insertions, 11 deletions
diff --git a/www/thundercache/Makefile b/www/thundercache/Makefile
index d2480766f22..ceda349c2cf 100644
--- a/www/thundercache/Makefile
+++ b/www/thundercache/Makefile
@@ -2,7 +2,7 @@
PORTNAME= thundercache
PORTVERSION= 6.1
-PORTREVISION= 8
+PORTREVISION= 9
CATEGORIES= www
MASTER_SITES= http://www.thundercache.com.br/dist/ \
http://www.bmsoftware.org/packs/ \
diff --git a/www/thundercache/pkg-plist b/www/thundercache/pkg-plist
index f63852acf53..26cbd337703 100644
--- a/www/thundercache/pkg-plist
+++ b/www/thundercache/pkg-plist
@@ -7,13 +7,7 @@ thunder/sbin/thunderlog.php
thunder/sbin/diskinfo
thunder/sbin/thunder
thunder/sbin/log.sh
-@exec mkdir -p /var/run/thunder
-@exec chmod 755 /var/run/thunder
-@dirrm thunder/etc
-@dirrm thunder/logs/tmp
-@dirrm thunder/logs
-@dirrm thunder/sbin
-@dirrm thunder/cache
-@dirrm thunder
-@unexec /bin/rm /var/run/thunder/thunder.pid 2>/dev/null || true
-@unexec rmdir /var/run/thunder 2>/dev/null || true
+@dir thunder/logs/tmp
+@dir thunder/cache
+@rmtry /var/run/thunder/thunder.pid
+@dir(,,755) /var/run/thunder