devel/swig 4.4.1 FreeBSD
Generate wrappers for calling C/C++ code from other languages
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- GPLv3+
- Categories
- devel
- Package size
- 6255.1 KiB, 21439.4 KiB installed
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 |
|---|---|---|
| FreeBSD | devel/swig | 4.4.1 |
| OpenBSD | devel/swig | 4.4.1 |
| NetBSD | devel/swig | 1.3.38nb4 |
| DragonFly | devel/swig | 4.2.1 |
| MidnightBSD | devel/swig | 4.2.1_1 |
Install
Binary package:
pkg install swig
From the ports tree:
cd /usr/ports/devel/swig/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= swig>0:devel/swig
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 4.4.1 | 4.4.1 | 4.0.2 | 4.2.1 | 4.4.1 |
| FreeBSD:14:quarterly | 4.4.1 | 4.4.1 | n/a | 4.2.1 | 4.4.1 |
| FreeBSD:15:latest | 4.4.1 | 4.4.1 | n/a | 4.2.1 | 4.2.1 |
| FreeBSD:15:quarterly | 4.4.1 | 4.4.1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 4.4.1 | 4.4.1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Library 1
libpcre2-8.so: devel/pcre2
The full lists below include those, and their dependencies in turn.
Build dependencies 6
Run dependencies 1
Required by 142
- audio/csound
- biology/libsbml
- biology/py-libnuml
- biology/py-libsedml
- biology/py-python-libsbml
- biology/viennarna
- cad/freecad
- cad/freecad-devel
- cad/ifcopenshell
- cad/kicad
- cad/kicad-devel
- cad/openroad
- cad/py-gmsh
- cad/pythonocc-core
- cad/surelog
- comms/gr-osmosdr
- comms/hamlib
- converters/p5-Text-Bidi
- databases/rubygem-sqlite3-ruby
- devel/libdistance
- devel/libftdi
- devel/libftdi1
- devel/llvm-devel
- devel/llvm19
- devel/llvm20
- devel/llvm21
- devel/llvm22
- devel/llvm23
- devel/py-swig
- dns/py-ldns
- finance/gnucash
- games/jvgs
- games/py-fife
- graphics/hugin
- graphics/mypaint
- graphics/partio
- graphics/php-geos
- graphics/py-box2d-py
- graphics/py-pivy
- graphics/py-s2
- irc/znc
- math/cvc5
- math/nlopt
- math/ntpoly
- math/openturns
- math/py-faiss
- math/py-nlopt
- math/py-or-tools
- math/py-pygsl
- math/py-pyrfr
- math/py-scikit-umfpack
- math/saga
- misc/hashdb
- misc/py-SoapySDR
- misc/py-ezc3d
- multimedia/kodi
- multimedia/libcec
- multimedia/libopenshot
- multimedia/obs-studio
- print/py-PyMuPDF
- science/fastjet
- science/meep
- science/opensim-core
- science/py-openbabel
- science/py-rmf
- science/py-tensorflow
- science/salome-kernel
- science/trilinos
- security/py-gpg
- security/py-m2crypto
- security/py-pyscard
- security/yubioath-desktop
- security/zeek
- sysutils/libdnf
- sysutils/u-boot-a13-olinuxino
- sysutils/u-boot-a64-olinuxino
- sysutils/u-boot-bananapi
- sysutils/u-boot-bananapi-r2-pro
- sysutils/u-boot-bananapim2
- sysutils/u-boot-beaglebone
- sysutils/u-boot-bhyve-arm64
- sysutils/u-boot-bhyve-riscv
- sysutils/u-boot-chip
- sysutils/u-boot-clearfog
- sysutils/u-boot-cubieboard
- sysutils/u-boot-cubieboard2
- sysutils/u-boot-cubox-hummingboard
- sysutils/u-boot-firefly-rk3399
- sysutils/u-boot-master
- sysutils/u-boot-nanopi-a64
- sysutils/u-boot-nanopi-m1plus
- sysutils/u-boot-nanopi-neo
- sysutils/u-boot-nanopi-neo-air
- sysutils/u-boot-nanopi-neo2
- sysutils/u-boot-nanopi-r2s
- sysutils/u-boot-nanopi-r4s
- sysutils/u-boot-nanopi-r5s
- sysutils/u-boot-nanopi-r6s
- sysutils/u-boot-olimex-a20-som-evb
- sysutils/u-boot-olinuxino-lime
The first 100 are listed.
Configuration
Options name: devel_swig
| Option | Default | Description |
|---|---|---|
| DOCS | off | Build and/or install documentation |
| EXAMPLES | off | Build and/or install examples |
- USES
- cpe gmake lua:build
- Service scripts
- none
Files
pkg-plist 6046
- 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/C.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/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.4.1.tar.gz | 8.658358e+06 | 40162a706c56f7592d08fd52ef5511cb7ac191f3593cf07306a0a554c6281fcf |
Master sites 1
- SF/swig/swig/swig-4.4.1
Commit history 0
No commits in the history this site was built from.