From 253df79acb48e9db625352f10d751c392422c30d Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Wed, 2 Jul 2014 13:33:24 +0000 Subject: [PATCH] 1: Stagify. 2: USES=tar:bzip2 Approved by: portmgr@ (blanket approval) --- www/sitebar/Makefile | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/www/sitebar/Makefile b/www/sitebar/Makefile index a0ae7064daf1..d5b879754326 100644 --- a/www/sitebar/Makefile +++ b/www/sitebar/Makefile @@ -10,22 +10,21 @@ DISTNAME= SiteBar-${PORTVERSION} MAINTAINER= gunter@six-two.net COMMENT= The Bookmark Server for Personal and Team Use -USE_BZIP2= yes +USES= tar:bzip2 USE_PHP= mysql pcre WANT_PHP_WEB= yes NO_BUILD= yes DATADIR= ${PREFIX}/www/${PORTNAME} -NO_STAGE= yes do-install: - @${MKDIR} ${DATADIR} + @${MKDIR} ${STAGEDIR}${DATADIR} @cd ${WRKSRC} && \ - ${FIND} . -type d -exec ${MKDIR} ${DATADIR}/{} \; + ${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${DATADIR}/{} \; @cd ${WRKSRC} && \ - ${FIND} . ! -type d -exec ${INSTALL_DATA} {} ${DATADIR}/{} \; - @${FIND} ${DATADIR} ! -type d | \ - ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST} - @${FIND} ${DATADIR} -type d | ${SORT} -r | \ - ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} + ${FIND} . ! -type d -exec ${INSTALL_DATA} {} ${STAGEDIR}${DATADIR}/{} \; + @${FIND} ${STAGEDIR}${DATADIR} ! -type d | \ + ${SED} 's,^${STAGEDIR}${PREFIX}/,,' >> ${TMPPLIST} + @${FIND} ${STAGEDIR}${DATADIR} -type d | ${SORT} -r | \ + ${SED} 's,^${STAGEDIR}${PREFIX}/,@dirrm ,' >> ${TMPPLIST} .include