From 4ca3b4308664118c9e5fc909ba77bd2392432e36 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Fri, 28 Feb 2014 16:20:44 +0000 Subject: [PATCH] - Stage support --- www/impresscms/Makefile | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/www/impresscms/Makefile b/www/impresscms/Makefile index 0c2d8260484a..977c8f87ec37 100644 --- a/www/impresscms/Makefile +++ b/www/impresscms/Makefile @@ -16,19 +16,15 @@ NO_WRKSUBDIR= yes NO_BUILD= yes SUB_FILES= pkg-message -NO_STAGE= yes -.include do-install: - @cd ${WRKSRC} && ${COPYTREE_SHARE} htdocs ${WWWDIR} - @cd ${WRKSRC} && ${COPYTREE_SHARE} extras ${WWWDIR} - @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR} - @${CHMOD} -R 755 ${WWWDIR} + ${MKDIR} ${STAGEDIR}${WWWDIR} + @cd ${WRKSRC} && ${COPYTREE_SHARE} htdocs ${STAGEDIR}${WWWDIR} + @cd ${WRKSRC} && ${COPYTREE_SHARE} extras ${STAGEDIR}${WWWDIR} + @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR} + @${CHMOD} -R 755 ${STAGEDIR}${WWWDIR} @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' \ >> ${TMPPLIST} @${ECHO_CMD} '@exec ${CHMOD} -R 755 ${WWWDIR}' \ >> ${TMPPLIST} -post-install: - @${CAT} ${PKGMESSAGE} - -.include +.include