summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorwiz <wiz>2000-03-11 06:01:55 +0000
committerwiz <wiz>2000-03-11 06:01:55 +0000
commit8ab794f0c28abd5a37f8ee4fb91f9c6025a97d5c (patch)
tree1b8e31052cecf567ad3100d4f4aaab45fd876889 /lang
parent963db55cccefe50c01170dbef862e564afacc48a (diff)
downloadpkgsrc-8ab794f0c28abd5a37f8ee4fb91f9c6025a97d5c.tar.gz
Initial import of the original SIL (SNOBOL4 Implementation Language)
"macro" version of SNOBOL4 (developed at Bell Labs) with the `C' language as a target. Requested in pkg/9074.
Diffstat (limited to 'lang')
-rw-r--r--lang/snobol/Makefile26
-rw-r--r--lang/snobol/files/md53
-rw-r--r--lang/snobol/files/patch-sum4
-rw-r--r--lang/snobol/patches/patch-aa12
-rw-r--r--lang/snobol/patches/patch-ab21
-rw-r--r--lang/snobol/pkg/COMMENT1
-rw-r--r--lang/snobol/pkg/DESCR11
-rw-r--r--lang/snobol/pkg/PLIST9
8 files changed, 87 insertions, 0 deletions
diff --git a/lang/snobol/Makefile b/lang/snobol/Makefile
new file mode 100644
index 00000000000..a63ebb6fde0
--- /dev/null
+++ b/lang/snobol/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/03/11 06:01:55 wiz Exp $
+#
+
+DISTNAME= snobol-0.99.4
+CATEGORIES= lang
+MASTER_SITES= ftp://ftp.snobol4.com/ \
+ ftp://alpha.gnu.org/budne/snobol/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://people.ne.mediaone.net/philbudne/snobol.html
+
+ALL_TARGET= it
+
+USE_CONFIGURE= NO
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/xsnobol4 ${PREFIX}/bin/snobol4
+ ${INSTALL_MAN} ${WRKSRC}/doc/snobol4.1 ${PREFIX}/man/man1
+ ${INSTALL_DATA_DIR} ${PREFIX}/lib/snobol4
+ cd ${WRKSRC} && ${INSTALL_DATA} snolib.a snolib/bq.sno \
+ ${PREFIX}/lib/snobol4
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/snobol4
+ cd ${WRKSRC}/doc && ${INSTALL_DATA} load.doc design.doc \
+ ${PREFIX}/share/doc/snobol4
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/lang/snobol/files/md5 b/lang/snobol/files/md5
new file mode 100644
index 00000000000..c1941d58bbe
--- /dev/null
+++ b/lang/snobol/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/03/11 06:01:56 wiz Exp $
+
+MD5 (snobol-0.99.4.tar.gz) = 187e141405e4dd4a2da681090cbf396a
diff --git a/lang/snobol/files/patch-sum b/lang/snobol/files/patch-sum
new file mode 100644
index 00000000000..5ad27cc946a
--- /dev/null
+++ b/lang/snobol/files/patch-sum
@@ -0,0 +1,4 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/03/11 06:01:56 wiz Exp $
+
+MD5 (patch-aa) = 6c648332547d1f5e4ab64e2eb097a20f
+MD5 (patch-ab) = 459f65cc92144cf49c1df36fcf3bc18f
diff --git a/lang/snobol/patches/patch-aa b/lang/snobol/patches/patch-aa
new file mode 100644
index 00000000000..06971db1560
--- /dev/null
+++ b/lang/snobol/patches/patch-aa
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/03/11 06:01:56 wiz Exp $
+
+--- ./configure.orig Fri Jul 18 23:43:30 1997
++++ ./configure Sat Mar 11 03:56:00 2000
+@@ -1,6 +1,6 @@
+ #!/bin/sh
+
+-if autoconf "$@" > config.m4.tmp; then
++if ./autoconf "$@" > config.m4.tmp; then
+ rm -f config.m4
+ mv config.m4.tmp config.m4
+ else
diff --git a/lang/snobol/patches/patch-ab b/lang/snobol/patches/patch-ab
new file mode 100644
index 00000000000..0008bddc98b
--- /dev/null
+++ b/lang/snobol/patches/patch-ab
@@ -0,0 +1,21 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/03/11 06:01:56 wiz Exp $
+
+--- ./Makefile2.m4.orig Thu Aug 7 07:34:47 1997
++++ ./Makefile2.m4 Sat Mar 11 04:24:21 2000
+@@ -48,13 +48,13 @@
+ SNOLIB_FILE=snolib.a
+
+ # directory name for default SNOLIB (used by -INCLUDE and LOAD())
+-SNOLIB_DIR=/usr/local/lib/snobol4
++SNOLIB_DIR=${PREFIX}/lib/snobol4
+
+ # default name for installed binary
+-BINDEST=/usr/local/bin/snobol4
++BINDEST=${PREFIX}/bin/snobol4
+
+ # default name for installed man page
+-MANDEST=/usr/local/man/man1/snobol4.1
++MANDEST=${PREFIX}/man/man1/snobol4.1
+
+ ########
+ # default lib source files
diff --git a/lang/snobol/pkg/COMMENT b/lang/snobol/pkg/COMMENT
new file mode 100644
index 00000000000..033d99c1b3e
--- /dev/null
+++ b/lang/snobol/pkg/COMMENT
@@ -0,0 +1 @@
+Macro implementation of SNOBOL4 in C
diff --git a/lang/snobol/pkg/DESCR b/lang/snobol/pkg/DESCR
new file mode 100644
index 00000000000..7377388a81c
--- /dev/null
+++ b/lang/snobol/pkg/DESCR
@@ -0,0 +1,11 @@
+This is a free port of the original SIL (SNOBOL4 Implementation
+Language) "macro" version of SNOBOL4 (developed at Bell Labs) with the
+`C' language as a target.
+
+SNOBOL4, while known primarily as a string language excels at any task
+involving symbolic manipulations. It provides run time typing,
+garbage collection, user data types, on the fly compilation. It's
+primary weakness is it's simple syntax, and lack of "structured
+programming" constructs. However some consider the spareness of
+SNOBOL4 syntax a strength when compared to some "modern"
+agglomerations such as perl.
diff --git a/lang/snobol/pkg/PLIST b/lang/snobol/pkg/PLIST
new file mode 100644
index 00000000000..3f3354ef597
--- /dev/null
+++ b/lang/snobol/pkg/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/03/11 06:01:55 wiz Exp $
+bin/snobol4
+man/man1/snobol4.1
+lib/snobol4/snolib.a
+lib/snobol4/bq.sno
+share/doc/snobol4/load.doc
+share/doc/snobol4/design.doc
+@dirrm lib/snobol4
+@dirrm share/doc/snobol4