summaryrefslogtreecommitdiff
path: root/math/scilab
diff options
context:
space:
mode:
authordmcmahill <dmcmahill>2004-08-13 00:51:10 +0000
committerdmcmahill <dmcmahill>2004-08-13 00:51:10 +0000
commit2a6a50eedbadcad181b8d1f503e3ff45a214bf2e (patch)
treedabc6ce046c0ea9ac46e7e686649552101b0fa31 /math/scilab
parent906c92034cb9fd8f8d4d5e70e497dbdd3889cd65 (diff)
downloadpkgsrc-2a6a50eedbadcad181b8d1f503e3ff45a214bf2e.tar.gz
add bl3 file
Diffstat (limited to 'math/scilab')
-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/+$//}