svn commit: r356566 - head/www/rt38
Martin Wilke
miwi at FreeBSD.org
Thu Jun 5 01:38:34 UTC 2014
Author: miwi
Date: Thu Jun 5 01:38:33 2014
New Revision: 356566
URL: http://svnweb.freebsd.org/changeset/ports/356566
QAT: https://qat.redports.org/buildarchive/r356566/
Log:
- Stage support
PR: 190633
Deleted:
head/www/rt38/pkg-deinstall
head/www/rt38/pkg-install
Modified:
head/www/rt38/Makefile
head/www/rt38/pkg-plist
Modified: head/www/rt38/Makefile
==============================================================================
--- head/www/rt38/Makefile Thu Jun 5 01:37:29 2014 (r356565)
+++ head/www/rt38/Makefile Thu Jun 5 01:38:33 2014 (r356566)
@@ -1,6 +1,5 @@
# $FreeBSD$
-NO_STAGE= yes
# TODO:
# o etc/rt38 files permissions
# o GRANTS
@@ -121,6 +120,7 @@ WEB_USER?= ${WWWOWN}
WEB_GROUP?= ${WWWGRP}
LIBS_GROUP?= wheel
+GROUPS= rt
LATEST_LINK= rt38
HAS_CONFIGURE= yes
NO_BUILD= yes
@@ -170,11 +170,8 @@ post-patch:
pre-install:
@${RM} -f ${WRKSRC}/lib/RT.pm.in
- @${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
post-install:
- @[ -f ${RT_ETC_PATH}/RT_SiteConfig.pm ] || \
- ${CP} -p ${RT_ETC_PATH}/RT_SiteConfig.pm-dist ${RT_ETC_PATH}/RT_SiteConfig.pm
${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
Modified: head/www/rt38/pkg-plist
==============================================================================
--- head/www/rt38/pkg-plist Thu Jun 5 01:37:29 2014 (r356565)
+++ head/www/rt38/pkg-plist Thu Jun 5 01:38:33 2014 (r356566)
@@ -1167,7 +1167,13 @@ share/rt38/html/dhandler
share/rt38/html/index.html
share/rt38/html/l
share/rt38/html/l_unsafe
- at dirrmtry www/rt38
+ at dirrmtry %%WWWDIR%%38
+ at unexec rmdir "/var/run/%%AP_NAME%%38/mason_data/cache" >/dev/null 2>&1 || :
+ at unexec rmdir "/var/run/%%AP_NAME%%38/mason_data/etc" >/dev/null 2>&1 || :
+ at unexec rmdir "/var/run/%%AP_NAME%%38/mason_data/obj" >/dev/null 2>&1 || :
+ at unexec rmdir "/var/run/%%AP_NAME%%38/mason_data" >/dev/null 2>&1 || :
+ at unexec rmdir "/var/run/%%AP_NAME%%38/session_data" >/dev/null 2>&1 || :
+ at unexec rmdir "/var/run/%%AP_NAME%%38" >/dev/null 2>&1 || :
@dirrm share/rt38/po
@exec mkdir -p %D/share/rt38/plugins
@dirrm share/rt38/plugins
More information about the svn-ports-all
mailing list