summaryrefslogtreecommitdiffstats
path: root/devel/py-tables/Makefile
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-07-18 22:43:17 +0000
committerpav <pav@FreeBSD.org>2005-07-18 22:43:17 +0000
commit94ed164af7986ad0634a782dcf74014f6d9227f9 (patch)
tree69e65d1479283a242380ce01155b1682046e8e0a /devel/py-tables/Makefile
parent59b36b07ee5578d79b4d6aa0c6e0b3d63c875a27 (diff)
downloadFreeBSD-ports-94ed164af7986ad0634a782dcf74014f6d9227f9.zip
FreeBSD-ports-94ed164af7986ad0634a782dcf74014f6d9227f9.tar.gz
- Update to 1.1
PR: ports/83692 Submitted by: Vsevolod Stakhov <vsevolod@highsecure.ru>
Diffstat (limited to 'devel/py-tables/Makefile')
-rw-r--r--devel/py-tables/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/devel/py-tables/Makefile b/devel/py-tables/Makefile
index d8b4081..55afbd7 100644
--- a/devel/py-tables/Makefile
+++ b/devel/py-tables/Makefile
@@ -7,8 +7,7 @@
#
PORTNAME= tables
-PORTVERSION= 1.0
-PORTREVISION= 3
+PORTVERSION= 1.1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= pytables
@@ -30,13 +29,17 @@ USE_PYDISTUTILS= yes
PLIST_FILES= bin/nctoh5 bin/ptdump bin/ptrepack
+.if !exists(/usr/bin/bzip2)
+LIB_DEPENDS+= bzip2:${PORTSDIR}/archivers/bzip2
+.endif
+
post-patch:
@${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE}," ${WRKSRC}/setup.py
post-install:
- @${FIND} ${PYTHON_SITELIBDIR}/tables ! -type d | \
+ @${FIND} ${PYTHONPREFIX_SITELIBDIR}/tables ! -type d | \
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
- @${FIND} ${PYTHON_SITELIBDIR}/tables -type d | ${SORT} -r | \
+ @${FIND} ${PYTHONPREFIX_SITELIBDIR}/tables -type d | ${SORT} -r | \
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
.if !defined(NOPORTDOCS)
@${MKDIR} ${EXAMPLESDIR}
OpenPOWER on IntegriCloud