diff options
author | asami <asami@FreeBSD.org> | 1995-08-24 09:43:47 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1995-08-24 09:43:47 +0800 |
commit | f0ffbdf9770d014cae1dd901d847cbad7dd529f3 (patch) | |
tree | 5c05a36a59333ec88f275e9bea530c6fd43515c2 /lang | |
parent | 7f2d533b4064ba8899779d5a9dc12211007dcae8 (diff) | |
download | freebsd-ports-gnome-f0ffbdf9770d014cae1dd901d847cbad7dd529f3.tar.gz freebsd-ports-gnome-f0ffbdf9770d014cae1dd901d847cbad7dd529f3.tar.zst freebsd-ports-gnome-f0ffbdf9770d014cae1dd901d847cbad7dd529f3.zip |
Phil Cockroft's basic interpreter. Thanks, Julian!
Submitted by: jhs
Diffstat (limited to 'lang')
-rw-r--r-- | lang/pbasic/Makefile | 33 | ||||
-rw-r--r-- | lang/pbasic/distinfo | 1 | ||||
-rw-r--r-- | lang/pbasic/files/patch-aa | 25 | ||||
-rw-r--r-- | lang/pbasic/pkg-comment | 1 | ||||
-rw-r--r-- | lang/pbasic/pkg-descr | 22 | ||||
-rw-r--r-- | lang/pbasic/pkg-plist | 2 |
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 |