devel/fungw 1.2.2 FreeBSD
C Function gateway for different programming languages
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- LGPL21+
- Categories
- devel
- Package size
- 282.5 KiB, 1501.8 KiB installed
Description
Fungw is a tiny, portable library written in C (C89) that manages dynamic function calls across different programming languages. For this, fungw provides:
- a simplistic scalar data type abstraction, supporting the most common types
- semi-automatic conversion between data types
- contexts that can host objects; objects can host named functions
- a set of optional language bindings to the most popular scripting languages
The main use of fungw is to provide the host application a framework where dynamic parts of the code (e.g. plugins) can register their calls, allowing app-plugin, plugin-app, and plugin-plugin calls.
The second main use is doing all this in a language-agnostic way: any part of the code can be implemented in any of the numerous supported scripting languages (such as awk or lua). The caller of a function doesn't need to know what language the function is implemented in.
The main property of fungw is simplicity. The only API between objects is the plain old function call mechanism.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/fungw | 1.2.2 |
| DragonFly | devel/fungw | 1.2.1_2 |
| MidnightBSD | devel/fungw | 1.2.2 |
| HardenedBSD | devel/fungw | 1.2.2 |
| GhostBSD | devel/fungw | 1.2.2 |
Install
Binary package:
pkg install fungw
From the ports tree:
cd /usr/ports/devel/fungw/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= fungw>0:devel/fungw
LIB_DEPENDS= libfungw.so:devel/fungw
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 | 1.2.2 | 1.2.2 | 1.2.1_1 | - | 1.2.2 |
| FreeBSD:14:quarterly | 1.2.2 | 1.2.2 | n/a | 1.2.1_2 | 1.2.2 |
| FreeBSD:15:latest | 1.2.2 | 1.2.2 | n/a | - | - |
| FreeBSD:15:quarterly | 1.2.2 | 1.2.2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.2.2 | 1.2.2 | 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
libgenht.so: devel/genht
The full lists below include those, and their dependencies in turn.
Build dependencies 18
Run dependencies 13
Required by 4
Configuration
Options name: devel_fungw
| Option | Default | Description |
|---|---|---|
| DOCS | off | Build and/or install documentation |
| DUKTAPE | on | Javascript support through Duktape |
| LUA | on | Lua scripting language support |
| PERL | on | Perl scripting language support |
| PYTHON3 | on | Python 3.x bindings or support |
| TCL | on | Tcl scripting language support |
- USES
- gmake tar:bz2
- Service scripts
- none
Files
pkg-plist 85
- include/libfungw/fungw.h
- include/libfungw/fungw_conv.h
- include/libfungw/scconfig_hooks.h
- include/libfungwbind/c/fungw_c.h
- lib/libfungw.so
- lib/libfungw.so.1
- lib/libfungw.so.1.2
- lib/libfungw.so.1.2.2
- lib/libfungw_c.a
- lib/libfungw_c.so
- lib/libfungw_c.so.1
- lib/libfungw_c.so.1.2
- lib/libfungw_c.so.1.2.2
- lib/libfungw_cli.a
- lib/libfungw_cli.so.1
- lib/libfungw_cli.so.1.2
- lib/libfungw_cli.so.1.2.2
- lib/libfungw_duktape.a
- lib/libfungw_duktape.so.1
- lib/libfungw_duktape.so.1.2
- lib/libfungw_duktape.so.1.2.2
- lib/libfungw_fawk.a
- lib/libfungw_fawk.so.1
- lib/libfungw_fawk.so.1.2
- lib/libfungw_fawk.so.1.2.2
- lib/libfungw_lua.a
- lib/libfungw_lua.so.1
- lib/libfungw_lua.so.1.2
- lib/libfungw_lua.so.1.2.2
- lib/libfungw_perl.a
- lib/libfungw_perl.so.1
- lib/libfungw_perl.so.1.2
- lib/libfungw_perl.so.1.2.2
- lib/libfungw_python3.a
- lib/libfungw_python3.so.1
- lib/libfungw_python3.so.1.2
- lib/libfungw_python3.so.1.2.2
- lib/libfungw_tcl.a
- lib/libfungw_tcl.so.1
- lib/libfungw_tcl.so.1.2
- lib/libfungw_tcl.so.1.2.2
- lib/puplug/fungw_c.a
- lib/puplug/fungw_c.mak
- lib/puplug/fungw_c.pup
- lib/puplug/fungw_c.so
- lib/puplug/fungw_cli.a
- lib/puplug/fungw_cli.mak
- lib/puplug/fungw_cli.pup
- lib/puplug/fungw_cli.so
- lib/puplug/fungw_duktape.a
- lib/puplug/fungw_duktape.mak
- lib/puplug/fungw_duktape.pup
- lib/puplug/fungw_duktape.so
- lib/puplug/fungw_fawk.a
- lib/puplug/fungw_fawk.mak
- lib/puplug/fungw_fawk.pup
- lib/puplug/fungw_fawk.so
- lib/puplug/fungw_lua.a
- lib/puplug/fungw_lua.mak
- lib/puplug/fungw_lua.pup
- lib/puplug/fungw_lua.so
- lib/puplug/fungw_perl.a
- lib/puplug/fungw_perl.mak
- lib/puplug/fungw_perl.pup
- lib/puplug/fungw_perl.so
- lib/puplug/fungw_python3.a
- lib/puplug/fungw_python3.mak
- lib/puplug/fungw_python3.pup
- lib/puplug/fungw_python3.so
- lib/puplug/fungw_tcl.a
- lib/puplug/fungw_tcl.mak
- lib/puplug/fungw_tcl.pup
- lib/puplug/fungw_tcl.so
- share/doc/fungw/TODO
- share/doc/fungw/custom_types.txt
- share/doc/fungw/index.html
- share/doc/fungw/lang.html
- share/doc/fungw/lang_estutter.html
- share/doc/fungw/lang_funlisp.html
- share/doc/fungw/lang_howto_support.html
- share/doc/fungw/lang_lua.html
- share/doc/fungw/lang_perl.html
- share/doc/fungw/lang_python.html
- share/doc/fungw/lang_sh.html
- share/doc/fungw/model.html
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| fungw-1.2.2.tar.bz2 | 339839 | c7bdfa65c1dc3f7448eeb8bb0c32e85b3579f4006373e40c92bc65199117a1c0 |
Master sites 1
- http://www.repo.hu/projects/fungw/releases/
Commit history 0
No commits in the history this site was built from.