Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jun 2014 01:38:33 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r356566 - head/www/rt38
Message-ID:  <201406050138.s551cXnC039275@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
-@dirrmtry www/rt38
+@dirrmtry %%WWWDIR%%38
+@unexec rmdir "/var/run/%%AP_NAME%%38/mason_data/cache" >/dev/null 2>&1 || :
+@unexec rmdir "/var/run/%%AP_NAME%%38/mason_data/etc" >/dev/null 2>&1 || :
+@unexec rmdir "/var/run/%%AP_NAME%%38/mason_data/obj" >/dev/null 2>&1 || :
+@unexec rmdir "/var/run/%%AP_NAME%%38/mason_data" >/dev/null 2>&1 || :
+@unexec rmdir "/var/run/%%AP_NAME%%38/session_data" >/dev/null 2>&1 || :
+@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406050138.s551cXnC039275>