From 5a27d6bd34ea740074be9f9e19acbaee63ae9f2c Mon Sep 17 00:00:00 2001 From: dbn Date: Mon, 12 May 2014 17:04:55 +0000 Subject: Stagify devel/py-tables. - Add LICENSE (BSD3CLAUSE) PR: ports/188568 Submitted by: Bartek Rutkowski Approved by: portmgr (implicit) --- devel/py-tables/Makefile | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) (limited to 'devel') diff --git a/devel/py-tables/Makefile b/devel/py-tables/Makefile index a2cf37404b17..2499cfdd1f28 100644 --- a/devel/py-tables/Makefile +++ b/devel/py-tables/Makefile @@ -13,6 +13,8 @@ EXTRACT_ONLY= tables-${PORTVERSION}.tar.gz MAINTAINER= wen@FreeBSD.org COMMENT= Hierarchical database for Python +LICENSE= BSD3CLAUSE + BUILD_DEPENDS= ${PYNUMPY} \ ${LOCALBASE}/bin/cython:${PORTSDIR}/lang/cython \ ${PYTHON_PKGNAMEPREFIX}numexpr>=1.4.1:${PORTSDIR}/math/py-numexpr @@ -31,7 +33,6 @@ PYREX_DESC= Use code generated by Pyrex to build OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options -NO_STAGE= yes .include .if ${PORT_OPTIONS:MPYREX} @@ -42,27 +43,27 @@ post-patch: @${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE}," ${WRKSRC}/setup.py post-install: - @${FIND} ${PYTHONPREFIX_SITELIBDIR}/tables ! -type d | \ - ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST} - @${FIND} ${PYTHONPREFIX_SITELIBDIR}/tables -type d | ${SORT} -r | \ - ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} + @${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/tables ! -type d | \ + ${SED} 's,^${STAGEDIR}${PREFIX}/,,' >> ${TMPPLIST} + @${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/tables -type d | ${SORT} -r | \ + ${SED} 's,^${STAGEDIR}${PREFIX}/,@dirrm ,' >> ${TMPPLIST} .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${DISTDIR}/pytablesmanual-${PORTVERSION}.pdf ${DOCSDIR} - ${ECHO} '${DOCSDIR}/pytablesmanual-${PORTVERSION}.pdf' | ${SED} 's,^${PREFIX}/,,' \ + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${DISTDIR}/pytablesmanual-${PORTVERSION}.pdf ${STAGEDIR}${DOCSDIR} + ${ECHO} '${STAGEDIR}${DOCSDIR}/pytablesmanual-${PORTVERSION}.pdf' | ${SED} 's,^${STAGEDIR}${PREFIX}/,,' \ >> ${TMPPLIST} - ${ECHO} '${DOCSDIR}' | ${SED} 's,^${PREFIX}/,@dirrm ,' \ + ${ECHO} '${STAGEDIR}${DOCSDIR}' | ${SED} 's,^${STAGEDIR}${PREFIX}/,@dirrm ,' \ >> ${TMPPLIST} .endif .if ${PORT_OPTIONS:MEXAMPLES} - @${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/examples/*.py ${EXAMPLESDIR} - @${FIND} ${EXAMPLESDIR} ! -type d | \ - ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST} - @${FIND} ${EXAMPLESDIR} -type d | ${SORT} -r | \ - ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/*.py ${STAGEDIR}${EXAMPLESDIR} + @${FIND} ${STAGEDIR}${EXAMPLESDIR} ! -type d | \ + ${SED} 's,^${STAGEDIR}${PREFIX}/,,' >> ${TMPPLIST} + @${FIND} ${STAGEDIR}${EXAMPLESDIR} -type d | ${SORT} -r | \ + ${SED} 's,^${STAGEDIR}${PREFIX}/,@dirrm ,' >> ${TMPPLIST} .endif .include -- cgit