summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2004-08-13 00:51:10 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2004-08-13 00:51:10 +0000
commit159d5d765357e0ca6ed38a6324f63dffa08aa0b0 (patch)
treedabc6ce046c0ea9ac46e7e686649552101b0fa31 /math
parent9322ea25e795886fc89e5cb9db269d4f1f53d125 (diff)
downloadpkgsrc-159d5d765357e0ca6ed38a6324f63dffa08aa0b0.tar.gz
add bl3 file
Diffstat (limited to 'math')
-rw-r--r--math/scilab/buildlink3.mk30
1 files changed, 30 insertions, 0 deletions
diff --git a/math/scilab/buildlink3.mk b/math/scilab/buildlink3.mk
new file mode 100644
index 00000000000..09518a11e0b
--- /dev/null
+++ b/math/scilab/buildlink3.mk
@@ -0,0 +1,30 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/08/13 00:51:10 dmcmahill Exp $
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+SCILAB_BUILDLINK3_MK:= ${SCILAB_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= scilab
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nscilab}
+BUILDLINK_PACKAGES+= scilab
+
+.if !empty(SCILAB_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.scilab+= scilab>=3.0
+BUILDLINK_PKGSRCDIR.scilab?= ../../math/scilab
+.endif # SCILAB_BUILDLINK3_MK
+
+# do I really need these?
+.include "../../parallel/pvm3/buildlink3.mk"
+.include "../../textproc/sablotron/buildlink3.mk"
+.include "../../x11/tk/buildlink3.mk"
+
+SCI= ${BUILDLINK_DIR}/lib/scilab-3.0
+CONFIGURE_ENV+= SCI=${SCI}
+MAKE_ENV+= SCI=${SCI}
+
+SCIVERSION= 3.0
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}