svn commit: r350103 - head/www/template_

Emanuel Haupt ehaupt at FreeBSD.org
Fri Apr 4 12:43:02 UTC 2014


Author: ehaupt
Date: Fri Apr  4 12:43:01 2014
New Revision: 350103
URL: http://svnweb.freebsd.org/changeset/ports/350103
QAT: https://qat.redports.org/buildarchive/r350103/

Log:
  Support staging

Modified:
  head/www/template_/Makefile

Modified: head/www/template_/Makefile
==============================================================================
--- head/www/template_/Makefile	Fri Apr  4 12:37:58 2014	(r350102)
+++ head/www/template_/Makefile	Fri Apr  4 12:43:01 2014	(r350103)
@@ -18,16 +18,11 @@ WANT_PHP_WEB=	yes
 NO_WRKSUBDIR=	yes
 NO_BUILD=	yes
 
-NO_STAGE=	yes
 do-install:
-	${MKDIR} ${DATADIR}
+	@${MKDIR} ${STAGEDIR}${DATADIR}/tpl_plugin
 .for f in Template_.class.php Template_.compiler.php
-	${INSTALL_DATA} ${WRKSRC}/$f ${DATADIR}
-	${MKDIR} ${DATADIR}/tpl_plugin
-	${INSTALL_DATA} ${WRKSRC}/tpl_plugin/* ${DATADIR}/tpl_plugin
+	${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/tpl_plugin/* ${STAGEDIR}${DATADIR}/tpl_plugin
 .endfor
 
-post-install:
-	@${CAT} ${PKGMESSAGE}
-
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list