summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/ficl/DESCR4
-rw-r--r--lang/ficl/Makefile46
-rw-r--r--lang/ficl/PLIST79
-rw-r--r--lang/ficl/distinfo5
4 files changed, 134 insertions, 0 deletions
diff --git a/lang/ficl/DESCR b/lang/ficl/DESCR
new file mode 100644
index 00000000000..ad3f34a20c4
--- /dev/null
+++ b/lang/ficl/DESCR
@@ -0,0 +1,4 @@
+Ficl is a complete programming language interpreter designed to be
+embedded into other systems (including firmware based ones) as
+a command, macro, and development prototype language.
+Ficl stands for "Forth Inspired Command Language".
diff --git a/lang/ficl/Makefile b/lang/ficl/Makefile
new file mode 100644
index 00000000000..300217098db
--- /dev/null
+++ b/lang/ficl/Makefile
@@ -0,0 +1,46 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/12/01 21:58:27 asau Exp $
+
+DISTNAME= ficl-4.1.0
+CATEGORIES= lang
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ficl/}
+
+MAINTAINER= asau@inbox.ru
+HOMEPAGE= http://ficl.sourceforge.net/
+COMMENT= Forth Inspired Command Language
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+BUILD_TARGET= ficl
+
+MAJOR= 4
+MINOR= 1.0
+BUILD_TARGET+= libficl.so.${MAJOR}.${MINOR}
+
+FICL_DIRS+= contrib contrib/xclasses
+FICL_DIRS+= doc doc/articles doc/graphics doc/source softcore test
+
+INSTALLATION_DIRS= bin share/ficl include include/ficlplatform lib
+INSTALLATION_DIRS+= ${FICL_DIRS:C/^/share\/ficl\//}
+do-install:
+# install interpreter:
+ ${INSTALL_PROGRAM} ${WRKSRC}/ficl ${DESTDIR}${PREFIX}/bin
+# install libraries:
+ ${INSTALL_LIB} ${WRKSRC}/libficl.a ${DESTDIR}${PREFIX}/lib
+ ${INSTALL_LIB} ${WRKSRC}/libficl.so.${MAJOR}.${MINOR} ${DESTDIR}${PREFIX}/lib
+ ${INSTALL_LIB} ${WRKSRC}/libficl.so ${DESTDIR}${PREFIX}/lib
+# install header files:
+ cd ${WRKSRC}; \
+ for f in ficl.h ficlcompatibility.h ficllocal.h ficltokens.h; do \
+ ${INSTALL_DATA} $$f ${DESTDIR}${PREFIX}/include; done
+ cd ${WRKSRC}/ficlplatform; \
+ for f in alpha.h ansi.h unix.h win32.h; do \
+ ${INSTALL_DATA} $$f ${DESTDIR}${PREFIX}/include/ficlplatform; done
+# install documentation and supplementary files:
+ cd ${WRKSRC}; \
+ for d in ${FICL_DIRS}; do \
+ for f in $$d/*; do \
+ if [ -f "$$f" ]; then \
+ ${INSTALL_DATA} $$f ${DESTDIR}${PREFIX}/share/ficl/$$d; \
+ fi; done; done
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/lang/ficl/PLIST b/lang/ficl/PLIST
new file mode 100644
index 00000000000..d49c7e80543
--- /dev/null
+++ b/lang/ficl/PLIST
@@ -0,0 +1,79 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/12/01 21:58:27 asau Exp $
+bin/ficl
+include/ficl.h
+include/ficlcompatibility.h
+include/ficllocal.h
+include/ficlplatform/alpha.h
+include/ficlplatform/ansi.h
+include/ficlplatform/unix.h
+include/ficlplatform/win32.h
+include/ficltokens.h
+lib/libficl.a
+lib/libficl.so
+lib/libficl.so.${PKGVERSION}
+share/ficl/contrib/xclasses/readme.txt
+share/ficl/contrib/xclasses/xclasses.py
+share/ficl/doc/api.html
+share/ficl/doc/articles/ficlddj.pdf
+share/ficl/doc/articles/jwsforml.pdf
+share/ficl/doc/articles/oo_in_c.html
+share/ficl/doc/articles/sigplan9906.doc
+share/ficl/doc/debugger.html
+share/ficl/doc/dpans.html
+share/ficl/doc/favicon.ico
+share/ficl/doc/ficl.html
+share/ficl/doc/graphics/4ring.gif
+share/ficl/doc/graphics/ficl.4.128.jpg
+share/ficl/doc/graphics/ficl.4.64.jpg
+share/ficl/doc/graphics/ficl.4.96.jpg
+share/ficl/doc/graphics/ficl_oop.jpg
+share/ficl/doc/graphics/ficl_top.jpg
+share/ficl/doc/graphics/sourceforge.jpg
+share/ficl/doc/index.html
+share/ficl/doc/license.html
+share/ficl/doc/links.html
+share/ficl/doc/locals.html
+share/ficl/doc/oop.html
+share/ficl/doc/parsesteps.html
+share/ficl/doc/releases.html
+share/ficl/doc/source/api.ht
+share/ficl/doc/source/debugger.ht
+share/ficl/doc/source/dpans.ht
+share/ficl/doc/source/ficl.ht
+share/ficl/doc/source/generate.py
+share/ficl/doc/source/index.ht
+share/ficl/doc/source/license.ht
+share/ficl/doc/source/links.ht
+share/ficl/doc/source/locals.ht
+share/ficl/doc/source/oop.ht
+share/ficl/doc/source/parsesteps.ht
+share/ficl/doc/source/releases.ht
+share/ficl/doc/source/upgrading.ht
+share/ficl/doc/upgrading.html
+share/ficl/softcore/classes.fr
+share/ficl/softcore/ficl.fr
+share/ficl/softcore/ficlclass.fr
+share/ficl/softcore/ficllocal.fr
+share/ficl/softcore/fileaccess.fr
+share/ficl/softcore/forml.fr
+share/ficl/softcore/ifbrack.fr
+share/ficl/softcore/jhlocal.fr
+share/ficl/softcore/make.bat
+share/ficl/softcore/makefile
+share/ficl/softcore/makesoftcore.c
+share/ficl/softcore/marker.fr
+share/ficl/softcore/oo.fr
+share/ficl/softcore/prefix.fr
+share/ficl/softcore/softcore.fr
+share/ficl/softcore/string.fr
+share/ficl/softcore/win32.fr
+share/ficl/test/asm68k.4th
+share/ficl/test/core.fr
+share/ficl/test/fib.fr
+share/ficl/test/ficltest.fr
+share/ficl/test/ooptest.fr
+share/ficl/test/prefix.fr
+share/ficl/test/sarray.fr
+share/ficl/test/testcase.fr
+share/ficl/test/tester.fr
+share/ficl/test/vocab.fr
diff --git a/lang/ficl/distinfo b/lang/ficl/distinfo
new file mode 100644
index 00000000000..7a5c3189c7d
--- /dev/null
+++ b/lang/ficl/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/12/01 21:58:27 asau Exp $
+
+SHA1 (ficl-4.1.0.tar.gz) = 19bd14bcd0fd499958849180082ca253fefc02e2
+RMD160 (ficl-4.1.0.tar.gz) = 742ce10df29866028d7d1f5dbd23cdd0fd7fd1fe
+Size (ficl-4.1.0.tar.gz) = 538807 bytes