summaryrefslogtreecommitdiff
path: root/devel/swig-build/buildlink2.mk
diff options
context:
space:
mode:
authorepg <epg@pkgsrc.org>2003-05-25 08:52:37 +0000
committerepg <epg@pkgsrc.org>2003-05-25 08:52:37 +0000
commit0f09b848d928c5df2bf6808164e5cded32f5189c (patch)
tree118393ff607f2e8fc841ed9763a69b62f84ba0f1 /devel/swig-build/buildlink2.mk
parent3659bd85cf8bab3e947023d8509e2bccc063a8a9 (diff)
downloadpkgsrc-0f09b848d928c5df2bf6808164e5cded32f5189c.tar.gz
import swig-build-1.3.17
This package contains only the swig program itself and the base definitions; it is useless alone. You only need this package if you are building software that uses SWIG. You will also need a swig-LANG package, where LANG is the language you are working with (e.g. swig-perl, swig-python, etc.). Still todo: import other swig runtimes, move existing swig package to swig11 and update dependencies, and add the new swig packages to devel/Makefile.
Diffstat (limited to 'devel/swig-build/buildlink2.mk')
-rw-r--r--devel/swig-build/buildlink2.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/devel/swig-build/buildlink2.mk b/devel/swig-build/buildlink2.mk
new file mode 100644
index 00000000000..6468baccb5c
--- /dev/null
+++ b/devel/swig-build/buildlink2.mk
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink2.mk,v 1.1.1.1 2003/05/25 08:52:37 epg Exp $
+
+.if !defined(SWIG_BUILD_BUILDLINK2_MK)
+SWIG_BUILD_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= swig-build
+BUILDLINK_DEPENDS.swig-build?= swig-build>=${SWIG_VERSION}
+BUILDLINK_PKGSRCDIR.swig-build?= ../../devel/swig-build
+
+# This package contains no run-time components.
+BUILDLINK_DEPMETHOD.swig-build?= build
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.swig-build=swig-build
+BUILDLINK_PREFIX.swig-build_DEFAULT= ${LOCALBASE}
+
+.include "../../devel/swig-build/Makefile.version"
+
+BUILDLINK_TARGETS+= swig-build-buildlink
+
+swig-build-buildlink: _BUILDLINK_USE
+
+.endif # SWIG_BUILD_BUILDLINK2_MK