svn commit: r367965 - head/devel/truc

Antoine Brodin antoine at FreeBSD.org
Thu Sep 11 19:29:19 UTC 2014


Author: antoine
Date: Thu Sep 11 19:29:18 2014
New Revision: 367965
URL: http://svnweb.freebsd.org/changeset/ports/367965
QAT: https://qat.redports.org/buildarchive/r367965/

Log:
  - Allow staging as a regular user
  - Bump portrevision as files were not packaged with intended owner

Modified:
  head/devel/truc/Makefile
  head/devel/truc/pkg-plist

Modified: head/devel/truc/Makefile
==============================================================================
--- head/devel/truc/Makefile	Thu Sep 11 19:22:47 2014	(r367964)
+++ head/devel/truc/Makefile	Thu Sep 11 19:29:18 2014	(r367965)
@@ -3,6 +3,7 @@
 
 PORTNAME=	truc
 PORTVERSION=	0.12.0
+PORTREVISION=	1
 CATEGORIES=	devel www
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/TRUC%20Testing%20${PORTVERSION}
 DISTNAME=	${PORTNAME}_${PORTVERSION}
@@ -13,16 +14,15 @@ COMMENT=	Web-based tool for requirement 
 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
 
 do-install:
-	@${ECHO} "Installing in ${PREFIX}/www/truc"
 	${MKDIR} ${STAGEDIR}${PREFIX}/www/truc
 #	${MV} ${WRKSRC}/config_inc.php ${WRKSRC}/config_inc.php-dist
 	${CP} -R ${WRKSRC}/* ${STAGEDIR}${PREFIX}/www/truc
-	${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${PREFIX}/www/truc
 
 .include <bsd.port.mk>

Modified: head/devel/truc/pkg-plist
==============================================================================
--- head/devel/truc/pkg-plist	Thu Sep 11 19:22:47 2014	(r367964)
+++ head/devel/truc/pkg-plist	Thu Sep 11 19:29:18 2014	(r367965)
@@ -1,3 +1,5 @@
+ at owner %%WWWOWN%%
+ at group %%WWWGRP%%
 www/truc/FCKeditor/_docs/contents/001.html
 www/truc/FCKeditor/_docs/contents/002.html
 www/truc/FCKeditor/_docs/contents/002/filebrowserconnector.gif
@@ -1844,3 +1846,5 @@ www/truc/user_manage_page.php
 @dirrmtry www/truc/FCKeditor/_docs
 @dirrmtry www/truc/FCKeditor
 @dirrmtry www/truc
+ at owner root
+ at owner wheel


More information about the svn-ports-head mailing list