summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2003-09-11 17:15:02 +0000
committerdrochner <drochner@pkgsrc.org>2003-09-11 17:15:02 +0000
commit20948b4849009a8f1210abaef5f6950ed4edb562 (patch)
treeaa941aa171e2405d351b7067c52eb051f9d866b4 /lang
parent03d9ccea8473b9d0015e6826b9889792e03a7b88 (diff)
downloadpkgsrc-20948b4849009a8f1210abaef5f6950ed4edb562.tar.gz
import a portable FOCAL clone -- FOCAL is an interpreted programming
language (not unlike BASIC) which was developped by DEC for the PDP-8, and later popular also on PDP-11 under RT-11
Diffstat (limited to 'lang')
-rw-r--r--lang/focal/DESCR2
-rw-r--r--lang/focal/Makefile24
-rw-r--r--lang/focal/PLIST6
-rw-r--r--lang/focal/distinfo5
-rw-r--r--lang/focal/patches/patch-aa20
5 files changed, 57 insertions, 0 deletions
diff --git a/lang/focal/DESCR b/lang/focal/DESCR
new file mode 100644
index 00000000000..e435cf01d0d
--- /dev/null
+++ b/lang/focal/DESCR
@@ -0,0 +1,2 @@
+FOCAL (FOrmula CALculator) is an interpreted programming language developped
+by DEC (Rick Merrill) for the PDP-8 in 1969.
diff --git a/lang/focal/Makefile b/lang/focal/Makefile
new file mode 100644
index 00000000000..8d1b80681de
--- /dev/null
+++ b/lang/focal/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/09/11 17:15:02 drochner Exp $
+#
+
+DISTNAME= focal
+PKGNAME= focal81-0
+CATEGORIES= lang
+MASTER_SITES= http://home.tiscali.be/be042720/44/
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://home.tiscali.be/be042720/44/focal.htm
+COMMENT= Interpreted programming language
+
+USE_BUILDLINK2= yes
+
+FOCALDOCDIR= ${PREFIX}/share/doc/focal
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/focal ${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${FOCALDOCDIR}
+ for i in focal.doc queens.foc sieve.foc; do \
+ ${INSTALL_DATA} ${WRKSRC}/$$i ${FOCALDOCDIR}; \
+ done
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/lang/focal/PLIST b/lang/focal/PLIST
new file mode 100644
index 00000000000..d44cbe0b5c9
--- /dev/null
+++ b/lang/focal/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/09/11 17:15:02 drochner Exp $
+bin/focal
+share/doc/focal/focal.doc
+share/doc/focal/queens.foc
+share/doc/focal/sieve.foc
+@dirrm share/doc/focal
diff --git a/lang/focal/distinfo b/lang/focal/distinfo
new file mode 100644
index 00000000000..7cf860e7f81
--- /dev/null
+++ b/lang/focal/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/09/11 17:15:02 drochner Exp $
+
+SHA1 (focal.tar.gz) = 704d1411365085fb47ff25c1a77ae1f8e7fa601e
+Size (focal.tar.gz) = 12561 bytes
+SHA1 (patch-aa) = f37f7271b0a7fe508bee1bf1630229096efb21d0
diff --git a/lang/focal/patches/patch-aa b/lang/focal/patches/patch-aa
new file mode 100644
index 00000000000..4c1182a1c02
--- /dev/null
+++ b/lang/focal/patches/patch-aa
@@ -0,0 +1,20 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/09/11 17:15:02 drochner Exp $
+
+--- focal0.c.orig 1995-04-17 15:03:43.000000000 +0200
++++ focal0.c
+@@ -13,6 +13,7 @@
+ $(ATOD) = 1
+ $(DTOA) = 1
+ */
++/*
+ #ifdef DOCUMENTATION
+
+ title focal Ancient Interpretive Language
+@@ -35,6 +36,7 @@ author
+ Dave Conroy
+
+ #endif
++*/
+
+ #include "focal.h"
+ #ifdef vms