diff options
author | drochner <drochner@pkgsrc.org> | 2006-02-15 16:56:09 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2006-02-15 16:56:09 +0000 |
commit | 41bab092fbe6d8d83b447d618690a1b0736d4680 (patch) | |
tree | 17628b21408e824b99ad889fb4b583f9b5350922 /math/py-pytables/Makefile | |
parent | 70da162875e382233e253b4c08bdd63527c75bbb (diff) | |
download | pkgsrc-41bab092fbe6d8d83b447d618690a1b0736d4680.tar.gz |
optionally support lzo and ucl for internal compression,
pull in buildlink files for all compression libs used
Diffstat (limited to 'math/py-pytables/Makefile')
-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" |