summaryrefslogtreecommitdiff
path: root/devel/hdf
diff options
context:
space:
mode:
authorjlam <jlam>2002-08-25 19:21:43 +0000
committerjlam <jlam>2002-08-25 19:21:43 +0000
commit3d80364aa7d569b8fa9e6f1069f1c94550179218 (patch)
treec69c41be2f3b44bedceeee7e348c2ae58c476c6a /devel/hdf
parent3bff324aa681cfea59a4a20f4bdd9520a4707593 (diff)
downloadpkgsrc-3d80364aa7d569b8fa9e6f1069f1c94550179218.tar.gz
Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.
Diffstat (limited to 'devel/hdf')
-rw-r--r--devel/hdf/buildlink2.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/devel/hdf/buildlink2.mk b/devel/hdf/buildlink2.mk
new file mode 100644
index 00000000000..5cc1fe9f8e5
--- /dev/null
+++ b/devel/hdf/buildlink2.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 19:22:29 jlam Exp $
+
+.if !defined(HDF_BUILDLINK2_MK)
+HDF_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= hdf
+BUILDLINK_DEPENDS.hdf?= hdf>=4.1r5
+BUILDLINK_PKGSRCDIR.hdf?= ../../devel/hdf
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.hdf=hdf
+BUILDLINK_PREFIX.hdf_DEFAULT= ${LOCALBASE}
+
+BUILDLINK_FILES.hdf= include/hdf/*
+BUILDLINK_FILES.hdf+= lib/libdf.*
+BUILDLINK_FILES.hdf+= lib/libmfhdf.*
+
+BUILDLINK_TARGETS+= hdf-buildlink
+
+hdf-buildlink: _BUILDLINK_USE
+
+.endif # HDF_BUILDLINK2_MK