summaryrefslogtreecommitdiff
path: root/devel/hdf5/options.mk
diff options
context:
space:
mode:
authorjwise <jwise@pkgsrc.org>2005-05-19 15:39:04 +0000
committerjwise <jwise@pkgsrc.org>2005-05-19 15:39:04 +0000
commit92944f11e77b2f95f4319b9fd18c046d65d8a945 (patch)
treea7561d0b013563765746c46302c3e08f758766c3 /devel/hdf5/options.mk
parentd1036bc27d8d59c6c20bc84e05946a48535ee177 (diff)
downloadpkgsrc-92944f11e77b2f95f4319b9fd18c046d65d8a945.tar.gz
Convert this package to use bsd.options.mk, with one option, `szip'.
This allows szip support (which uses a package with a no-commercial-use license) to be disabled.
Diffstat (limited to 'devel/hdf5/options.mk')
-rw-r--r--devel/hdf5/options.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/devel/hdf5/options.mk b/devel/hdf5/options.mk
new file mode 100644
index 00000000000..539af401d72
--- /dev/null
+++ b/devel/hdf5/options.mk
@@ -0,0 +1,12 @@
+# $NetBSD: options.mk,v 1.1 2005/05/19 15:39:04 jwise Exp $
+
+PKG_OPTIONS_VAR=PKG_OPTIONS.hdf5
+PKG_SUPPORTED_OPTIONS= szip
+PKG_SUGGESTED_OPTIONS= szip
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mszip)
+CONFIGURE_ARGS+= --with-szlib
+.include "../../archivers/szip/buildlink3.mk"
+.endif