devel/swig 4.2.1_1 MidnightBSD
Generate wrappers for calling C/C++ code from other languages
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Last update
- Commit
22173208f1- License
- gpl3
- Categories
- devel
Description
SWIG is a software development tool that connects programs written in C and C++ with a variety of high-level programming languages. SWIG is used with different types of target languages including common scripting languages such as Javascript, Perl, PHP, Python, Tcl and Ruby. The list of supported languages also includes non-scripting languages such as C#, Common Lisp (CLISP, Allegro CL, CFFI, UFFI), D, Go language, Java, Lua, Modula-3, OCAML, Octave and R. Also several interpreted and compiled Scheme implementations (Guile, MzScheme/Racket, Chicken) are supported. SWIG is most commonly used to create high-level interpreted or compiled programming environments, user interfaces, and as a tool for testing and prototyping C/C++ software. SWIG is typically used to parse C/C++ interfaces and generate the 'glue code' required for the above target languages to call into the C/C++ code. SWIG can also export its parse tree in the form of XML and Lisp s-expressions.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | devel/swig | 4.2.1_1 |
| FreeBSD | devel/swig | 4.4.1 |
| OpenBSD | devel/swig | 4.4.1 |
| NetBSD | devel/swig | 1.3.38nb4 |
| DragonFly | devel/swig | 4.2.1 |
| HardenedBSD | devel/swig | 4.4.1 |
| GhostBSD | devel/swig | 4.4.1 |
Install
Binary package:
mport install swig
From mports:
cd /usr/mports/devel/swig && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= swig>0:devel/swig
Dependencies
As this port's Makefile names them.
Library 1
libpcre2-8.so: devel/pcre2
Build dependencies 1
Run dependencies 1
Configuration
Options name: devel_swig
| Option | Default | Description |
|---|---|---|
| DOCS | off | |
| EXAMPLES | off |
- USES
- lua:build cpe
- Service scripts
- none
Files
pkg-plist 5921
- bin/ccache-swig
- bin/swig
- share/doc/swig/%%PORTVERSION%%/Devel/cmdopt.html
- share/doc/swig/%%PORTVERSION%%/Devel/engineering.html
- share/doc/swig/%%PORTVERSION%%/Devel/file.html
- share/doc/swig/%%PORTVERSION%%/Devel/index.html
- share/doc/swig/%%PORTVERSION%%/Devel/internals.html
- share/doc/swig/%%PORTVERSION%%/Devel/migrate.txt
- share/doc/swig/%%PORTVERSION%%/Devel/parm.html
- share/doc/swig/%%PORTVERSION%%/Devel/plan-gsoc-2012.txt
- share/doc/swig/%%PORTVERSION%%/Devel/runtime.txt
- share/doc/swig/%%PORTVERSION%%/Devel/scanner.html
- share/doc/swig/%%PORTVERSION%%/Devel/tree.html
- share/doc/swig/%%PORTVERSION%%/Devel/wrapobj.html
- share/doc/swig/%%PORTVERSION%%/Manual/Android.html
- share/doc/swig/%%PORTVERSION%%/Manual/Arguments.html
- share/doc/swig/%%PORTVERSION%%/Manual/CCache.html
- share/doc/swig/%%PORTVERSION%%/Manual/CPlusPlus11.html
- share/doc/swig/%%PORTVERSION%%/Manual/CPlusPlus14.html
- share/doc/swig/%%PORTVERSION%%/Manual/CPlusPlus17.html
- share/doc/swig/%%PORTVERSION%%/Manual/CPlusPlus20.html
- share/doc/swig/%%PORTVERSION%%/Manual/CSharp.html
- share/doc/swig/%%PORTVERSION%%/Manual/Contents.html
- share/doc/swig/%%PORTVERSION%%/Manual/Contract.html
- share/doc/swig/%%PORTVERSION%%/Manual/Customization.html
- share/doc/swig/%%PORTVERSION%%/Manual/D.html
- share/doc/swig/%%PORTVERSION%%/Manual/Doxygen.html
- share/doc/swig/%%PORTVERSION%%/Manual/Extending.html
- share/doc/swig/%%PORTVERSION%%/Manual/Go.html
- share/doc/swig/%%PORTVERSION%%/Manual/Guile.html
- share/doc/swig/%%PORTVERSION%%/Manual/Introduction.html
- share/doc/swig/%%PORTVERSION%%/Manual/Java.html
- share/doc/swig/%%PORTVERSION%%/Manual/Javascript.html
- share/doc/swig/%%PORTVERSION%%/Manual/Library.html
- share/doc/swig/%%PORTVERSION%%/Manual/Lua.html
- share/doc/swig/%%PORTVERSION%%/Manual/Makefile
- share/doc/swig/%%PORTVERSION%%/Manual/Modules.html
- share/doc/swig/%%PORTVERSION%%/Manual/Mzscheme.html
- share/doc/swig/%%PORTVERSION%%/Manual/Ocaml.html
- share/doc/swig/%%PORTVERSION%%/Manual/Octave.html
- share/doc/swig/%%PORTVERSION%%/Manual/Perl5.html
- share/doc/swig/%%PORTVERSION%%/Manual/Php.html
- share/doc/swig/%%PORTVERSION%%/Manual/Preface.html
- share/doc/swig/%%PORTVERSION%%/Manual/Preprocessor.html
- share/doc/swig/%%PORTVERSION%%/Manual/Python.html
- share/doc/swig/%%PORTVERSION%%/Manual/R.html
- share/doc/swig/%%PORTVERSION%%/Manual/README
- share/doc/swig/%%PORTVERSION%%/Manual/Ruby.html
- share/doc/swig/%%PORTVERSION%%/Manual/SWIG.html
- share/doc/swig/%%PORTVERSION%%/Manual/SWIGDocumentation.html
- share/doc/swig/%%PORTVERSION%%/Manual/SWIGDocumentation.pdf
- share/doc/swig/%%PORTVERSION%%/Manual/SWIGPlus.html
- share/doc/swig/%%PORTVERSION%%/Manual/Scilab.html
- share/doc/swig/%%PORTVERSION%%/Manual/Scripting.html
- share/doc/swig/%%PORTVERSION%%/Manual/Sections.html
- share/doc/swig/%%PORTVERSION%%/Manual/Tcl.html
- share/doc/swig/%%PORTVERSION%%/Manual/Typemaps.html
- share/doc/swig/%%PORTVERSION%%/Manual/Varargs.html
- share/doc/swig/%%PORTVERSION%%/Manual/Warnings.html
- share/doc/swig/%%PORTVERSION%%/Manual/Windows.html
- share/doc/swig/%%PORTVERSION%%/Manual/android-class.png
- share/doc/swig/%%PORTVERSION%%/Manual/android-simple.png
- share/doc/swig/%%PORTVERSION%%/Manual/ch2.1.png
- share/doc/swig/%%PORTVERSION%%/Manual/chapters
- share/doc/swig/%%PORTVERSION%%/Manual/fixstyle.py
- share/doc/swig/%%PORTVERSION%%/Manual/index.html
- share/doc/swig/%%PORTVERSION%%/Manual/linkchecker.config
- share/doc/swig/%%PORTVERSION%%/Manual/makechap.py
- share/doc/swig/%%PORTVERSION%%/Manual/maketoc.py
- share/doc/swig/%%PORTVERSION%%/Manual/style.css
- share/doc/swig/%%PORTVERSION%%/Manual/swig16.png
- share/doc/swig/%%PORTVERSION%%/Manual/swightml.book
- share/doc/swig/%%PORTVERSION%%/README
- share/examples/swig/%%PORTVERSION%%/Makefile
- share/examples/swig/%%PORTVERSION%%/Makefile.in
- share/examples/swig/%%PORTVERSION%%/README
- share/examples/swig/%%PORTVERSION%%/android/check.list
- share/examples/swig/%%PORTVERSION%%/android/class/AndroidManifest.xml
- share/examples/swig/%%PORTVERSION%%/android/class/Makefile
- share/examples/swig/%%PORTVERSION%%/android/class/ant.properties
- share/examples/swig/%%PORTVERSION%%/android/class/build.xml
- share/examples/swig/%%PORTVERSION%%/android/class/jni/Android.mk
- share/examples/swig/%%PORTVERSION%%/android/class/jni/example.cpp
- share/examples/swig/%%PORTVERSION%%/android/class/jni/example.h
- share/examples/swig/%%PORTVERSION%%/android/class/jni/example.i
- share/examples/swig/%%PORTVERSION%%/android/class/local.properties
- share/examples/swig/%%PORTVERSION%%/android/class/proguard.cfg
- share/examples/swig/%%PORTVERSION%%/android/class/project.properties
- share/examples/swig/%%PORTVERSION%%/android/class/res/layout/main.xml
- share/examples/swig/%%PORTVERSION%%/android/class/res/values/strings.xml
- share/examples/swig/%%PORTVERSION%%/android/class/src/org/swig/classexample/SwigClass.java
- share/examples/swig/%%PORTVERSION%%/android/extend/AndroidManifest.xml
- share/examples/swig/%%PORTVERSION%%/android/extend/Makefile
- share/examples/swig/%%PORTVERSION%%/android/extend/ant.properties
- share/examples/swig/%%PORTVERSION%%/android/extend/build.xml
- share/examples/swig/%%PORTVERSION%%/android/extend/jni/Android.mk
- share/examples/swig/%%PORTVERSION%%/android/extend/jni/Application.mk
- share/examples/swig/%%PORTVERSION%%/android/extend/jni/example.cpp
- share/examples/swig/%%PORTVERSION%%/android/extend/jni/example.h
- share/examples/swig/%%PORTVERSION%%/android/extend/jni/example.i
The first 100 are listed.
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| swig-4.2.1.tar.gz | 8.36405e+06 | fa045354e2d048b2cddc69579e4256245d4676894858fcf0bab2290ecf59b7d8 |
Master sites 1
- SF/swig/swig/swig-4.2.1