svn commit: r348670 - head/www/planet

Emanuel Haupt ehaupt at FreeBSD.org
Thu Mar 20 09:07:41 UTC 2014


Author: ehaupt
Date: Thu Mar 20 09:07:41 2014
New Revision: 348670
URL: http://svnweb.freebsd.org/changeset/ports/348670
QAT: https://qat.redports.org/buildarchive/r348670/

Log:
  - Support staging
  - Convert USE_BZIP2=yes to USES=tar:bzip2
  - Use COPYTREE_SHARE istead of CP
  - Revert deprecation, distfile is fetchable again

Modified:
  head/www/planet/Makefile

Modified: head/www/planet/Makefile
==============================================================================
--- head/www/planet/Makefile	Thu Mar 20 08:55:17 2014	(r348669)
+++ head/www/planet/Makefile	Thu Mar 20 09:07:41 2014	(r348670)
@@ -12,25 +12,18 @@ COMMENT=	Planet is a flexible feed aggre
 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 <bsd.port.mk>


More information about the svn-ports-head mailing list