git: 5b1f2cff0ed1 - main - Add devel/fungw: C Function gateway for different programming languages

From: Li-Wen Hsu <lwhsu_at_FreeBSD.org>
Date: Sun, 05 Jun 2022 15:13:43 UTC
The branch main has been updated by lwhsu:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5b1f2cff0ed195b4a215b78c2f58b6ff21c5f4ac

commit 5b1f2cff0ed195b4a215b78c2f58b6ff21c5f4ac
Author:     Robert Clausecker <fuz@fuz.su>
AuthorDate: 2022-06-05 15:11:27 +0000
Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2022-06-05 15:11:27 +0000

    Add devel/fungw: C Function gateway for different programming languages
    
    PR:             263819
---
 devel/Makefile                                     |   1 +
 devel/fungw/Makefile                               |  47 ++++++++++
 devel/fungw/distinfo                               |   3 +
 devel/fungw/files/patch-Makefile                   |  64 +++++++++++++
 devel/fungw/files/patch-doc_Makefile.in            |  18 ++++
 devel/fungw/files/patch-libfungw_Makefile.in       |  25 ++++++
 devel/fungw/files/patch-libfungwbind_Makefile.in   |  20 +++++
 devel/fungw/files/patch-libfungwbind_Plugin.tmpasm |  25 ++++++
 devel/fungw/files/patch-regression_Makefile.in     |  11 +++
 .../patch-scconfig_src_scripts_find__duktape.c     |  11 +++
 .../files/patch-scconfig_src_scripts_find__lua.c   |  11 +++
 .../patch-scconfig_src_scripts_find__python.c      |  19 ++++
 devel/fungw/files/patch-src__3rd_genht_Makefile    |  38 ++++++++
 devel/fungw/pkg-descr                              |  22 +++++
 devel/fungw/pkg-plist                              | 100 +++++++++++++++++++++
 15 files changed, 415 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 14f7e59e5e4c..48c1ecdcb908 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -761,6 +761,7 @@
     SUBDIR += ftnchek
     SUBDIR += fuel
     SUBDIR += functionalplus
+    SUBDIR += fungw
     SUBDIR += fuzzylite
     SUBDIR += fxdiv
     SUBDIR += g-wrap
