aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authordbn <dbn@FreeBSD.org>2014-05-13 01:04:55 +0800
committerdbn <dbn@FreeBSD.org>2014-05-13 01:04:55 +0800
commit5a27d6bd34ea740074be9f9e19acbaee63ae9f2c (patch)
tree1023ea3508870b198f8097b03665ac15bf8e8eca /devel
parent14a7fa8145d7f4fef96500c15296e1ebfae6a9ce (diff)
downloadfreebsd-ports-gnome-5a27d6bd34ea740074be9f9e19acbaee63ae9f2c.tar.gz
freebsd-ports-gnome-5a27d6bd34ea740074be9f9e19acbaee63ae9f2c.tar.zst
freebsd-ports-gnome-5a27d6bd34ea740074be9f9e19acbaee63ae9f2c.zip
Stagify devel/py-tables.
- Add LICENSE (BSD3CLAUSE) PR: ports/188568 Submitted by: Bartek Rutkowski <ports@robakdesign.com> Approved by: portmgr (implicit)
Diffstat (limited to 'devel')
-rw-r--r--devel/py-tables/Makefile31
1 files changed, 16 insertions, 15 deletions
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 <bsd.port.options.mk>
.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 <bsd.port.mk>