svn commit: r396694 - head/www/cmsmadesimple

Dmitry Marakasov amdmi3 at FreeBSD.org
Fri Sep 11 18:30:57 UTC 2015


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>


More information about the svn-ports-all mailing list