diff --git a/devel/fungw/Makefile b/devel/fungw/Makefile
new file mode 100644
index 000000000000..78490cf65028
--- /dev/null
+++ b/devel/fungw/Makefile
@@ -0,0 +1,47 @@
+PORTNAME=	fungw
+DISTVERSION=	1.2.1
+CATEGORIES=	devel
+MASTER_SITES=	http://www.repo.hu/projects/fungw/releases/
+
+MAINTAINER=	fuz@fuz.su
+COMMENT=	C Function gateway for different programming languages
+
+LICENSE=	LGPL21+
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+USES=		gmake tar:bz2
+USE_LDCONFIG=	yes
+HAS_CONFIGURE=	yes
+MAKE_ARGS+=	PREFIX=${PREFIX}
+BINARY_ALIAS=	python=${PYTHON_CMD:Ufalse}
+
+# unported extensions: estutter funlisp mawk mruby mujs picol python(2)
+OPTIONS_DEFINE=	DOCS DUKTAPE LUA PERL PYTHON3 TCL
+OPTIONS_DEFAULT=	DUKTAPE LUA PERL PYTHON3 TCL
+OPTIONS_SUB=	DUKTAPE LUA PERL PYTHON3 TCL
+
+DUKTAPE_DESC=	Javascript support through Duktape
+
+DUKTAPE_LIB_DEPENDS=	libduktape.so:lang/duktape-lib
+LUA_USES=	lua:51
+PERL_USES=	perl5
+PYTHON3_USES=	python
+TCL_USES=	tcl
+
+pre-configure-DUKTAPE-on:
+	${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},g' \
+	    ${WRKSRC}/scconfig/src/scripts/find_duktape.c
+
+pre-configure-LUA-on:
+	${REINPLACE_CMD} \
+	    -e 's,%%LUA_INCDIR%%,${LUA_INCDIR},' \
+	    -e 's,%%LUA_LIBDIR%%,${LUA_LIBDIR},' \
+	    -e 's,%%LUA_VER%%,${LUA_VER},' \
+	    ${WRKSRC}/scconfig/src/scripts/find_lua.c
+
+# install the genht component
+post-install:
+	(cd ${WRKSRC}/src_3rd/genht && ${SETENV} ${MAKE_ENV} \
+	    ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install)
+
+.include <bsd.port.mk>
diff --git a/devel/fungw/distinfo b/devel/fungw/distinfo
new file mode 100644
index 000000000000..edaba115316d
--- /dev/null
+++ b/devel/fungw/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1651841856
+SHA256 (fungw-1.2.1.tar.bz2) = f2599959a6b96957015b181629cc5035370f929d1ee08dec6447c3eb622fc925
+SIZE (fungw-1.2.1.tar.bz2) = 336633
diff --git a/devel/fungw/files/patch-Makefile b/devel/fungw/files/patch-Makefile
new file mode 100644
index 000000000000..5d377df31c93
--- /dev/null
+++ b/devel/fungw/files/patch-Makefile
@@ -0,0 +1,64 @@
+--- Makefile.orig	2021-04-04 05:53:11 UTC
++++ Makefile
+@@ -1,36 +1,37 @@
+ all:
+-	cd libfungw && make all
+-	cd libfungwbind && make all
+-	cd regression && make all
+-	cd doc && make all
++	cd libfungw && $(MAKE) all
++	cd libfungwbind && $(MAKE) all
++	cd regression && $(MAKE) all
++	cd doc && $(MAKE) all
++	cd src_3rd/genht && $(MAKE) all
+ 
+ clean:
+-	cd libfungw && make clean
+-	cd libfungwbind && make clean
+-	cd regression && make clean
+-	cd doc && make clean
+-	-cd src_3rd/genht && make clean
++	cd libfungw && $(MAKE) clean
++	cd libfungwbind && $(MAKE) clean
++	cd regression && $(MAKE) clean
++	cd doc && $(MAKE) clean
++	-cd src_3rd/genht && $(MAKE) clean
+ 
+ distclean:
+-	cd regression && make distclean
+-	cd libfungw && make distclean
+-	cd libfungwbind && make distclean
+-	cd doc && make distclean
+-	cd scconfig && make distclean
+-	-cd src_3rd/genht && make clean
++	cd regression && $(MAKE) distclean
++	cd libfungw && $(MAKE) distclean
++	cd libfungwbind && $(MAKE) distclean
++	cd doc && $(MAKE) distclean
++	cd scconfig && $(MAKE) distclean
++	-cd src_3rd/genht && $(MAKE) clean
+ 
+ install:
+-	cd libfungw && make install
+-	cd libfungwbind && make install
+-	cd doc && make install
++	cd libfungw && $(MAKE) install
++	cd libfungwbind && $(MAKE) install
++	cd doc && $(MAKE) install
+ 
+ 
+ linstall:
+-	cd libfungw && make linstall
+-	cd libfungwbind && make linstall
+-	cd doc && make linstall
++	cd libfungw && $(MAKE) linstall
++	cd libfungwbind && $(MAKE) linstall
++	cd doc && $(MAKE) linstall
+ 
+ uninstall:
+-	cd libfungw && make uninstall
+-	cd libfungwbind && make uninstall
+-	cd doc && make uninstall
++	cd libfungw && $(MAKE) uninstall
++	cd libfungwbind && $(MAKE) uninstall
++	cd doc && $(MAKE) uninstall
diff --git a/devel/fungw/files/patch-doc_Makefile.in b/devel/fungw/files/patch-doc_Makefile.in
new file mode 100644
index 000000000000..08981ba8884a
--- /dev/null
+++ b/devel/fungw/files/patch-doc_Makefile.in
@@ -0,0 +1,18 @@
+--- doc/Makefile.in.orig	2022-05-06 13:43:13 UTC
++++ doc/Makefile.in
+@@ -32,12 +32,12 @@ install_:
+ 	$(INST) -d $(DOCS) $(DOCDIR)
+ 
+ install:
+-	make install_ "INST=$(SCCBOX) install -i" "MKDR=$(SCCBOX) mkdir -p -i"
++	$(MAKE) install_ "INST=$(SCCBOX) install -i" "MKDR=$(SCCBOX) mkdir -p -i"
+ 
+ linstall:
+-	make install_ "INST=$(SCCBOX) install -l -f -a" "MKDR=$(SCCBOX) mkdir -p -i"
++	$(MAKE) install_ "INST=$(SCCBOX) install -l -f -a" "MKDR=$(SCCBOX) mkdir -p -i"
+ 
+ uninstall:
+-	make install_ "INST=$(SCCBOX) install -u -f" "MKDR=$(SCCBOX) mkdir -u"
++	$(MAKE) install_ "INST=$(SCCBOX) install -u -f" "MKDR=$(SCCBOX) mkdir -u"
+ 
+ ~]
diff --git a/devel/fungw/files/patch-libfungw_Makefile.in b/devel/fungw/files/patch-libfungw_Makefile.in
new file mode 100644
index 000000000000..5c93c7288505
--- /dev/null
+++ b/devel/fungw/files/patch-libfungw_Makefile.in
@@ -0,0 +1,25 @@
+--- libfungw/Makefile.in.orig	2022-05-06 13:42:01 UTC
++++ libfungw/Makefile.in
+@@ -96,16 +96,16 @@ install_link_:
+ 	$(SCCBOX) $(HOW) $(FUNGW_DYN_VER_XYZ) $(LIBDIR)/$(FUNGW_DYN_VER_XY)
+ 
+ install:
+-	make install_ "INST=$(SCCBOX) install -i" "MKDR=$(SCCBOX) mkdir -p -i"
+-	make install_link_ "HOW=ln -f"
++	$(MAKE) install_ "INST=$(SCCBOX) install -i" "MKDR=$(SCCBOX) mkdir -p -i"
++	$(MAKE) install_link_ "HOW=ln -f"
+ 
+ linstall:
+-	make install_ "INST=$(SCCBOX) install -l -f -a" "MKDR=$(SCCBOX) mkdir -p -i"
+-	make install_link_ "HOW=ln -f"
++	$(MAKE) install_ "INST=$(SCCBOX) install -l -f -a" "MKDR=$(SCCBOX) mkdir -p -i"
++	$(MAKE) install_link_ "HOW=ln -f"
+ 
+ uninstall:
+-	make install_link_ "HOW=install -u"
+-	make install_ "INST=$(SCCBOX) install -u -f" "MKDR=$(SCCBOX) mkdir -u"
++	$(MAKE) install_link_ "HOW=install -u"
++	$(MAKE) install_ "INST=$(SCCBOX) install -u -f" "MKDR=$(SCCBOX) mkdir -u"
+ 
+ dep:
+ 	echo "### Generated file, do not edit, run make dep ###" > Makefile.dep
diff --git a/devel/fungw/files/patch-libfungwbind_Makefile.in b/devel/fungw/files/patch-libfungwbind_Makefile.in
new file mode 100644
index 000000000000..918811c12e42
--- /dev/null
+++ b/devel/fungw/files/patch-libfungwbind_Makefile.in
@@ -0,0 +1,20 @@
+--- libfungwbind/Makefile.in.orig	2022-05-06 13:42:28 UTC
++++ libfungwbind/Makefile.in
+@@ -2,7 +2,7 @@ print {# Generated by ./configure - DO NOT EDIT\n\n}
+ foreach /local/fungw/task in {all clean install linstall uninstall}
+ 	print [~~/local/fungw/task~:~] {\n}
+ 	foreach /local/fungw/n in /local/fungw/bindings_all
+-		print	[~	cd ~/local/fungw/n~ && make ~/local/fungw/task~~] {\n}
++		print	[~	cd ~/local/fungw/n~ && $(MAKE) ~/local/fungw/task~~] {\n}
+ 	end
+ 	print {\n}
+ end
+@@ -10,7 +10,7 @@ end
+ 
+ print {distclean:\n}
+ foreach /local/fungw/n in /local/fungw/bindings_all
+-	print	[~	cd ~/local/fungw/n~ && make distclean~] {\n}
++	print	[~	cd ~/local/fungw/n~ && $(MAKE) distclean~] {\n}
+ end
+ print {	rm libfungwbind.mak Makefile\n}
+ 
diff --git a/devel/fungw/files/patch-libfungwbind_Plugin.tmpasm b/devel/fungw/files/patch-libfungwbind_Plugin.tmpasm
new file mode 100644
index 000000000000..4bda3e843509
--- /dev/null
+++ b/devel/fungw/files/patch-libfungwbind_Plugin.tmpasm
@@ -0,0 +1,25 @@
+--- libfungwbind/Plugin.tmpasm.orig	2022-05-06 14:46:15 UTC
++++ libfungwbind/Plugin.tmpasm
+@@ -99,16 +99,16 @@ install_link: $(LIBA) $(LIBSO)
+ 	$(SCCBOX) install $(IOP) --relative $(LIBDIR)/lib$(LIBSO_XYZ) $(LIBDIR)/lib$(LIBSO_X)
+ 
+ install:
+-	make install_ IOP="-i"
+-	make install_link IOP="-l"
++	$(MAKE) install_ IOP="-i"
++	$(MAKE) install_link IOP="-l"
+ 
+ linstall:
+-	make install_ IOP="-l"
+-	make install_link IOP="-l"
++	$(MAKE) install_ IOP="-l"
++	$(MAKE) install_link IOP="-l"
+ 
+ uninstall:
+-	make install_link IOP="-u"
+-	make install_ IOP="-u"
++	$(MAKE) install_link IOP="-u"
++	$(MAKE) install_ IOP="-u"
+ ~]
+ 
+ redir /local/fungw/mod_mak
diff --git a/devel/fungw/files/patch-regression_Makefile.in b/devel/fungw/files/patch-regression_Makefile.in
new file mode 100644
index 000000000000..f133afc79fde
--- /dev/null
+++ b/devel/fungw/files/patch-regression_Makefile.in
@@ -0,0 +1,11 @@
+--- regression/Makefile.in.orig	2022-05-06 13:43:42 UTC
++++ regression/Makefile.in
+@@ -24,7 +24,7 @@ test_script: test_script.o hello.o $(LIB_FGW) $(ENGINE
+ multicall: multicall.o $(LIB_FGW) $(ENGINES) $(LIBS)
+ 
+ ../src_3rd/genht/genht_std.a:
+-	cd ../src_3rd/genht && make genht_std.a
++	cd ../src_3rd/genht && $(MAKE) genht_std.a
+ 
+ test.o: test.c
+ 
diff --git a/devel/fungw/files/patch-scconfig_src_scripts_find__duktape.c b/devel/fungw/files/patch-scconfig_src_scripts_find__duktape.c
new file mode 100644
index 000000000000..2ed12424c898
--- /dev/null
+++ b/devel/fungw/files/patch-scconfig_src_scripts_find__duktape.c
@@ -0,0 +1,11 @@
+--- scconfig/src/scripts/find_duktape.c.orig	2022-05-06 14:34:12 UTC
++++ scconfig/src/scripts/find_duktape.c
+@@ -44,7 +44,7 @@ int find_script_duktape(const char *name, int logdepth
+ 	logdepth++;
+ 
+ 	/* Look at the standard place */
+-	if (try_icl(logdepth, "libs/script/duktape", test_c, NULL, NULL, "-lduktape -lm")) return 0;
++	if (try_icl(logdepth, "libs/script/duktape", test_c, NULL, "-I%%LOCALBASE%%/include", "-L%%LOCALBASE%%/lib -lduktape -lm")) return 0;
+ 
+ 	return try_fail(logdepth, "libs/script/duktape");
+ }
diff --git a/devel/fungw/files/patch-scconfig_src_scripts_find__lua.c b/devel/fungw/files/patch-scconfig_src_scripts_find__lua.c
new file mode 100644
index 000000000000..7c1bc5f6c943
--- /dev/null
+++ b/devel/fungw/files/patch-scconfig_src_scripts_find__lua.c
@@ -0,0 +1,11 @@
+--- scconfig/src/scripts/find_lua.c.orig	2022-05-06 14:29:08 UTC
++++ scconfig/src/scripts/find_lua.c
+@@ -48,7 +48,7 @@ int find_script_lua(const char *name, int logdepth, in
+ 
+ 	/* Look at some standard places */
+ 	/* TODO: do we need -ldl? */
+-	if (try_icl(logdepth, "libs/script/lua", test_c, NULL, NULL, "-llua -llualib -lm")) return 0;
++	if (try_icl(logdepth, "libs/script/lua", test_c, NULL, "-I%%LUA_INCDIR%%", "-L%%LUA_LIBDIR%% -llua-%%LUA_VER%%")) return 0;
+ 
+ 	/* lualib doesn't exist in lua 5.1.1 */
+ 	if (try_icl(logdepth, "libs/script/lua", test_c, NULL, NULL, "-llua -lm")) return 0;
diff --git a/devel/fungw/files/patch-scconfig_src_scripts_find__python.c b/devel/fungw/files/patch-scconfig_src_scripts_find__python.c
new file mode 100644
index 000000000000..64f3c5c27dd3
--- /dev/null
+++ b/devel/fungw/files/patch-scconfig_src_scripts_find__python.c
@@ -0,0 +1,19 @@
+--- scconfig/src/scripts/find_python.c.orig	2019-01-09 06:46:09 UTC
++++ scconfig/src/scripts/find_python.c
+@@ -43,13 +43,13 @@ static int find_script_python_(const char *name, int l
+ 
+ 	char *inc_py =
+ 		NL "import distutils.sysconfig;"
+-		NL "print '-I' + distutils.sysconfig.get_python_inc().replace('\\\\','/')"
++		NL "print ('-I' + distutils.sysconfig.get_python_inc().replace('\\\\','/'))"
+ 		NL;
+ 	char *lib_py =
+ 		NL "import distutils.sysconfig;"
+-		NL "print '-L' + distutils.sysconfig.PREFIX.replace('\\\\','/') + '/libs',;"
++		NL "print ('-L' + distutils.sysconfig.PREFIX.replace('\\\\','/') + '/lib')"
+ 		NL "import sys;"
+-		NL "print '-lpython' + str(sys.version_info[0]) + str(sys.version_info[1])"
++		NL "print ('-lpython' + str(sys.version_info[0]) + '.' + str(sys.version_info[1]))"
+ 		NL;
+ 
+ 
diff --git a/devel/fungw/files/patch-src__3rd_genht_Makefile b/devel/fungw/files/patch-src__3rd_genht_Makefile
new file mode 100644
index 000000000000..216e8b27145b
--- /dev/null
+++ b/devel/fungw/files/patch-src__3rd_genht_Makefile
@@ -0,0 +1,38 @@
+--- src_3rd/genht/Makefile.orig	2021-07-19 16:13:28 UTC
++++ src_3rd/genht/Makefile
+@@ -17,6 +17,7 @@ BIN=mainsi
+ OBJS=htss.o htsp.o htsi.o htip.o htpp.o htpi.o hash.o siphash24.o
+ LIBSO=libgenht.so.$(VER)
+ LIBSO1=libgenht.so.$(VER_MAJOR)
++LIBSO2=libgenht.so
+ LIBA=libgenht.a
+ 
+ all: version.h $(BIN) $(OBJS) $(LIBA) $(LIBSO)
+@@ -34,7 +35,7 @@ mainsi: mainsi.o htsi.o
+ 	$(CC) -o $@ mainsi.o htsi.o $(LDFLAGS)
+ 
+ $(LIBSO): $(OBJS)
+-	$(CC) $(LDFLAGS) -shared -dynamic -rdynamic -o $@ $(OBJS)
++	$(CC) $(LDFLAGS) -shared -dynamic -rdynamic -Wl,-soname,$(LIBSO1) -o $@ $(OBJS)
+ 
+ $(LIBA): $(OBJS)
+ 	ar rvu $@ $(OBJS)
+@@ -78,14 +79,16 @@ uninstall:
+ 	rm $(LIBDIR)/$(LIBSO) $(LIBDIR)/$(LIBA) $(LIBDIR)/$(LIBSO1)
+ 
+ install:
+-	make install_ CP="cp"
++	$(MAKE) install_ CP="cp"
+ 	-@rm $(LIBDIR)/$(LIBSO1) 2>/dev/null
+ 	ln -s $(LIBSO) $(LIBDIR)/$(LIBSO1)
++	ln -s $(LIBSO1) $(LIBDIR)/$(LIBSO2)
+ 
+ linstall:
+-	make install_ CP="ln -s"
++	$(MAKE) install_ CP="ln -s"
+ 	-@rm $(LIBDIR)/$(LIBSO1) 2>/dev/null
+ 	ln -s $(LIBSO) $(LIBDIR)/$(LIBSO1)
++	ln -s $(LIBSO1) $(LIBDIR)/$(LIBSO2)
+ 
+ test: mainsi
+ 	@./mainsi > mainsi.out
diff --git a/devel/fungw/pkg-descr b/devel/fungw/pkg-descr
new file mode 100644
index 000000000000..058d7f749d51
--- /dev/null
+++ b/devel/fungw/pkg-descr
@@ -0,0 +1,22 @@
+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.
+
+WWW: http://repo.hu/projects/fungw/
diff --git a/devel/fungw/pkg-plist b/devel/fungw/pkg-plist
new file mode 100644
index 000000000000..154ac1487f19
--- /dev/null
+++ b/devel/fungw/pkg-plist
@@ -0,0 +1,100 @@
+include/genht/hash.h
+include/genht/ht.c
+include/genht/ht.h
+include/genht/ht_inlines.h
+include/genht/ht_utils.h
+include/genht/htip.h
+include/genht/htpi.h
+include/genht/htpp.h
+include/genht/htsi.h
+include/genht/htsp.h
+include/genht/htss.h
+include/genht/siphash24.h
+include/genht/version.h
+include/libfungw/fungw.h
+include/libfungw/fungw_conv.h
+include/libfungw/scconfig_hooks.h
+lib/libfungw.so
+lib/libfungw.so.1
+lib/libfungw.so.1.2
+lib/libfungw.so.1.2.1
+lib/libfungw_c.a
+lib/libfungw_c.so.1
+lib/libfungw_c.so.1.2
+lib/libfungw_c.so.1.2.1
+lib/libfungw_cli.a
+lib/libfungw_cli.so.1
+lib/libfungw_cli.so.1.2
+lib/libfungw_cli.so.1.2.1
+%%DUKTAPE%%lib/libfungw_duktape.a
+%%DUKTAPE%%lib/libfungw_duktape.so.1
+%%DUKTAPE%%lib/libfungw_duktape.so.1.2
+%%DUKTAPE%%lib/libfungw_duktape.so.1.2.1
+lib/libfungw_fawk.a
+lib/libfungw_fawk.so.1
+lib/libfungw_fawk.so.1.2
+lib/libfungw_fawk.so.1.2.1
+%%LUA%%lib/libfungw_lua.a
+%%LUA%%lib/libfungw_lua.so.1
+%%LUA%%lib/libfungw_lua.so.1.2
+%%LUA%%lib/libfungw_lua.so.1.2.1
+%%PERL%%lib/libfungw_perl.a
+%%PERL%%lib/libfungw_perl.so.1
+%%PERL%%lib/libfungw_perl.so.1.2
+%%PERL%%lib/libfungw_perl.so.1.2.1
+%%PYTHON3%%lib/libfungw_python3.a
+%%PYTHON3%%lib/libfungw_python3.so.1
+%%PYTHON3%%lib/libfungw_python3.so.1.2
+%%PYTHON3%%lib/libfungw_python3.so.1.2.1
+%%TCL%%lib/libfungw_tcl.a
+%%TCL%%lib/libfungw_tcl.so.1
+%%TCL%%lib/libfungw_tcl.so.1.2
+%%TCL%%lib/libfungw_tcl.so.1.2.1
+lib/libgenht.a
+lib/libgenht.so
+lib/libgenht.so.1
+lib/libgenht.so.1.1.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
+%%DUKTAPE%%lib/puplug/fungw_duktape.a
+%%DUKTAPE%%lib/puplug/fungw_duktape.mak
+%%DUKTAPE%%lib/puplug/fungw_duktape.pup
+%%DUKTAPE%%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
+%%LUA%%lib/puplug/fungw_lua.a
+%%LUA%%lib/puplug/fungw_lua.mak
+%%LUA%%lib/puplug/fungw_lua.pup
+%%LUA%%lib/puplug/fungw_lua.so
+%%PERL%%lib/puplug/fungw_perl.a
+%%PERL%%lib/puplug/fungw_perl.mak
+%%PERL%%lib/puplug/fungw_perl.pup
+%%PERL%%lib/puplug/fungw_perl.so
+%%PYTHON3%%lib/puplug/fungw_python3.a
+%%PYTHON3%%lib/puplug/fungw_python3.mak
+%%PYTHON3%%lib/puplug/fungw_python3.pup
+%%PYTHON3%%lib/puplug/fungw_python3.so
+%%TCL%%lib/puplug/fungw_tcl.a
+%%TCL%%lib/puplug/fungw_tcl.mak
+%%TCL%%lib/puplug/fungw_tcl.pup
+%%TCL%%lib/puplug/fungw_tcl.so
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+%%PORTDOCS%%%%DOCSDIR%%/custom_types.txt
+%%PORTDOCS%%%%DOCSDIR%%/index.html
+%%PORTDOCS%%%%DOCSDIR%%/lang.html
+%%PORTDOCS%%%%DOCSDIR%%/lang_estutter.html
+%%PORTDOCS%%%%DOCSDIR%%/lang_funlisp.html
+%%PORTDOCS%%%%DOCSDIR%%/lang_howto_support.html
+%%PORTDOCS%%%%DOCSDIR%%/lang_lua.html
+%%PORTDOCS%%%%DOCSDIR%%/lang_perl.html
+%%PORTDOCS%%%%DOCSDIR%%/lang_python.html
+%%PORTDOCS%%%%DOCSDIR%%/lang_sh.html
+%%PORTDOCS%%%%DOCSDIR%%/model.html