Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Apr 2014 12:43:02 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r350103 - head/www/template_
Message-ID:  <201404041243.s34Ch2jQ083055@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



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