aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorMatthew Seaman <matthew@FreeBSD.org>2014-12-13 13:08:53 +0000
committerMatthew Seaman <matthew@FreeBSD.org>2014-12-13 13:08:53 +0000
commit4e572c7fa0b2c9e9e131beb6bd297a14994f8928 (patch)
treea50e9a724a0aa1954e23f33093a1ff8b406f7cf2 /www
parent150fd09e009d4554b5d826ae722269c7edbe8f0a (diff)
downloadports-4e572c7fa0b2c9e9e131beb6bd297a14994f8928.tar.gz
ports-4e572c7fa0b2c9e9e131beb6bd297a14994f8928.zip
Notes
Diffstat (limited to 'www')
-rw-r--r--www/rt42/Makefile3
-rw-r--r--www/rt42/pkg-plist15
2 files changed, 11 insertions, 7 deletions
diff --git a/www/rt42/Makefile b/www/rt42/Makefile
index 6a71c0a4ea2e..b49be93c45df 100644
--- a/www/rt42/Makefile
+++ b/www/rt42/Makefile
@@ -2,7 +2,7 @@
PORTNAME= rt
DISTVERSION= 4.2.9
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= www
MASTER_SITES= http://download.bestpractical.com/pub/rt/release/
PKGNAMESUFFIX= 42
@@ -198,6 +198,7 @@ pre-install:
@${RM} -f ${WRKSRC}/lib/RT.pm.in
post-install:
+ @${RM} -rf ${STAGEDIR}/${WWWDIR}${PKGNAMESUFFIX}
${MKDIR} ${STAGEDIR}${DOCSDIR}/upgrade
(cd ${WRKSRC}/etc && \
${COPYTREE_SHARE} upgrade ${STAGEDIR}${DOCSDIR} "! -name *\.in")
diff --git a/www/rt42/pkg-plist b/www/rt42/pkg-plist
index c1b51238f987..1036bb816d21 100644
--- a/www/rt42/pkg-plist
+++ b/www/rt42/pkg-plist
@@ -492,6 +492,7 @@ sbin/standalone_httpd
%%PORTDOCS%%%%DOCSDIR%%/upgrade/vulnerable-passwords
%%PORTDOCS%%%%DOCSDIR%%/web_deployment.pod
%%PORTDOCS%%%%DOCSDIR%%/writing_extensions.pod
+@dir %%DATADIR%%/etc
%%DATADIR%%/fonts/Droid.README
%%DATADIR%%/fonts/DroidSans.ttf
%%DATADIR%%/fonts/DroidSansFallback.ttf
@@ -1055,6 +1056,8 @@ sbin/standalone_httpd
%%DATADIR%%/html/m/ticket/select_create_queue
%%DATADIR%%/html/m/ticket/show
%%DATADIR%%/html/m/tickets/search
+@dir %%DATADIR%%/lib
+@dir %%DATADIR%%/plugins
%%DATADIR%%/po/ar.po
%%DATADIR%%/po/bg.po
%%DATADIR%%/po/ca.po
@@ -1500,9 +1503,9 @@ sbin/standalone_httpd
%%DATADIR%%/static/js/supersubs.js
%%DATADIR%%/static/js/titlebox-state.js
%%DATADIR%%/static/js/util.js
-@unexec rmdir "/var/run/rt42/mason_data/cache" >/dev/null 2>&1 || :
-@unexec rmdir "/var/run/rt42/mason_data/etc" >/dev/null 2>&1 || :
-@unexec rmdir "/var/run/rt42/mason_data/obj" >/dev/null 2>&1 || :
-@unexec rmdir "/var/run/rt42/mason_data" >/dev/null 2>&1 || :
-@unexec rmdir "/var/run/rt42/session_data" >/dev/null 2>&1 || :
-@unexec rmdir "/var/run/rt42" >/dev/null 2>&1 || :
+@dir(www,www,755) /var/run/rt42/mason_data/cache
+@dir(www,www,755) /var/run/rt42/mason_data/etc
+@dir(www,www,755) /var/run/rt42/mason_data/obj
+@dir(www,www,755) /var/run/rt42/mason_data
+@dir(www,www,755) /var/run/rt42/session_data
+@dir /var/run/rt42