diff options
author | jlam <jlam> | 2002-11-26 23:17:00 +0000 |
---|---|---|
committer | jlam <jlam> | 2002-11-26 23:17:00 +0000 |
commit | ca86d68c6815b3489e94e424f9462af35d747a4a (patch) | |
tree | 5f4cd650d9a8c371bef3a4eb0c5fb295b678ddf9 /devel | |
parent | 7904bfa6e1d64de633221b3dc57a342e7cbf0755 (diff) | |
download | pkgsrc-ca86d68c6815b3489e94e424f9462af35d747a4a.tar.gz |
buildlink2.mk file for devel/swig
Diffstat (limited to 'devel')
-rw-r--r-- | devel/swig/buildlink2.mk | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/devel/swig/buildlink2.mk b/devel/swig/buildlink2.mk new file mode 100644 index 00000000000..51d3ee41458 --- /dev/null +++ b/devel/swig/buildlink2.mk @@ -0,0 +1,22 @@ +# $NetBSD: buildlink2.mk,v 1.1 2002/11/26 23:17:00 jlam Exp $ + +.if !defined(SWIG_BUILDLINK2_MK) +SWIG_BUILDLINK2_MK= # defined + +BUILDLINK_PACKAGES+= swig +BUILDLINK_DEPENDS.swig?= swig>=1.1p5 +BUILDLINK_PKGSRCDIR.swig?= ../../devel/swig + +# This adds a build-dependency as swig only has a static library. +BUILDLINK_DEPMETHOD.swig?= build + +EVAL_PREFIX+= BUILDLINK_PREFIX.swig=swig +BUILDLINK_PREFIX.swig_DEFAULT= ${LOCALBASE} +BUILDLINK_FILES.swig= include/swig.h +BUILDLINK_FILES.swig+= lib/libswig.a + +BUILDLINK_TARGETS+= swig-buildlink + +swig-buildlink: _BUILDLINK_USE + +.endif # SWIG_BUILDLINK2_MK |