summaryrefslogtreecommitdiff
path: root/lang/tcl-otcl/buildlink2.mk
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2002-08-28 09:57:34 +0000
committerseb <seb@pkgsrc.org>2002-08-28 09:57:34 +0000
commit1020fcbb60a7a150fb4f671deb59dde37e74b0a5 (patch)
treefeef4e32d16848e875b98a455456615b2c888d14 /lang/tcl-otcl/buildlink2.mk
parentbad74d9f3879186f86cba4e56d83f9e12ece1b9a (diff)
downloadpkgsrc-1020fcbb60a7a150fb4f671deb59dde37e74b0a5.tar.gz
Reimport lang/otcl as lang/tcl-otcl to follow established practices.
Do various otcl -> tcl[-/]otcl substitutions along the way. Sorry for the inconvenience.
Diffstat (limited to 'lang/tcl-otcl/buildlink2.mk')
-rw-r--r--lang/tcl-otcl/buildlink2.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/lang/tcl-otcl/buildlink2.mk b/lang/tcl-otcl/buildlink2.mk
new file mode 100644
index 00000000000..5ddd2dc3e0c
--- /dev/null
+++ b/lang/tcl-otcl/buildlink2.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink2.mk,v 1.1.1.1 2002/08/28 09:57:34 seb Exp $
+
+.if !defined(TCL_OTCL_BUILDLINK2_MK)
+TCL_OTCL_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= tcl-otcl
+BUILDLINK_DEPENDS.tcl-otcl?= tcl-otcl>=1.0rc8
+BUILDLINK_PKGSRCDIR.tcl-otcl?= ../../lang/tcl-otcl
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.tcl-otcl=tcl-otcl
+BUILDLINK_PREFIX.tcl-otcl_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.tcl-otcl+= include/otcl.h
+BUILDLINK_FILES.tcl-otcl+= lib/libotcl.*
+
+.include "../../x11/tk/buildlink2.mk"
+
+BUILDLINK_TARGETS+= tcl-otcl-buildlink
+
+tcl-otcl-buildlink: _BUILDLINK_USE
+
+.endif # TCL_OTCL_BUILDLINK2_MK