summaryrefslogtreecommitdiff
path: root/math/gsl/buildlink2.mk
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 /math/gsl/buildlink2.mk
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 'math/gsl/buildlink2.mk')
-rw-r--r--math/gsl/buildlink2.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/math/gsl/buildlink2.mk b/math/gsl/buildlink2.mk
new file mode 100644
index 00000000000..689fb0e1029
--- /dev/null
+++ b/math/gsl/buildlink2.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 19:23:07 jlam Exp $
+
+.if !defined(GSL_BUILDLINK2_MK)
+GSL_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= gsl
+BUILDLINK_DEPENDS.gsl?= gsl>=1.1.1
+BUILDLINK_PKGSRCDIR.gsl?= ../../math/gsl
+BUILDLINK_DEPMETHOD.gsl?= build
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.gsl=gsl
+BUILDLINK_PREFIX.gsl_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.gsl= include/gsl/*
+BUILDLINK_FILES.gsl+= lib/libgsl.*
+
+BUILDLINK_TARGETS+= gsl-buildlink
+
+gsl-buildlink: _BUILDLINK_USE
+
+.endif # GSL_BUILDLINK2_MK