svn commit: r364583 - head/devel/rth

Vanilla I. Shu vanilla at FreeBSD.org
Mon Aug 11 02:27:17 UTC 2014


Author: vanilla
Date: Mon Aug 11 02:27:16 2014
New Revision: 364583
URL: http://svnweb.freebsd.org/changeset/ports/364583
QAT: https://qat.redports.org/buildarchive/r364583/

Log:
  1: Stagify.
  2: use @sample, bump version.

Modified:
  head/devel/rth/Makefile
  head/devel/rth/pkg-descr
  head/devel/rth/pkg-plist

Modified: head/devel/rth/Makefile
==============================================================================
--- head/devel/rth/Makefile	Sun Aug 10 23:27:34 2014	(r364582)
+++ head/devel/rth/Makefile	Mon Aug 11 02:27:16 2014	(r364583)
@@ -3,31 +3,28 @@
 
 PORTNAME=	rth
 PORTVERSION=	1.7.0
+PORTREVISION=	1
 CATEGORIES=	devel www
 MASTER_SITES=	SF/${PORTNAME}/Release%20${PORTVERSION}/Release%20${PORTVERSION}
 DISTNAME=	${PORTNAME}_${PORTVERSION}
 
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Web-based requirement, test, and bugtracking system
 
 USES=		zip
 NO_BUILD=	yes
 USE_PHP=	mysql gd
 
+PLIST_SUB=	WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
 SUB_LIST=	"PKGNAME=${PKGNAME}"
 SUB_FILES=	pkg-message
-
 WANT_PHP_WEB=	yes
-
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
-NO_STAGE=	yes
 do-install:
 	@${ECHO} "Installing in ${PREFIX}/www/rth"
-	${MKDIR} ${PREFIX}/www/rth
-	${MV} ${WRKSRC}/api/properties_inc.php ${WRKSRC}/api/properties_inc.php-dist
-	${CP} -R ${WRKSRC}/* ${PREFIX}/www/rth
-	${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/www/rth
-	${CAT} ${PKGMESSAGE}
+	${MKDIR} ${STAGEDIR}${PREFIX}/www/rth
+	${MV} ${WRKSRC}/api/properties_inc.php ${WRKSRC}/api/properties_inc.php.sample
+	${CP} -R ${WRKSRC}/* ${STAGEDIR}${PREFIX}/www/rth
 
 .include <bsd.port.mk>

Modified: head/devel/rth/pkg-descr
==============================================================================
--- head/devel/rth/pkg-descr	Sun Aug 10 23:27:34 2014	(r364582)
+++ head/devel/rth/pkg-descr	Mon Aug 11 02:27:16 2014	(r364583)
@@ -9,4 +9,4 @@ analysts, and managers to monitor and ga
 readiness. The tool includes modules for requirements management, 
 test planning, test execution, defect tracking, and reporting.
 
-WWW:	http://sourceforge.net/projects/rth/
+WWW: http://sourceforge.net/projects/rth/

Modified: head/devel/rth/pkg-plist
==============================================================================
--- head/devel/rth/pkg-plist	Sun Aug 10 23:27:34 2014	(r364582)
+++ head/devel/rth/pkg-plist	Mon Aug 11 02:27:16 2014	(r364583)
@@ -1,3 +1,5 @@
+ at owner %%WWWOWN%%
+ at group %%WWWGRP%%
 www/rth/admin_page.php
 www/rth/adodb-4.65/adodb-csvlib.inc.php
 www/rth/adodb-4.65/adodb-datadict.inc.php
@@ -190,7 +192,7 @@ www/rth/api/ldap_api.php
 www/rth/api/log_api.php
 www/rth/api/news_api.php
 www/rth/api/project_api.php
-www/rth/api/properties_inc.php-dist
+ at sample www/rth/api/properties_inc.php.sample
 www/rth/api/release_api.php
 www/rth/api/report_api.php
 www/rth/api/requirement_api.php
@@ -3198,6 +3200,8 @@ www/rth/user_edit_my_account_action.php
 www/rth/user_edit_my_account_page.php
 www/rth/user_edit_page.php
 www/rth/user_manage_page.php
+ at group
+ at owner
 @dirrmtry www/rth/sql
 @dirrmtry www/rth/phpmailer/language
 @dirrmtry www/rth/phpmailer


More information about the svn-ports-head mailing list