- Support staging

- Convert USE_BZIP2=yes to USES=tar:bzip2
- Use COPYTREE_SHARE istead of CP
- Revert deprecation, distfile is fetchable again
This commit is contained in:
Emanuel Haupt 2014-03-20 09:07:41 +00:00
parent a1dd6f908c
commit 7536141c34
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348670

View file

@ -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 \ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/mx/Tidy/Tidy.py:${PORTSDIR}/devel/py-mx-experimental \
${PYTHON_PKGNAMEPREFIX}bsddb>0:${PORTSDIR}/databases/py-bsddb ${PYTHON_PKGNAMEPREFIX}bsddb>0:${PORTSDIR}/databases/py-bsddb
DEPRECATED= distfiles no longer fetchable USES= tar:bzip2
EXPIRATION_DATE= 2014-04-01
USE_BZIP2= yes
NO_BUILD= yes NO_BUILD= yes
USE_PYTHON= yes USE_PYTHON= yes
SUB_FILES= pkg-message SUB_FILES= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message
NO_STAGE= yes
post-extract: post-extract:
@${RM} ${WRKSRC}/.bzrignore @${RM} ${WRKSRC}/.bzrignore
@${FIND} ${WRKSRC}/ -type d -name '.bzr' | ${XARGS} ${RM} -rf @${FIND} ${WRKSRC}/ -type d -name '.bzr' | ${XARGS} ${RM} -rf
do-install: do-install:
${MKDIR} ${PREFIX}/share/planet @${MKDIR} ${STAGEDIR}${DATADIR}
${CP} -R ${WRKSRC}/ ${PREFIX}/share/planet (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk> .include <bsd.port.mk>