summaryrefslogtreecommitdiff
path: root/math/blas/buildlink2.mk
diff options
context:
space:
mode:
Diffstat (limited to 'math/blas/buildlink2.mk')
-rw-r--r--math/blas/buildlink2.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/math/blas/buildlink2.mk b/math/blas/buildlink2.mk
new file mode 100644
index 00000000000..0c86afe06cf
--- /dev/null
+++ b/math/blas/buildlink2.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 19:23:06 jlam Exp $
+
+.if !defined(BLAS_BUILDLINK2_MK)
+BLAS_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= blas
+BUILDLINK_DEPENDS.blas?= blas>=1.0
+BUILDLINK_PKGSRCDIR.blas?= ../../math/blas
+BUILDLINK_DEPMETHOD.blas?= build
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.blas=blas
+BUILDLINK_PREFIX.blas_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.blas= lib/libblas.*
+
+BUILDLINK_TARGETS+= blas-buildlink
+
+blas-buildlink: _BUILDLINK_USE
+
+.endif # BLAS_BUILDLINK2_MK