svn commit: r367978 - head/www/typolight

Antoine Brodin antoine at FreeBSD.org
Thu Sep 11 20:37:36 UTC 2014


Author: antoine
Date: Thu Sep 11 20:37:35 2014
New Revision: 367978
URL: http://svnweb.freebsd.org/changeset/ports/367978
QAT: https://qat.redports.org/buildarchive/r367978/

Log:
  Allow staging as a regular user

Modified:
  head/www/typolight/Makefile

Modified: head/www/typolight/Makefile
==============================================================================
--- head/www/typolight/Makefile	Thu Sep 11 20:30:17 2014	(r367977)
+++ head/www/typolight/Makefile	Thu Sep 11 20:37:35 2014	(r367978)
@@ -13,15 +13,10 @@ NO_BUILD=	yes
 USE_PHP=	xsl mysql iconv gd
 USE_MYSQL=	yes
 SUB_FILES=	pkg-message
-WWWDIR?=	${PREFIX}/www/${PORTNAME}
-
-.include <bsd.port.pre.mk>
 
 do-install:
 	@${MKDIR} ${STAGEDIR}${WWWDIR}
 	${CP} -R ${WRKSRC}/ ${STAGEDIR}${WWWDIR}
-	${TOUCH} ${STAGEDIR}${WWWDIR}/system/config/localconfig.php
-	@${CHOWN} ${WWWOWN} ${STAGEDIR}${WWWDIR}/system/config/localconfig.php
 
 create-plist:
 	@${FIND} -s ${WRKSRC}/${file} -not -type d \
@@ -31,4 +26,4 @@ create-plist:
 	@${FIND} -ds ${WRKSRC}/${file} -type d \
 	| ${SED} -e 's,^${WRKSRC}, at dirrm %%WWWDIR%%,' >> ${PLIST}
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>


More information about the svn-ports-head mailing list