pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/py-pytables optionally support lzo and ucl for in...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7a32fe580c40
branches:  trunk
changeset: 508134:7a32fe580c40
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Wed Feb 15 16:56:09 2006 +0000

description:
optionally support lzo and ucl for internal compression,
pull in buildlink files for all compression libs used

diffstat:

 math/py-pytables/Makefile |  18 ++++++++++++++++--
 1 files changed, 16 insertions(+), 2 deletions(-)

diffs (41 lines):

diff -r a5b591dd5280 -r 7a32fe580c40 math/py-pytables/Makefile
--- a/math/py-pytables/Makefile Wed Feb 15 16:48:16 2006 +0000
+++ b/math/py-pytables/Makefile Wed Feb 15 16:56:09 2006 +0000
@@ -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 @@
 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 @@
 
 .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"



Home | Main Index | Thread Index | Old Index