summaryrefslogtreecommitdiff
path: root/lang/pbasic
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1995-08-24 01:43:47 +0000
committerSatoshi Asami <asami@FreeBSD.org>1995-08-24 01:43:47 +0000
commitacd1bd01055598144b8bc14750f0f6082b65b9b6 (patch)
treeac6c79a04d7558ab1f90788ccccf4a1f43b4229d /lang/pbasic
parentBring in a port of Mosaic. This can only be built by people with Motif, (diff)
Phil Cockroft's basic interpreter. Thanks, Julian!
Submitted by: jhs
Notes
Notes: svn path=/head/; revision=2103
Diffstat (limited to 'lang/pbasic')
-rw-r--r--lang/pbasic/Makefile33
-rw-r--r--lang/pbasic/distinfo1
-rw-r--r--lang/pbasic/files/patch-aa25
-rw-r--r--lang/pbasic/pkg-comment1
-rw-r--r--lang/pbasic/pkg-descr22
-rw-r--r--lang/pbasic/pkg-plist2
6 files changed, 84 insertions, 0 deletions
diff --git a/lang/pbasic/Makefile b/lang/pbasic/Makefile
new file mode 100644
index 000000000000..3fbd725f62b0
--- /dev/null
+++ b/lang/pbasic/Makefile
@@ -0,0 +1,33 @@
+# ports collection makefile for: pbasic
+# Version required: 2.0-950813
+# Date created: 13th August 1995
+# Whom: Julian Stacey <jhs@freebsd.org>
+#
+# $Id$
+#
+
+DISTNAME= pbasic-2.0-950813
+PKGNAME= pbasic-2.0
+CATEGORIES+= languages
+KEYWORDS+= basic interpreter
+MASTER_SITES= ftp://freefall.freebsd.org/pub/FreeBSD/LOCAL_PORTS/
+
+MAINTAINER= asami@FreeBSD.ORG
+# Ask jhs@freebsd.org if you want newer sources or author's latest e-mail
+# (which is currently "phil@gmrs.isar.de" but changes a lot)
+
+ALL_TARGET= freebsd
+MAKEFILE= makefile
+
+do-configure:
+ -cd ${WRKSRC} ; rm -rf termio m68000 msdos vax pyramid ns32000 \
+ pdp11 cursor/cursor.dos cursor/cursor.ukc
+
+do-install:
+ install -c -s -m 775 ${WRKSRC}/basic ${PREFIX}/bin/pbasic
+ install -c -m 644 ${WRKSRC}/docs/basic.1 ${PREFIX}/man/man1/pbasic.1
+.if !defined(NOMANCOMPRESS)
+ gzip -9nf ${PREFIX}/man/man1/pbasic.1
+.endif
+
+.include <bsd.port.mk>
diff --git a/lang/pbasic/distinfo b/lang/pbasic/distinfo
new file mode 100644
index 000000000000..dd9c21bc90a4
--- /dev/null
+++ b/lang/pbasic/distinfo
@@ -0,0 +1 @@
+MD5 (pbasic-2.0-950813.tar.gz) = 7f66af9314727e30c8513e9a98f94e26
diff --git a/lang/pbasic/files/patch-aa b/lang/pbasic/files/patch-aa
new file mode 100644
index 000000000000..d350cd45b6cf
--- /dev/null
+++ b/lang/pbasic/files/patch-aa
@@ -0,0 +1,25 @@
+This patch by Julian Stacey <jhs@FreeBSD.Org>
+
+*** bas6.c Fri Aug 11 12:17:21 1995
+--- bas6.c Sun Aug 13 15:53:25 1995
+***************
+*** 162,168 ****
+--- 162,179 ----
+ * written at the same time
+ */
+
++ #ifndef __FreeBSD__
+ long lseek();
++ /* To phil C phil@gmrs.isar.de
++ From Julian S jhs@freebsd.org
++ Date 950813
++ FreeBSD current has
++ off_t lseek __P((int, off_t, int));
++ & reports
++ /usr/include/unistd.h:82: previous declaration of `lseek'
++ however you might want a more general ifndef BSD or similar perhaps ?
++ */
++ #endif
+
+ int
+ bfopen()
diff --git a/lang/pbasic/pkg-comment b/lang/pbasic/pkg-comment
new file mode 100644
index 000000000000..1ea9647a034b
--- /dev/null
+++ b/lang/pbasic/pkg-comment
@@ -0,0 +1 @@
+pbasic - Phil Cokcroft's Basic Interpreter V2.0 (previously Rabbit Basic)
diff --git a/lang/pbasic/pkg-descr b/lang/pbasic/pkg-descr
new file mode 100644
index 000000000000..db3640459ef0
--- /dev/null
+++ b/lang/pbasic/pkg-descr
@@ -0,0 +1,22 @@
+This is v2.0 of a Basic Interpreter by Phil J. A. Cockcroft
+earlier versions used to be known as Rabbit Basic.
+
+According to an earlier lisencing document:
+
+===
+This code is being put in the Public Domain since I will soon loose
+network connectivity (I am leaving my job) and I don't particularly want
+to sell it. This system does not contain any proprietary software. All
+the algorithms are original or come from publicly available sources.
+
+There are no licensing restrictions on this code or documentation at
+all. I only ask that you give appropriate credit to the author.
+===
+
+So, there you have it. :)
+
+Satoshi
+asami@freebsd.org
+
+This program was ported to FreeBSD by Julian Stacey (jhs@freebsd.org).
+See README.JHS for more comments from him.
diff --git a/lang/pbasic/pkg-plist b/lang/pbasic/pkg-plist
new file mode 100644
index 000000000000..4e71caf26262
--- /dev/null
+++ b/lang/pbasic/pkg-plist
@@ -0,0 +1,2 @@
+bin/pbasic
+man/man1/pbasic.1.gz