From 7536141c34b5d975e5edb2dccf9aa49203e647a3 Mon Sep 17 00:00:00 2001 From: Emanuel Haupt Date: Thu, 20 Mar 2014 09:07:41 +0000 Subject: [PATCH] - Support staging - Convert USE_BZIP2=yes to USES=tar:bzip2 - Use COPYTREE_SHARE istead of CP - Revert deprecation, distfile is fetchable again --- www/planet/Makefile | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/www/planet/Makefile b/www/planet/Makefile index 264a71429ab0..414e4e960b9a 100644 --- a/www/planet/Makefile +++ b/www/planet/Makefile @@ -12,25 +12,18 @@ COMMENT= Planet is a flexible feed aggregator - and more! RUN_DEPENDS= ${PYTHON_SITELIBDIR}/mx/Tidy/Tidy.py:${PORTSDIR}/devel/py-mx-experimental \ ${PYTHON_PKGNAMEPREFIX}bsddb>0:${PORTSDIR}/databases/py-bsddb -DEPRECATED= distfiles no longer fetchable -EXPIRATION_DATE= 2014-04-01 - -USE_BZIP2= yes +USES= tar:bzip2 NO_BUILD= yes USE_PYTHON= yes SUB_FILES= pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message -NO_STAGE= yes post-extract: @${RM} ${WRKSRC}/.bzrignore @${FIND} ${WRKSRC}/ -type d -name '.bzr' | ${XARGS} ${RM} -rf do-install: - ${MKDIR} ${PREFIX}/share/planet - ${CP} -R ${WRKSRC}/ ${PREFIX}/share/planet - -post-install: - @${CAT} ${PKGMESSAGE} + @${MKDIR} ${STAGEDIR}${DATADIR} + (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) .include