summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2006-01-12 17:35:15 +0000
committerwiz <wiz@pkgsrc.org>2006-01-12 17:35:15 +0000
commit7407ea09fc1514f58e8694e62febcdc9b1b5a5e8 (patch)
tree6948665a7f6d7da89e5ef2a6ca0aaca6ed74c56f /devel
parentadafa1c62582ffac02fc94d7366ef6d86810db1e (diff)
downloadpkgsrc-7407ea09fc1514f58e8694e62febcdc9b1b5a5e8.tar.gz
Update to 1.3.24 with contents of devel/swig13.
Diffstat (limited to 'devel')
-rw-r--r--devel/swig/DESCR19
-rw-r--r--devel/swig/Makefile23
-rw-r--r--devel/swig/PLIST344
-rw-r--r--devel/swig/buildlink3.mk6
-rw-r--r--devel/swig/distinfo10
-rw-r--r--devel/swig/patches/patch-aa52
-rw-r--r--devel/swig/patches/patch-ab15
7 files changed, 365 insertions, 104 deletions
diff --git a/devel/swig/DESCR b/devel/swig/DESCR
index df18d9937e3..f4388872214 100644
--- a/devel/swig/DESCR
+++ b/devel/swig/DESCR
@@ -1,14 +1,9 @@
-Simplified Wrapper and Interface Generator.
+SWIG (Simplified Wrapper and Interface Generator)
-From the web page (http://www.swig.org):
+SWIG is a compiler that integrates C and C++ with languages including
+Perl, Python, Tcl, Guile, Mzscheme, Java, Ruby, PHP, and Ocaml.
-SWIG is a software development tool that connects programs written
-in C, C++, and Objective-C with a variety of high-level programming
-languages. SWIG is primarily used with common scripting languages
-such as Perl, Python, and Tcl/Tk, but has also been extended to
-include languages such as Java, Eiffel, and Guile. SWIG is most
-commonly used to create high-level interpreted programming
-environments, systems integration, and as a tool for building user
-interfaces. SWIG is distributed as OpenSource and may be freely
-used, distributed, and modified for commercial or noncommercial
-use.
+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.
diff --git a/devel/swig/Makefile b/devel/swig/Makefile
index 8ad29f5c734..cdf67663e9c 100644
--- a/devel/swig/Makefile
+++ b/devel/swig/Makefile
@@ -1,21 +1,22 @@
-# $NetBSD: Makefile,v 1.13 2005/08/06 06:19:18 jlam Exp $
+# $NetBSD: Makefile,v 1.14 2006/01/12 17:35:15 wiz Exp $
-DISTNAME= swig1.1p5
-PKGNAME= swig-1.1p5
-PKGREVISION= 3
+DISTNAME= swig-1.3.24
CATEGORIES= devel
-MASTER_SITES= ftp://ftp.swig.org/pub/
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=swig/}
-MAINTAINER= mellon@isc.org
+MAINTAINER= epg@NetBSD.org
HOMEPAGE= http://www.swig.org/
COMMENT= Simplified Wrapper and Interface Generator
-WRKSRC= ${WRKDIR}/SWIG1.1p5
-GNU_CONFIGURE= YES
+CONFLICTS= swig-build-[0-9]*
-.include "../../lang/python/pyversion.mk"
+CONFIGURE_ARGS+= --with-swiglibdir=${PREFIX}/share/swig/1.3
+BUILD_TARGET= swig
+WRKSRC= ${WRKDIR}/SWIG-1.3.24
-.include "../../lang/perl5/buildlink3.mk"
-.include "../../lang/tcl/buildlink3.mk"
+USE_TOOLS+= gmake
+GNU_CONFIGURE= YES
+USE_LANGUAGES= c c++
+USE_LIBTOOL= YES
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/swig/PLIST b/devel/swig/PLIST
index 9b49292c901..62a9198f814 100644
--- a/devel/swig/PLIST
+++ b/devel/swig/PLIST
@@ -1,76 +1,270 @@
-@comment $NetBSD: PLIST,v 1.2 2005/10/23 16:03:11 rillig Exp $
+@comment $NetBSD: PLIST,v 1.3 2006/01/12 17:35:15 wiz Exp $
bin/swig
-include/swig.h
-lib/libswig.a
-lib/swig_lib/Makefile
-lib/swig_lib/array.i
-lib/swig_lib/autodoc.i
-lib/swig_lib/carray.i
-lib/swig_lib/config/swigptr.swg
-lib/swig_lib/constraints.i
-lib/swig_lib/ctype.i
-lib/swig_lib/exception.i
-lib/swig_lib/guile/guile.swg
-lib/swig_lib/guile/guilemain.i
-lib/swig_lib/guile/interpreter.i
-lib/swig_lib/malloc.i
-lib/swig_lib/math.i
-lib/swig_lib/memory.i
-lib/swig_lib/objc.i
-lib/swig_lib/perl4/userinit.i
-lib/swig_lib/perl5/Makefile
-lib/swig_lib/perl5/Makefile.pl
-lib/swig_lib/perl5/perl5.swg
-lib/swig_lib/perl5/perl5mg.swg
-lib/swig_lib/perl5/perl5ptr.swg
-lib/swig_lib/perl5/perlmain.i
-lib/swig_lib/perl5/ptrlang.i
-lib/swig_lib/perl5/typemaps.i
-lib/swig_lib/pointer.i
-lib/swig_lib/python/Makefile
-lib/swig_lib/python/defarg.swg
-lib/swig_lib/python/embed.i
-lib/swig_lib/python/embed13.i
-lib/swig_lib/python/embed14.i
-lib/swig_lib/python/embed15.i
-lib/swig_lib/python/ptrlang.i
-lib/swig_lib/python/pyexp.swg
-lib/swig_lib/python/python.swg
-lib/swig_lib/python/typemaps.i
-lib/swig_lib/python/typemaps_old.i
-lib/swig_lib/stdlib.i
-lib/swig_lib/swigptr.swg
-lib/swig_lib/tcl/Makefile
-lib/swig_lib/tcl/blt.i
-lib/swig_lib/tcl/class.swg
-lib/swig_lib/tcl/configcode.swg
-lib/swig_lib/tcl/constarray.i
-lib/swig_lib/tcl/consthash.i
-lib/swig_lib/tcl/delcmd.swg
-lib/swig_lib/tcl/delcmd8.swg
-lib/swig_lib/tcl/expect.i
-lib/swig_lib/tcl/expectk.i
-lib/swig_lib/tcl/ish.i
-lib/swig_lib/tcl/itclsh.i
-lib/swig_lib/tcl/itkwish.i
-lib/swig_lib/tcl/iwish.i
-lib/swig_lib/tcl/methodcmd.swg
-lib/swig_lib/tcl/methodcmd8.swg
-lib/swig_lib/tcl/objcmd.swg
-lib/swig_lib/tcl/objcmd8.swg
-lib/swig_lib/tcl/ptrlang.i
-lib/swig_lib/tcl/swigtcl.swg
-lib/swig_lib/tcl/tcl8ptr.swg
-lib/swig_lib/tcl/tclsh.i
-lib/swig_lib/tcl/tix.i
-lib/swig_lib/tcl/typemaps.i
-lib/swig_lib/tcl/wish.i
-lib/swig_lib/timers.i
-man/man1/swig.1
-@dirrm lib/swig_lib/perl4
-@dirrm lib/swig_lib/perl5
-@dirrm lib/swig_lib/python
-@dirrm lib/swig_lib/guile
-@dirrm lib/swig_lib/config
-@dirrm lib/swig_lib/tcl
-@dirrm lib/swig_lib
+share/swig/1.3/_std_deque.i
+share/swig/1.3/allegrocl/allegrocl.swg
+share/swig/1.3/allegrocl/typemaps.i
+share/swig/1.3/allkw.swg
+share/swig/1.3/carrays.i
+share/swig/1.3/cdata.i
+share/swig/1.3/chicken/chicken.swg
+share/swig/1.3/chicken/chickenkw.swg
+share/swig/1.3/chicken/chickenrun.swg
+share/swig/1.3/chicken/swigclosprefix.scm
+share/swig/1.3/chicken/typemaps.i
+share/swig/1.3/cmalloc.i
+share/swig/1.3/common.swg
+share/swig/1.3/constraints.i
+share/swig/1.3/cpointer.i
+share/swig/1.3/csharp/csharp.swg
+share/swig/1.3/csharp/csharphead.swg
+share/swig/1.3/csharp/csharpkw.swg
+share/swig/1.3/csharp/enums.swg
+share/swig/1.3/csharp/enumsimple.swg
+share/swig/1.3/csharp/enumtypesafe.swg
+share/swig/1.3/csharp/std_string.i
+share/swig/1.3/csharp/std_vector.i
+share/swig/1.3/csharp/typemaps.i
+share/swig/1.3/cstring.i
+share/swig/1.3/exception.i
+share/swig/1.3/guile/common.scm
+share/swig/1.3/guile/cplusplus.i
+share/swig/1.3/guile/ghinterface.i
+share/swig/1.3/guile/guile.i
+share/swig/1.3/guile/guile_gh.swg
+share/swig/1.3/guile/guile_gh_run.swg
+share/swig/1.3/guile/guile_scm.swg
+share/swig/1.3/guile/guile_scm_run.swg
+share/swig/1.3/guile/guilemain.i
+share/swig/1.3/guile/interpreter.i
+share/swig/1.3/guile/list-vector.i
+share/swig/1.3/guile/pointer-in-out.i
+share/swig/1.3/guile/ports.i
+share/swig/1.3/guile/std_common.i
+share/swig/1.3/guile/std_map.i
+share/swig/1.3/guile/std_pair.i
+share/swig/1.3/guile/std_string.i
+share/swig/1.3/guile/std_vector.i
+share/swig/1.3/guile/swigrun.i
+share/swig/1.3/guile/typemaps.i
+share/swig/1.3/java/arrays_java.i
+share/swig/1.3/java/director.swg
+share/swig/1.3/java/enums.swg
+share/swig/1.3/java/enumsimple.swg
+share/swig/1.3/java/enumtypesafe.swg
+share/swig/1.3/java/enumtypeunsafe.swg
+share/swig/1.3/java/java.swg
+share/swig/1.3/java/javahead.swg
+share/swig/1.3/java/javakw.swg
+share/swig/1.3/java/std_common.i
+share/swig/1.3/java/std_map.i
+share/swig/1.3/java/std_pair.i
+share/swig/1.3/java/std_string.i
+share/swig/1.3/java/std_vector.i
+share/swig/1.3/java/typemaps.i
+share/swig/1.3/java/various.i
+share/swig/1.3/math.i
+share/swig/1.3/modula3/modula3.swg
+share/swig/1.3/modula3/modula3head.swg
+share/swig/1.3/modula3/typemaps.i
+share/swig/1.3/mzscheme/mzrun.swg
+share/swig/1.3/mzscheme/mzscheme.swg
+share/swig/1.3/mzscheme/std_common.i
+share/swig/1.3/mzscheme/std_map.i
+share/swig/1.3/mzscheme/std_pair.i
+share/swig/1.3/mzscheme/std_string.i
+share/swig/1.3/mzscheme/std_vector.i
+share/swig/1.3/mzscheme/typemaps.i
+share/swig/1.3/ocaml/carray.i
+share/swig/1.3/ocaml/class.swg
+share/swig/1.3/ocaml/cstring.i
+share/swig/1.3/ocaml/director.swg
+share/swig/1.3/ocaml/ocaml.i
+share/swig/1.3/ocaml/ocaml.swg
+share/swig/1.3/ocaml/ocamldec.swg
+share/swig/1.3/ocaml/ocamlkw.swg
+share/swig/1.3/ocaml/preamble.swg
+share/swig/1.3/ocaml/std_common.i
+share/swig/1.3/ocaml/std_complex.i
+share/swig/1.3/ocaml/std_deque.i
+share/swig/1.3/ocaml/std_list.i
+share/swig/1.3/ocaml/std_map.i
+share/swig/1.3/ocaml/std_pair.i
+share/swig/1.3/ocaml/std_string.i
+share/swig/1.3/ocaml/std_vector.i
+share/swig/1.3/ocaml/swig.ml
+share/swig/1.3/ocaml/swig.mli
+share/swig/1.3/ocaml/swigp4.ml
+share/swig/1.3/ocaml/typecheck.i
+share/swig/1.3/ocaml/typemaps.i
+share/swig/1.3/ocaml/typeregister.swg
+share/swig/1.3/perl5/Makefile.pl
+share/swig/1.3/perl5/noembed.h
+share/swig/1.3/perl5/perl5.swg
+share/swig/1.3/perl5/perlinit.swg
+share/swig/1.3/perl5/perlmain.i
+share/swig/1.3/perl5/perlrun.swg
+share/swig/1.3/perl5/std_common.i
+share/swig/1.3/perl5/std_list.i
+share/swig/1.3/perl5/std_map.i
+share/swig/1.3/perl5/std_pair.i
+share/swig/1.3/perl5/std_string.i
+share/swig/1.3/perl5/std_vector.i
+share/swig/1.3/perl5/typemaps.i
+share/swig/1.3/php4/php4.swg
+share/swig/1.3/php4/php4kw.swg
+share/swig/1.3/php4/php4run.swg
+share/swig/1.3/php4/std_common.i
+share/swig/1.3/php4/std_map.i
+share/swig/1.3/php4/std_pair.i
+share/swig/1.3/php4/std_string.i
+share/swig/1.3/php4/std_vector.i
+share/swig/1.3/php4/typemaps.i
+share/swig/1.3/php4/utils.i
+share/swig/1.3/pike/pike.swg
+share/swig/1.3/pike/pikekw.swg
+share/swig/1.3/pike/pikerun.swg
+share/swig/1.3/pike/std_string.i
+share/swig/1.3/pointer.i
+share/swig/1.3/python/argcargv.i
+share/swig/1.3/python/attribute.i
+share/swig/1.3/python/ccomplex.i
+share/swig/1.3/python/complex.i
+share/swig/1.3/python/cstring.i
+share/swig/1.3/python/defarg.swg
+share/swig/1.3/python/director.swg
+share/swig/1.3/python/director_h.swg
+share/swig/1.3/python/embed.i
+share/swig/1.3/python/embed15.i
+share/swig/1.3/python/file.i
+share/swig/1.3/python/implicit.i
+share/swig/1.3/python/pyapi.swg
+share/swig/1.3/python/pycomplex.swg
+share/swig/1.3/python/pycontainer.swg
+share/swig/1.3/python/pydocs.swg
+share/swig/1.3/python/pyenum.swg
+share/swig/1.3/python/pyfragments.swg
+share/swig/1.3/python/pyinit.swg
+share/swig/1.3/python/pyinout.swg
+share/swig/1.3/python/pymacros.swg
+share/swig/1.3/python/pymisctypes.swg
+share/swig/1.3/python/pyobject.swg
+share/swig/1.3/python/pyopers.swg
+share/swig/1.3/python/pyprimtypes.swg
+share/swig/1.3/python/pyptrtypes.swg
+share/swig/1.3/python/pyrun.swg
+share/swig/1.3/python/pyruntime.swg
+share/swig/1.3/python/pystdcommon.swg
+share/swig/1.3/python/pystrbase.swg
+share/swig/1.3/python/pystrings.swg
+share/swig/1.3/python/pyswigtype.swg
+share/swig/1.3/python/python.swg
+share/swig/1.3/python/pythonkw.swg
+share/swig/1.3/python/pytuplehlp.swg
+share/swig/1.3/python/pyuserdir.swg
+share/swig/1.3/python/pyvaltypes.swg
+share/swig/1.3/python/pyvoid.swg
+share/swig/1.3/python/pywstrings.swg
+share/swig/1.3/python/std_alloc.i
+share/swig/1.3/python/std_basic_string.i
+share/swig/1.3/python/std_char_traits.i
+share/swig/1.3/python/std_common.i
+share/swig/1.3/python/std_complex.i
+share/swig/1.3/python/std_container.i
+share/swig/1.3/python/std_deque.i
+share/swig/1.3/python/std_except.i
+share/swig/1.3/python/std_ios.i
+share/swig/1.3/python/std_iostream.i
+share/swig/1.3/python/std_list.i
+share/swig/1.3/python/std_map.i
+share/swig/1.3/python/std_multimap.i
+share/swig/1.3/python/std_multiset.i
+share/swig/1.3/python/std_pair.i
+share/swig/1.3/python/std_set.i
+share/swig/1.3/python/std_sstream.i
+share/swig/1.3/python/std_streambuf.i
+share/swig/1.3/python/std_string.i
+share/swig/1.3/python/std_vector.i
+share/swig/1.3/python/std_vectora.i
+share/swig/1.3/python/std_wstring.i
+share/swig/1.3/python/typemaps.i
+share/swig/1.3/python/wchar.i
+share/swig/1.3/ruby/Makefile.swig
+share/swig/1.3/ruby/director.swg
+share/swig/1.3/ruby/embed.i
+share/swig/1.3/ruby/extconf.rb
+share/swig/1.3/ruby/fragments.i
+share/swig/1.3/ruby/ruby.swg
+share/swig/1.3/ruby/rubydef.swg
+share/swig/1.3/ruby/rubyenum.swg
+share/swig/1.3/ruby/rubyhead.swg
+share/swig/1.3/ruby/rubykw.swg
+share/swig/1.3/ruby/rubymisctypes.swg
+share/swig/1.3/ruby/rubyobject.swg
+share/swig/1.3/ruby/rubyopers.swg
+share/swig/1.3/ruby/rubyprimtypes.swg
+share/swig/1.3/ruby/rubystrings.swg
+share/swig/1.3/ruby/rubyswigtype.swg
+share/swig/1.3/ruby/rubyvoid.swg
+share/swig/1.3/ruby/std_common.i
+share/swig/1.3/ruby/std_deque.i
+share/swig/1.3/ruby/std_map.i
+share/swig/1.3/ruby/std_pair.i
+share/swig/1.3/ruby/std_string.i
+share/swig/1.3/ruby/std_vector.i
+share/swig/1.3/ruby/typemaps.i
+share/swig/1.3/runtime.swg
+share/swig/1.3/std/std_alloc.i
+share/swig/1.3/std/std_basic_string.i
+share/swig/1.3/std/std_char_traits.i
+share/swig/1.3/std/std_common.i
+share/swig/1.3/std/std_container.i
+share/swig/1.3/std/std_deque.i
+share/swig/1.3/std/std_except.i
+share/swig/1.3/std/std_ios.i
+share/swig/1.3/std/std_iostream.i
+share/swig/1.3/std/std_list.i
+share/swig/1.3/std/std_map.i
+share/swig/1.3/std/std_multimap.i
+share/swig/1.3/std/std_multiset.i
+share/swig/1.3/std/std_pair.i
+share/swig/1.3/std/std_set.i
+share/swig/1.3/std/std_sstream.i
+share/swig/1.3/std/std_streambuf.i
+share/swig/1.3/std/std_string.i
+share/swig/1.3/std/std_vector.i
+share/swig/1.3/std/std_vectora.i
+share/swig/1.3/std/std_wstring.i
+share/swig/1.3/std_deque.i
+share/swig/1.3/stl.i
+share/swig/1.3/swig.swg
+share/swig/1.3/swigrun.i
+share/swig/1.3/swigrun.swg
+share/swig/1.3/tcl/cstring.i
+share/swig/1.3/tcl/std_common.i
+share/swig/1.3/tcl/std_map.i
+share/swig/1.3/tcl/std_pair.i
+share/swig/1.3/tcl/std_string.i
+share/swig/1.3/tcl/std_vector.i
+share/swig/1.3/tcl/swigtcl8.swg
+share/swig/1.3/tcl/tcl8.swg
+share/swig/1.3/tcl/tcl8kw.swg
+share/swig/1.3/tcl/tclsh.i
+share/swig/1.3/tcl/typemaps.i
+share/swig/1.3/tcl/wish.i
+@dirrm share/swig/1.3/tcl
+@dirrm share/swig/1.3/std
+@dirrm share/swig/1.3/ruby
+@dirrm share/swig/1.3/python
+@dirrm share/swig/1.3/pike
+@dirrm share/swig/1.3/php4
+@dirrm share/swig/1.3/perl5
+@dirrm share/swig/1.3/ocaml
+@dirrm share/swig/1.3/mzscheme
+@dirrm share/swig/1.3/modula3
+@dirrm share/swig/1.3/java
+@dirrm share/swig/1.3/guile
+@dirrm share/swig/1.3/csharp
+@dirrm share/swig/1.3/chicken
+@dirrm share/swig/1.3/allegrocl
+@dirrm share/swig/1.3
+@dirrm share/swig
diff --git a/devel/swig/buildlink3.mk b/devel/swig/buildlink3.mk
index 1975fc8caec..8e432ab4132 100644
--- a/devel/swig/buildlink3.mk
+++ b/devel/swig/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.1 2004/05/03 15:58:55 wiz Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2006/01/12 17:35:15 wiz Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SWIG_BUILDLINK3_MK:= ${SWIG_BUILDLINK3_MK}+
@@ -11,10 +11,12 @@ BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nswig}
BUILDLINK_PACKAGES+= swig
.if !empty(SWIG_BUILDLINK3_MK:M+)
-BUILDLINK_DEPENDS.swig+= swig>=1.1p5nb1
+BUILDLINK_DEPENDS.swig+= swig>=1.3.24
BUILDLINK_PKGSRCDIR.swig?= ../../devel/swig
# only contains a static library
BUILDLINK_DEPMETHOD.swig?= build
+
+BUILDLINK_FILES.swig+= share/swig/1.3/* share/swig/1.3/*/*
.endif # SWIG_BUILDLINK3_MK
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/devel/swig/distinfo b/devel/swig/distinfo
index aa7f89d22df..6bc571e1128 100644
--- a/devel/swig/distinfo
+++ b/devel/swig/distinfo
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.3 2005/02/23 22:24:34 agc Exp $
+$NetBSD: distinfo,v 1.4 2006/01/12 17:35:15 wiz Exp $
-SHA1 (swig1.1p5.tar.gz) = 29f3bea5f7209b742a5c468e11a3ffd2b986d1b6
-RMD160 (swig1.1p5.tar.gz) = 529daa90434cdffb307411c71dd7a216be288dc5
-Size (swig1.1p5.tar.gz) = 2058282 bytes
+SHA1 (swig-1.3.24.tar.gz) = 0a8344e7e096a84f07be731085de386c2555d934
+RMD160 (swig-1.3.24.tar.gz) = 50fc2c2280885618c8761108423343a7c36f57b2
+Size (swig-1.3.24.tar.gz) = 3327854 bytes
+SHA1 (patch-aa) = 8c42a5678ec1db03ea9c4f191920ad8a89393f4d
+SHA1 (patch-ab) = 907477ab140cd4b23772f5e821058537c85ad193
diff --git a/devel/swig/patches/patch-aa b/devel/swig/patches/patch-aa
new file mode 100644
index 00000000000..229c6d0294a
--- /dev/null
+++ b/devel/swig/patches/patch-aa
@@ -0,0 +1,52 @@
+$NetBSD: patch-aa,v 1.1 2006/01/12 17:35:15 wiz Exp $
+
+--- Source/Makefile.in.orig 2004-12-14 16:50:02.000000000 -0500
++++ Source/Makefile.in
+@@ -433,47 +433,7 @@ all: $(BUILT_SOURCES)
+
+ .SUFFIXES:
+ .SUFFIXES: .c .cxx .o .obj .y
+-$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+- @for dep in $?; do \
+- case '$(am__configure_deps)' in \
+- *$$dep*) \
+- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+- && exit 0; \
+- exit 1;; \
+- esac; \
+- done; \
+- echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Source/Makefile'; \
+- cd $(top_srcdir) && \
+- $(AUTOMAKE) --foreign Source/Makefile
+ .PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+- @case '$?' in \
+- *config.status*) \
+- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+- *) \
+- echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+- cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+- esac;
+-
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-
+-$(top_srcdir)/configure: $(am__configure_deps)
+- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-install-binPROGRAMS: $(bin_PROGRAMS)
+- @$(NORMAL_INSTALL)
+- test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
+- @list='$(bin_PROGRAMS)'; for p in $$list; do \
+- p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
+- if test -f $$p \
+- ; then \
+- f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+- echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
+- $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
+- else :; fi; \
+- done
+
+ uninstall-binPROGRAMS:
+ @$(NORMAL_UNINSTALL)
diff --git a/devel/swig/patches/patch-ab b/devel/swig/patches/patch-ab
new file mode 100644
index 00000000000..ad49224960b
--- /dev/null
+++ b/devel/swig/patches/patch-ab
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.1 2006/01/12 17:35:15 wiz Exp $
+
+--- Makefile.in.orig 2004-10-11 03:09:24.000000000 -0500
++++ Makefile.in
+@@ -332,8 +332,8 @@ install-lib:
+ echo "Installing language specific files for $$lang"; \
+ dst=$(DESTDIR)$(SWIG_LIB)/$$lang; \
+ $(MKINSTDIRS) $$dst; \
+- (doti="`cd $(srcdir)/Lib/$$lang && ls *.i 2>/dev/null`"; \
+- dotswg="`cd $(srcdir)/Lib/$$lang && ls *.swg 2>/dev/null`"; \
++ (doti="`cd $(srcdir)/Lib/$$lang && ls *.i 2>/dev/null`" || doti=""; \
++ dotswg="`cd $(srcdir)/Lib/$$lang && ls *.swg 2>/dev/null`" || dotswg=""; \
+ if [ -f $(srcdir)/Lib/$$lang/extra-install.list ]; then \
+ extra="`sed '/^#/d' $(srcdir)/Lib/$$lang/extra-install.list`"; \
+ fi; \