85fbdf1278
Originally, this was going to be a meta-package for swig-{build,python,perl,...}, but SWIG no longer has run-time components, and may now be collapsed into a single package. SWIG (Simplified Wrapper and Interface Generator) SWIG is a compiler that integrates C and C++ with languages including Perl, Python, Tcl, Guile, Mzscheme, Java, Ruby, PHP, and Ocaml. SWIG reads annotated C/C++ header files and creates wrapper code (glue code) in order to make the corresponding C/C++ libraries available to the listed languages, or to extend C/C++ programs with a scripting language.
22 lines
579 B
Makefile
22 lines
579 B
Makefile
# $NetBSD: buildlink3.mk,v 1.1.1.1 2005/05/23 22:25:03 epg Exp $
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
|
|
SWIG_BUILDLINK3_MK:= ${SWIG_BUILDLINK3_MK}+
|
|
|
|
.if !empty(BUILDLINK_DEPTH:M+)
|
|
BUILDLINK_DEPENDS+= swig
|
|
.endif
|
|
|
|
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nswig}
|
|
BUILDLINK_PACKAGES+= swig
|
|
|
|
.if !empty(SWIG_BUILDLINK3_MK:M+)
|
|
BUILDLINK_DEPENDS.swig+= swig>=1.3.24
|
|
BUILDLINK_PKGSRCDIR.swig?= ../../devel/swig13
|
|
|
|
BUILDLINK_DEPMETHOD.swig?= build
|
|
|
|
BUILDLINK_FILES.swig+= share/swig/1.3/* share/swig/1.3/*/*
|
|
.endif # SWIG_BUILDLINK3_MK
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|