BSD Ports

devel/swig40 4.0.2 GhostBSD

Generate wrappers for calling C/C++ code from other languages

System
GhostBSD
Repository
GhostBSD
Maintainer
[email protected] (as in FreeBSD)
License
GPLv3+
Categories
devel
Package size
1060.0 KiB, 4553.7 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

The newest version among them is 4.0.2, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
GhostBSDdevel/swig404.0.2 newestnone known-[email protected]-
DragonFlydevel/swig404.0.2 newestnone known-[email protected]-

Install

Binary package:

pkg install swig40

Dependencies

Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

Outdated. Use devel/swig instead.

It is scheduled to be removed on or after 2026-06-30.