diff options
author | epg <epg@pkgsrc.org> | 2005-05-23 22:25:03 +0000 |
---|---|---|
committer | epg <epg@pkgsrc.org> | 2005-05-23 22:25:03 +0000 |
commit | 85fbdf1278e9f080e2744c1860fd612e50fdad91 (patch) | |
tree | b59cd453993e40f7cef7e70041a4cadc36fdd1af /devel | |
parent | 5f1f7467a2e0e5d7a2ec3463e695f3c39fd75a98 (diff) | |
download | pkgsrc-85fbdf1278e9f080e2744c1860fd612e50fdad91.tar.gz |
Import SWIG-1.3.24.
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.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/swig13/DESCR | 9 | ||||
-rw-r--r-- | devel/swig13/Makefile | 21 | ||||
-rw-r--r-- | devel/swig13/PLIST | 270 | ||||
-rw-r--r-- | devel/swig13/buildlink3.mk | 22 | ||||
-rw-r--r-- | devel/swig13/distinfo | 6 | ||||
-rw-r--r-- | devel/swig13/patches/patch-aa | 52 |
6 files changed, 380 insertions, 0 deletions
diff --git a/devel/swig13/DESCR b/devel/swig13/DESCR new file mode 100644 index 00000000000..f4388872214 --- /dev/null +++ b/devel/swig13/DESCR @@ -0,0 +1,9 @@ +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. diff --git a/devel/swig13/Makefile b/devel/swig13/Makefile new file mode 100644 index 00000000000..661a52fb290 --- /dev/null +++ b/devel/swig13/Makefile @@ -0,0 +1,21 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/05/23 22:25:03 epg Exp $ + +DISTNAME= swig-1.3.24 +CATEGORIES= devel +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=swig/} + +MAINTAINER= epg@NetBSD.org +HOMEPAGE= http://www.swig.org/ +COMMENT= Simplified Wrapper and Interface Generator + +CONFIGURE_ARGS+= --with-swiglibdir=${PREFIX}/share/swig/1.3 +BUILD_TARGET= swig +WRKSRC= ${WRKDIR}/SWIG-1.3.24 + +USE_BUILDLINK3= YES +USE_GNU_TOOLS+= make +GNU_CONFIGURE= YES +USE_LANGUAGES= c c++ +USE_LIBTOOL= YES + +.include "../../mk/bsd.pkg.mk" diff --git a/devel/swig13/PLIST b/devel/swig13/PLIST new file mode 100644 index 00000000000..a7500d8155b --- /dev/null +++ b/devel/swig13/PLIST @@ -0,0 +1,270 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/05/23 22:25:03 epg Exp $ +bin/swig +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/swig13/buildlink3.mk b/devel/swig13/buildlink3.mk new file mode 100644 index 00000000000..6ced657957f --- /dev/null +++ b/devel/swig13/buildlink3.mk @@ -0,0 +1,22 @@ +# $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/+$//} diff --git a/devel/swig13/distinfo b/devel/swig13/distinfo new file mode 100644 index 00000000000..18b97fce36e --- /dev/null +++ b/devel/swig13/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2005/05/23 22:25:03 epg Exp $ + +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 diff --git a/devel/swig13/patches/patch-aa b/devel/swig13/patches/patch-aa new file mode 100644 index 00000000000..438cd8bcc1e --- /dev/null +++ b/devel/swig13/patches/patch-aa @@ -0,0 +1,52 @@ +$NetBSD: patch-aa,v 1.1.1.1 2005/05/23 22:25:03 epg 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) |