From 3b8acd4ddce9bd2d462e0e1d988521206f040062 Mon Sep 17 00:00:00 2001 From: Emanuel Haupt Date: Fri, 4 Apr 2014 12:43:01 +0000 Subject: [PATCH] Support staging --- www/template_/Makefile | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/www/template_/Makefile b/www/template_/Makefile index ab0c2abdee87..be3159d598e3 100644 --- a/www/template_/Makefile +++ b/www/template_/Makefile @@ -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