diff options
-rw-r--r-- | math/py-pytables/Makefile | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/math/py-pytables/Makefile b/math/py-pytables/Makefile index af9a37c76f4..9c7305f4299 100644 --- a/math/py-pytables/Makefile +++ b/math/py-pytables/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2006/02/10 20:05:11 drochner Exp $ +# $NetBSD: Makefile,v 1.10 2006/02/15 16:56:09 drochner Exp $ # DISTNAME= pytables-1.2.1 @@ -10,10 +10,22 @@ MAINTAINER= tech-pkg@NetBSD.org HOMEPAGE= http://pytables.sourceforge.net/ COMMENT= Database package for large amounts of data +PKG_OPTIONS_VAR= PKG_OPTIONS.pytables +PKG_SUPPORTED_OPTIONS= lzo ucl +PKG_SUGGESTED_OPTIONS= +.include "../../mk/bsd.options.mk" PYDISTUTILSPKG= yes PYSETUPBUILDARGS= --hdf5=${BUILDLINK_PREFIX.hdf5} -PYSETUPINSTALLARGS= --hdf5=${BUILDLINK_PREFIX.hdf5} +.if !empty(PKG_OPTIONS:Mlzo) +PYSETUPBUILDARGS+= --lzo=${BUILDLINK_PREFIX.lzo} +.include "../../archivers/lzo/buildlink3.mk" +.endif +.if !empty(PKG_OPTIONS:Mucl) +PYSETUPBUILDARGS+= --ucl=${BUILDLINK_PREFIX.ucl} +.include "../../archivers/ucl/buildlink3.mk" +.endif +PYSETUPINSTALLARGS= ${PYSETUPBUILDARGS} PYTHON_VERSIONS_ACCEPTED= 24 23 22 PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX:Q} @@ -25,5 +37,7 @@ post-extract: .include "../../lang/python/extension.mk" .include "../../devel/hdf5/buildlink3.mk" +.include "../../devel/zlib/buildlink3.mk" +.include "../../archivers/bzip2/buildlink3.mk" .include "../../math/py-numarray/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |