From d9c742a9e09fee9a81bb4702cbc608e9160205ee Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Mon, 11 Aug 2014 02:27:16 +0000 Subject: [PATCH] 1: Stagify. 2: use @sample, bump version. --- devel/rth/Makefile | 15 ++++++--------- devel/rth/pkg-descr | 2 +- devel/rth/pkg-plist | 6 +++++- 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/devel/rth/Makefile b/devel/rth/Makefile index 1527990eecd0..e24ba44330e7 100644 --- a/devel/rth/Makefile +++ b/devel/rth/Makefile @@ -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@FreeBSD.org +MAINTAINER= ports@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 diff --git a/devel/rth/pkg-descr b/devel/rth/pkg-descr index 11b15d7ddeb9..2d5fcb9dcb0b 100644 --- a/devel/rth/pkg-descr +++ b/devel/rth/pkg-descr @@ -9,4 +9,4 @@ analysts, and managers to monitor and gauge application 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/ diff --git a/devel/rth/pkg-plist b/devel/rth/pkg-plist index 0fc0966b6a40..5d8be0e21b0e 100644 --- a/devel/rth/pkg-plist +++ b/devel/rth/pkg-plist @@ -1,3 +1,5 @@ +@owner %%WWWOWN%% +@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 +@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 +@group +@owner @dirrmtry www/rth/sql @dirrmtry www/rth/phpmailer/language @dirrmtry www/rth/phpmailer