BSD Ports

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

SystemPortVersion
FreeBSDdevel/swig4.4.1
OpenBSDdevel/swig4.4.1
NetBSDdevel/swig1.3.38nb4
DragonFlydevel/swig4.2.1
MidnightBSDdevel/swig4.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest4.4.14.4.14.0.24.2.14.4.1
FreeBSD:14:quarterly4.4.14.4.1n/a4.2.14.4.1
FreeBSD:15:latest4.4.14.4.1n/a4.2.14.2.1
FreeBSD:15:quarterly4.4.14.4.1n/an/an/a
FreeBSD:16:latest4.4.14.4.1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Library 1

The full lists below include those, and their dependencies in turn.

Build dependencies 6
Run dependencies 1
Required by 142

The first 100 are listed.

Configuration

Options name: devel_swig

OptionDefaultDescription
DOCSoffBuild and/or install documentation
EXAMPLESoffBuild 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
FileSizeSHA256
swig-4.4.1.tar.gz8.658358e+0640162a706c56f7592d08fd52ef5511cb7ac191f3593cf07306a0a554c6281fcf
Master sites 1
  • SF/swig/swig/swig-4.4.1

Commit history 0

No commits in the history this site was built from.