pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/swig2 Import swig-2.0.8nb1 as devel/swig2.
details: https://anonhg.NetBSD.org/pkgsrc/rev/ecdaf6631441
branches: trunk
changeset: 610872:ecdaf6631441
user: gdt <gdt%pkgsrc.org@localhost>
date: Fri Nov 09 14:25:43 2012 +0000
description:
Import swig-2.0.8nb1 as devel/swig2.
This package was created by Jason Bacon in wip.
Note that this is nb1 because it has been in wip as nb1.
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.
This is version 2 of swig.
diffstat:
devel/swig2/DESCR | 11 +
devel/swig2/Makefile | 64 +
devel/swig2/PLIST | 3816 +++++++++++++++++++++++++++++++++++++++++++++
devel/swig2/buildlink3.mk | 14 +
devel/swig2/distinfo | 5 +
5 files changed, 3910 insertions(+), 0 deletions(-)
diffs (truncated from 3930 to 300 lines):
diff -r 6bca15136cb3 -r ecdaf6631441 devel/swig2/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/swig2/DESCR Fri Nov 09 14:25:43 2012 +0000
@@ -0,0 +1,11 @@
+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.
+
+This is version 2 of swig.
diff -r 6bca15136cb3 -r ecdaf6631441 devel/swig2/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/swig2/Makefile Fri Nov 09 14:25:43 2012 +0000
@@ -0,0 +1,64 @@
+# $NetBSD: Makefile,v 1.1 2012/11/09 14:25:44 gdt Exp $
+
+DISTNAME= swig-2.0.8
+PKGREVISION= 1
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=swig/}
+
+MAINTAINER= jwbacon%tds.net@localhost
+HOMEPAGE= http://www.swig.org/
+COMMENT= Simplified Wrapper and Interface Generator (version 2)
+LICENSE= 2-clause-bsd
+
+CONFLICTS= swig-build-[0-9]*
+
+# This package mostly can replace swig (1), but it is likely not
+# entirely compatible (per upstream). So the plan is to keep
+# devel/swig and devel/swig2 both for a while. This package is
+# configured to install swig as "swig2", so that swig and swig2 can be
+# installed in parallel. The downside of that is that depending
+# packages must check for and use swig2. Thus, the decision about
+# naming is open to being revisited.
+
+## Notes about pkgsrc-wide transition to swig2:
+
+# 2012-10: gnuradio is said to work with swig2 (private communication
+# by gdt@ with a GNU Radio developer). However, it doesn't find 'swig2'.
+
+# Keep the path from changing due to minor version bumps.
+CONFIGURE_ARGS+= --with-swiglibdir=${PREFIX}/share/swig/2.0 \
+ --program-suffix=2
+BUILD_TARGET= swig
+
+USE_TOOLS+= gmake pax
+GNU_CONFIGURE= YES
+USE_LANGUAGES= c c++
+USE_LIBTOOL= YES
+
+INSTALLATION_DIRS+= share/doc/swig/2.0 share/examples/swig/2.0
+
+CHECK_INTERPRETER_SKIP+= share/examples/swig/*
+
+# configure fails to generate this on NetBSD
+LDFLAGS+= -lpcre
+
+TEST_TARGET= check
+# Tests require lots of other dependencies. There should be a better
+# way to encode this, but for now they are commented out -gdt.
+#.include "../../lang/python/extension.mk"
+#.include "../../lang/php53/buildlink3.mk"
+#.include "../../devel/boost-libs/buildlink3.mk"
+
+post-install:
+ cd ${WRKSRC}/Doc/Manual && \
+ ${INSTALL_DATA} SWIGDocumentation.html SWIGDocumentation.pdf \
+ *.png ${DESTDIR}${PREFIX}/share/doc/swig/2.0
+ cd ${WRKSRC}/Examples && \
+ pax -wr \
+ -s ',.*CVS.*,,' \
+ -s ',.*Makefile\.in$$,,' \
+ -s ',^test-suite.*,,' \
+ . ${DESTDIR}${PREFIX}/share/examples/swig/2.0
+
+.include "../../devel/pcre/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 6bca15136cb3 -r ecdaf6631441 devel/swig2/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/swig2/PLIST Fri Nov 09 14:25:43 2012 +0000
@@ -0,0 +1,3816 @@
+@comment $NetBSD: PLIST,v 1.1 2012/11/09 14:25:44 gdt Exp $
+bin/ccache-swig2
+bin/swig2
+man/man1/ccache-swig2.1
+share/doc/swig/2.0/SWIGDocumentation.html
+share/doc/swig/2.0/SWIGDocumentation.pdf
+share/doc/swig/2.0/android-class.png
+share/doc/swig/2.0/android-simple.png
+share/doc/swig/2.0/ch2.1.png
+share/doc/swig/2.0/swig16.png
+share/examples/swig/2.0/Makefile
+share/examples/swig/2.0/README
+share/examples/swig/2.0/android/check.list
+share/examples/swig/2.0/android/class/AndroidManifest.xml
+share/examples/swig/2.0/android/class/Makefile
+share/examples/swig/2.0/android/class/ant.properties
+share/examples/swig/2.0/android/class/build.xml
+share/examples/swig/2.0/android/class/jni/Android.mk
+share/examples/swig/2.0/android/class/jni/example.cpp
+share/examples/swig/2.0/android/class/jni/example.h
+share/examples/swig/2.0/android/class/jni/example.i
+share/examples/swig/2.0/android/class/local.properties
+share/examples/swig/2.0/android/class/proguard.cfg
+share/examples/swig/2.0/android/class/project.properties
+share/examples/swig/2.0/android/class/res/layout/main.xml
+share/examples/swig/2.0/android/class/res/values/strings.xml
+share/examples/swig/2.0/android/class/src/org/swig/classexample/SwigClass.java
+share/examples/swig/2.0/android/simple/AndroidManifest.xml
+share/examples/swig/2.0/android/simple/Makefile
+share/examples/swig/2.0/android/simple/ant.properties
+share/examples/swig/2.0/android/simple/build.xml
+share/examples/swig/2.0/android/simple/jni/Android.mk
+share/examples/swig/2.0/android/simple/jni/example.c
+share/examples/swig/2.0/android/simple/jni/example.i
+share/examples/swig/2.0/android/simple/local.properties
+share/examples/swig/2.0/android/simple/proguard.cfg
+share/examples/swig/2.0/android/simple/project.properties
+share/examples/swig/2.0/android/simple/res/layout/main.xml
+share/examples/swig/2.0/android/simple/res/values/strings.xml
+share/examples/swig/2.0/android/simple/src/org/swig/simple/SwigSimple.java
+share/examples/swig/2.0/chicken/README
+share/examples/swig/2.0/chicken/check.list
+share/examples/swig/2.0/chicken/class/Makefile
+share/examples/swig/2.0/chicken/class/example.cxx
+share/examples/swig/2.0/chicken/class/example.h
+share/examples/swig/2.0/chicken/class/example.i
+share/examples/swig/2.0/chicken/class/test-lowlevel-class.scm
+share/examples/swig/2.0/chicken/class/test-tinyclos-class.scm
+share/examples/swig/2.0/chicken/constants/Makefile
+share/examples/swig/2.0/chicken/constants/example.i
+share/examples/swig/2.0/chicken/constants/test-constants.scm
+share/examples/swig/2.0/chicken/egg/Makefile
+share/examples/swig/2.0/chicken/egg/README
+share/examples/swig/2.0/chicken/egg/mod1.i
+share/examples/swig/2.0/chicken/egg/mod2.i
+share/examples/swig/2.0/chicken/egg/multi.setup
+share/examples/swig/2.0/chicken/egg/multi_init.scm
+share/examples/swig/2.0/chicken/egg/single.i
+share/examples/swig/2.0/chicken/egg/single.setup
+share/examples/swig/2.0/chicken/egg/test.scm
+share/examples/swig/2.0/chicken/multimap/Makefile
+share/examples/swig/2.0/chicken/multimap/example.c
+share/examples/swig/2.0/chicken/multimap/example.i
+share/examples/swig/2.0/chicken/multimap/test-multimap.scm
+share/examples/swig/2.0/chicken/overload/Makefile
+share/examples/swig/2.0/chicken/overload/README
+share/examples/swig/2.0/chicken/overload/example.cxx
+share/examples/swig/2.0/chicken/overload/example.h
+share/examples/swig/2.0/chicken/overload/example.i
+share/examples/swig/2.0/chicken/overload/test-overload.scm
+share/examples/swig/2.0/chicken/simple/Makefile
+share/examples/swig/2.0/chicken/simple/README
+share/examples/swig/2.0/chicken/simple/example.c
+share/examples/swig/2.0/chicken/simple/example.i
+share/examples/swig/2.0/chicken/simple/test-simple.scm
+share/examples/swig/2.0/contract/simple_c/example.c
+share/examples/swig/2.0/contract/simple_c/example.i
+share/examples/swig/2.0/contract/simple_c/runme1.py
+share/examples/swig/2.0/contract/simple_c/runme2.py
+share/examples/swig/2.0/contract/simple_cxx/example.cxx
+share/examples/swig/2.0/contract/simple_cxx/example.h
+share/examples/swig/2.0/contract/simple_cxx/example.i
+share/examples/swig/2.0/contract/simple_cxx/runme1.py
+share/examples/swig/2.0/contract/simple_cxx/runme2.py
+share/examples/swig/2.0/contract/simple_cxx/runme3.py
+share/examples/swig/2.0/csharp/arrays/Makefile
+share/examples/swig/2.0/csharp/arrays/example.c
+share/examples/swig/2.0/csharp/arrays/example.h
+share/examples/swig/2.0/csharp/arrays/example.i
+share/examples/swig/2.0/csharp/arrays/runme.cs
+share/examples/swig/2.0/csharp/callback/Makefile
+share/examples/swig/2.0/csharp/callback/example-cs.csproj
+share/examples/swig/2.0/csharp/callback/example-vc.vcproj
+share/examples/swig/2.0/csharp/callback/example.cxx
+share/examples/swig/2.0/csharp/callback/example.h
+share/examples/swig/2.0/csharp/callback/example.i
+share/examples/swig/2.0/csharp/callback/example.sln
+share/examples/swig/2.0/csharp/callback/runme.cs
+share/examples/swig/2.0/csharp/check.list
+share/examples/swig/2.0/csharp/class/Makefile
+share/examples/swig/2.0/csharp/class/example-cs.csproj
+share/examples/swig/2.0/csharp/class/example-vc.vcproj
+share/examples/swig/2.0/csharp/class/example.cxx
+share/examples/swig/2.0/csharp/class/example.h
+share/examples/swig/2.0/csharp/class/example.i
+share/examples/swig/2.0/csharp/class/example.sln
+share/examples/swig/2.0/csharp/class/runme.cs
+share/examples/swig/2.0/csharp/enum/Makefile
+share/examples/swig/2.0/csharp/enum/example-cs.csproj
+share/examples/swig/2.0/csharp/enum/example-vc.vcproj
+share/examples/swig/2.0/csharp/enum/example.cxx
+share/examples/swig/2.0/csharp/enum/example.h
+share/examples/swig/2.0/csharp/enum/example.i
+share/examples/swig/2.0/csharp/enum/example.sln
+share/examples/swig/2.0/csharp/enum/runme.cs
+share/examples/swig/2.0/csharp/extend/Makefile
+share/examples/swig/2.0/csharp/extend/example-cs.csproj
+share/examples/swig/2.0/csharp/extend/example-vc.vcproj
+share/examples/swig/2.0/csharp/extend/example.cxx
+share/examples/swig/2.0/csharp/extend/example.h
+share/examples/swig/2.0/csharp/extend/example.i
+share/examples/swig/2.0/csharp/extend/example.sln
+share/examples/swig/2.0/csharp/extend/runme.cs
+share/examples/swig/2.0/csharp/funcptr/Makefile
+share/examples/swig/2.0/csharp/funcptr/example-cs.csproj
+share/examples/swig/2.0/csharp/funcptr/example-vc.vcproj
+share/examples/swig/2.0/csharp/funcptr/example.c
+share/examples/swig/2.0/csharp/funcptr/example.h
+share/examples/swig/2.0/csharp/funcptr/example.i
+share/examples/swig/2.0/csharp/funcptr/example.sln
+share/examples/swig/2.0/csharp/funcptr/runme.cs
+share/examples/swig/2.0/csharp/reference/Makefile
+share/examples/swig/2.0/csharp/reference/example-cs.csproj
+share/examples/swig/2.0/csharp/reference/example-vc.vcproj
+share/examples/swig/2.0/csharp/reference/example.cxx
+share/examples/swig/2.0/csharp/reference/example.h
+share/examples/swig/2.0/csharp/reference/example.i
+share/examples/swig/2.0/csharp/reference/example.sln
+share/examples/swig/2.0/csharp/reference/runme.cs
+share/examples/swig/2.0/csharp/simple/Makefile
+share/examples/swig/2.0/csharp/simple/example-cs.csproj
+share/examples/swig/2.0/csharp/simple/example-vc.vcproj
+share/examples/swig/2.0/csharp/simple/example.c
+share/examples/swig/2.0/csharp/simple/example.i
+share/examples/swig/2.0/csharp/simple/example.sln
+share/examples/swig/2.0/csharp/simple/runme.cs
+share/examples/swig/2.0/csharp/template/Makefile
+share/examples/swig/2.0/csharp/template/example-cs.csproj
+share/examples/swig/2.0/csharp/template/example-vc.vcproj
+share/examples/swig/2.0/csharp/template/example.h
+share/examples/swig/2.0/csharp/template/example.i
+share/examples/swig/2.0/csharp/template/example.sln
+share/examples/swig/2.0/csharp/template/runme.cs
+share/examples/swig/2.0/csharp/variables/Makefile
+share/examples/swig/2.0/csharp/variables/example-cs.csproj
+share/examples/swig/2.0/csharp/variables/example-vc.vcproj
+share/examples/swig/2.0/csharp/variables/example.c
+share/examples/swig/2.0/csharp/variables/example.h
+share/examples/swig/2.0/csharp/variables/example.i
+share/examples/swig/2.0/csharp/variables/example.sln
+share/examples/swig/2.0/csharp/variables/runme.cs
+share/examples/swig/2.0/d/callback/Makefile
+share/examples/swig/2.0/d/callback/d1/runme.d
+share/examples/swig/2.0/d/callback/d2/runme.d
+share/examples/swig/2.0/d/callback/example.cxx
+share/examples/swig/2.0/d/callback/example.h
+share/examples/swig/2.0/d/callback/example.i
+share/examples/swig/2.0/d/check.list
+share/examples/swig/2.0/d/class/Makefile
+share/examples/swig/2.0/d/class/d1/runme.d
+share/examples/swig/2.0/d/class/d2/runme.d
+share/examples/swig/2.0/d/class/example.cxx
+share/examples/swig/2.0/d/class/example.h
+share/examples/swig/2.0/d/class/example.i
+share/examples/swig/2.0/d/constants/Makefile
+share/examples/swig/2.0/d/constants/d1/runme.d
+share/examples/swig/2.0/d/constants/d2/runme.d
+share/examples/swig/2.0/d/constants/example.d
+share/examples/swig/2.0/d/constants/example.i
+share/examples/swig/2.0/d/enum/Makefile
+share/examples/swig/2.0/d/enum/d1/runme.d
+share/examples/swig/2.0/d/enum/d2/runme.d
+share/examples/swig/2.0/d/enum/example.cxx
+share/examples/swig/2.0/d/enum/example.h
+share/examples/swig/2.0/d/enum/example.i
+share/examples/swig/2.0/d/extend/Makefile
+share/examples/swig/2.0/d/extend/d1/runme.d
+share/examples/swig/2.0/d/extend/d2/runme.d
+share/examples/swig/2.0/d/extend/example.cxx
+share/examples/swig/2.0/d/extend/example.h
+share/examples/swig/2.0/d/extend/example.i
+share/examples/swig/2.0/d/funcptr/Makefile
+share/examples/swig/2.0/d/funcptr/d1/runme.d
+share/examples/swig/2.0/d/funcptr/d2/runme.d
+share/examples/swig/2.0/d/funcptr/example.c
+share/examples/swig/2.0/d/funcptr/example.h
+share/examples/swig/2.0/d/funcptr/example.i
+share/examples/swig/2.0/d/simple/Makefile
+share/examples/swig/2.0/d/simple/d1/runme.d
+share/examples/swig/2.0/d/simple/d2/runme.d
+share/examples/swig/2.0/d/simple/example.c
+share/examples/swig/2.0/d/simple/example.i
+share/examples/swig/2.0/d/variables/Makefile
+share/examples/swig/2.0/d/variables/d1/runme.d
+share/examples/swig/2.0/d/variables/d2/runme.d
+share/examples/swig/2.0/d/variables/example.c
+share/examples/swig/2.0/d/variables/example.h
+share/examples/swig/2.0/d/variables/example.i
+share/examples/swig/2.0/go/callback/Makefile
+share/examples/swig/2.0/go/callback/example.cxx
+share/examples/swig/2.0/go/callback/example.h
+share/examples/swig/2.0/go/callback/example.i
+share/examples/swig/2.0/go/callback/index.html
Home |
Main Index |
Thread Index |
Old Index