Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Sep 2015 18:30:57 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r396694 - head/www/cmsmadesimple
Message-ID:  <201509111830.t8BIUver079382@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri Sep 11 18:30:56 2015
New Revision: 396694
URL: https://svnweb.freebsd.org/changeset/ports/396694

Log:
  - Fix build as non-root: owner/group for directories is already set via plist
  
  Approved by:	portmgr blanket

Modified:
  head/www/cmsmadesimple/Makefile

Modified: head/www/cmsmadesimple/Makefile
==============================================================================
--- head/www/cmsmadesimple/Makefile	Fri Sep 11 18:18:31 2015	(r396693)
+++ head/www/cmsmadesimple/Makefile	Fri Sep 11 18:30:56 2015	(r396694)
@@ -26,8 +26,6 @@ CMS_FILES=	favicon_cms.ico fileloc.php i
 WRITABLE_DIRS=	tmp tmp/templates_c tmp/cache \
 		uploads uploads/images modules
 
-.include <bsd.port.pre.mk>
-
 post-extract:
 	cd ${WRKSRC} && ${RM} -f config.php
 
@@ -39,9 +37,7 @@ do-install:
 	cd ${WRKSRC} && ${CP} ${i} ${STAGEDIR}${WWWDIR}/${i}
 .endfor
 
-	${FIND} ${STAGEDIR}${WWWDIR} -type d -print0 | ${XARGS} -0 ${CHOWN} ${WWWOWN}:${WWWGRP}
-
 	if [ ! -f ${STAGEDIR}${WWWDIR}/config.php ]; then \
 	${TOUCH} ${STAGEDIR}${WWWDIR}/config.php ; fi
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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