Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

17
lang/bwbasic/DESCR Normal file
View File

@@ -0,0 +1,17 @@
The Bywater BASIC Interpreter (bwBASIC) implements a large superset
of the ANSI Standard for Minimal BASIC (X3.60-1978) and a significant
subset of the ANSI Standard for Full BASIC (X3.113-1987) in C. It also
offers shell programming facilities as an extension of BASIC. bwBASIC
seeks to be as portable as possible.
Originally written by Ted A. Campbell, and released under the GPL. It
was posted to comp.sources.misc, volume 40. It was hosted for a while at
ftp.eng.umd.edu.
Patched by Jon B. Volkoff.
Version 2.20 was released 25 November 1995
Patch 1: 15 March 1996
Patch 2: 11 October 1997
Patch 2 includes new files for UNIX ncurses interface, compliments of
L.C. Benschop, Eindhoven, The Netherlands.

26
lang/bwbasic/Makefile Normal file
View File

@@ -0,0 +1,26 @@
# $NetBSD: Makefile,v 1.16 2012/10/02 20:11:36 asau Exp $
DISTNAME= bwbasic-2.50
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=bwbasic/}
EXTRACT_SUFX= .zip
MAINTAINER= jspath@bcpl.net
HOMEPAGE= http://sourceforge.net/projects/bwbasic/
COMMENT= The Bywater Basic interpreter
LICENSE= gnu-gpl-v2
WRKSRC= ${WRKDIR}
GNU_CONFIGURE= yes
SHARE_DIR= ${PREFIX}/share/bwbasic
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${SHARE_DIR}
post-install:
${CP} -r ${WRKSRC}/bwbtest ${DESTDIR}${SHARE_DIR}
${FIND} ${DESTDIR}${SHARE_DIR} -type d -print | ${XARGS} ${CHMOD} ${BINMODE}
${FIND} ${DESTDIR}${SHARE_DIR} -type f -print | ${XARGS} ${CHMOD} ${SHAREMODE}
${INSTALL_MAN} ${WRKSRC}/bwbasic.doc ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/bwbasic.1
.include "../../mk/bsd.pkg.mk"

45
lang/bwbasic/PLIST Normal file
View File

@@ -0,0 +1,45 @@
@comment $NetBSD: PLIST,v 1.3 2009/06/14 18:03:28 joerg Exp $
bin/bwbasic
man/man1/bwbasic.1
share/bwbasic/bwbtest/abs.bas
share/bwbasic/bwbtest/assign.bas
share/bwbasic/bwbtest/callfunc.bas
share/bwbasic/bwbtest/callsub.bas
share/bwbasic/bwbtest/chain1.bas
share/bwbasic/bwbtest/chain2.bas
share/bwbasic/bwbtest/dataread.bas
share/bwbasic/bwbtest/deffn.bas
share/bwbasic/bwbtest/dim.bas
share/bwbasic/bwbtest/doloop.bas
share/bwbasic/bwbtest/dowhile.bas
share/bwbasic/bwbtest/elseif.bas
share/bwbasic/bwbtest/end.bas
share/bwbasic/bwbtest/err.bas
share/bwbasic/bwbtest/fncallfn.bas
share/bwbasic/bwbtest/fornext.bas
share/bwbasic/bwbtest/function.bas
share/bwbasic/bwbtest/gosub.bas
share/bwbasic/bwbtest/gotolabl.bas
share/bwbasic/bwbtest/ifline.bas
share/bwbasic/bwbtest/index.txt
share/bwbasic/bwbtest/input.bas
share/bwbasic/bwbtest/lof.bas
share/bwbasic/bwbtest/loopuntl.bas
share/bwbasic/bwbtest/main.bas
share/bwbasic/bwbtest/mlifthen.bas
share/bwbasic/bwbtest/on.bas
share/bwbasic/bwbtest/onerr.bas
share/bwbasic/bwbtest/onerrlbl.bas
share/bwbasic/bwbtest/ongosub.bas
share/bwbasic/bwbtest/opentest.bas
share/bwbasic/bwbtest/option.bas
share/bwbasic/bwbtest/pascaltr.bas
share/bwbasic/bwbtest/putget.bas
share/bwbasic/bwbtest/random.bas
share/bwbasic/bwbtest/selcase.bas
share/bwbasic/bwbtest/snglfunc.bas
share/bwbasic/bwbtest/stop.bas
share/bwbasic/bwbtest/term.bas
share/bwbasic/bwbtest/whilwend.bas
share/bwbasic/bwbtest/width.bas
share/bwbasic/bwbtest/writeinp.bas

8
lang/bwbasic/distinfo Normal file
View File

@@ -0,0 +1,8 @@
$NetBSD: distinfo,v 1.10 2012/01/15 15:29:31 ryoon Exp $
SHA1 (bwbasic-2.50.zip) = 6e8e8af9fa791bff791534d429092b4904609424
RMD160 (bwbasic-2.50.zip) = bccc94eb3dcbf903fc1535cda67353f7c372d520
Size (bwbasic-2.50.zip) = 209629 bytes
SHA1 (patch-aa) = ca4a5d62dc7aebfcace1df368cdc6ffbaa2c60da
SHA1 (patch-ac) = 99156f6cd267196af2c3ba62ca7e668ebfd38a24
SHA1 (patch-bwbasic.h) = 52b19a328791da3b53832ca16cc17ff453558048

View File

@@ -0,0 +1,27 @@
$NetBSD: patch-aa,v 1.4 2012/01/15 15:29:31 ryoon Exp $
--- Makefile.in.orig 2009-06-04 12:50:16.000000000 +0000
+++ Makefile.in
@@ -16,9 +16,10 @@ INSTALL_DATA = @INSTALL_DATA@
DEFS = @DEFS@
-# Revised by JBV
-#CFLAGS = -O
-CFLAGS = -g -ansi
+# Re-revised by MJS
+CFLAGS ?= -O
+CFLAGS += -ansi
+#CFLAGS = -g -ansi
# Revised by JBV
#LDFLAGS = -s
@@ -75,7 +76,7 @@ $(OFILES): $(HFILES)
$(CC) -c $(CPPFLAGS) -I$(srcdir) $(DEFS) $(CFLAGS) $<
install: all
- $(INSTALL_PROGRAM) bwbasic $(bindir)/bwbasic
+ $(INSTALL_PROGRAM) bwbasic ${DESTDIR}$(bindir)/bwbasic
uninstall:
rm -f $(bindir)/bwbasic

View File

@@ -0,0 +1,118 @@
$NetBSD: patch-ac,v 1.3 2012/01/15 15:29:31 ryoon Exp $
--- bwbasic.doc.orig 2006-10-24 05:40:18.000000000 +0000
+++ bwbasic.doc
@@ -1,33 +1,10 @@
-
-
-
-
- Bywater BASIC Interpreter/Shell, version 2.10
- ---------------------------------------------
-
- Copyright (c) 1993, Ted A. Campbell
- for bwBASIC version 2.10, 11 October 1993
-
-
-CONTENTS:
-
- 1. DESCRIPTION
- 2. TERMS OF USE
- 3. QUICK REFERENCE LIST OF COMMANDS AND FUNCTIONS
- 4. GENERAL NOTES ON USAGE
- 5. EXPANDED REFERENCE FOR COMMANDS AND FUNCTIONS
- 6. PREDEFINED VARIABLES
- 7. UNIMPLEMENTED COMMANDS AND FUNCTIONS
- and AGENDA FOR DEVELOPMENT
- 8. THE STORY OF BYWATER BASIC
- 9. COMMUNICATIONS
-
- The author wishes to express his thanks to Mr. David MacKenzie,
- who assisted in the development Unix installation and configuration
- for this version.
-
-
-1. DESCRIPTION
+.Dd October 11, 1993
+.Dt bwBASIC 1
+.Os
+.Sh NAME
+.Nm bwBASIC
+.Nd BASIC Interpreter/Shell, version 2.10
+.Sh SYNOPSIS
The Bywater BASIC Interpreter (bwBASIC) implements a large
superset of the ANSI Standard for Minimal BASIC (X3.60-1978)
@@ -60,7 +37,7 @@ CONTENTS:
offer further shell-processing capabilities.
-2. TERMS OF USE:
+.Sh TERMS OF USE
This version of Bywater BASIC is released under the terms of the
GNU General Public License (GPL), which is distributed with this
@@ -71,7 +48,7 @@ CONTENTS:
for information on which you should contact the author.
-3. QUICK REFERENCE LIST OF COMMANDS AND FUNCTIONS
+.Sh QUICK REFERENCE LIST OF COMMANDS AND FUNCTIONS
Be aware that many of these commands and functions will not be
available unless you have set certain flags in the header files
@@ -199,7 +176,7 @@ CONTENTS:
WRITE [# device-number,] element [, element ]....
-4. GENERAL NOTES ON USAGE:
+.Sh GENERAL NOTES ON USAGE
4.a. Interactive Environment
@@ -305,7 +282,7 @@ CONTENTS:
aliases to allow Microsoft-style programs to be run.
-5. EXPANDED REFERENCE FOR COMMANDS AND FUNCTIONS
+.Sh EXPANDED REFERENCE FOR COMMANDS AND FUNCTIONS
The "Dependencies" listed in the folowing reference materials
refers to flags that must be set to TRUE in bwbasic.h for the
@@ -1636,7 +1613,7 @@ CONTENTS:
------------------------------------------
-6. PREDEFINED VARIABLES
+.Sh PREDEFINED VARIABLES
BWB.EDITOR$
BWB.FILES$
@@ -1669,7 +1646,7 @@ CONTENTS:
(specifically CLS, LOCATE, and INKEY$) may be available.
-7. UNIMPLEMENTED COMMANDS AND FUNCTIONS, and AGENDA FOR DEVELOPMENT
+.Sh UNIMPLEMENTED COMMANDS AND FUNCTIONS, and AGENDA FOR DEVELOPMENT
There are some items not implemented that have been so long
a part of standard BASICs that their absence will seem surprising.
@@ -1853,7 +1830,7 @@ CONTENTS:
ZONEWIDTH
-8. THE STORY OF BYWATER BASIC
+.Sh THE STORY OF BYWATER BASIC
This program was originally begun in 1982 by my grandmother, Mrs.
Verda Spell of Beaumont, TX. She was writing the program using
@@ -1873,9 +1850,3 @@ CONTENTS:
bag and eventually managed to have it all copied over to a PC
diskette. I have revised it slightly prior to this release. You
should know, though, that I myself am an historian, not a programmer.
-
-
-9. COMMUNICATIONS:
-
- email: tcamp@delphi.com
-

View File

@@ -0,0 +1,23 @@
$NetBSD: patch-bwbasic.h,v 1.1 2012/01/15 15:29:31 ryoon Exp $
* Suppress redefined messages.
--- bwbasic.h.orig 2009-06-04 12:50:18.000000000 +0000
+++ bwbasic.h
@@ -111,10 +111,16 @@
***************************************************************/
#ifdef __STDC__
+#ifndef HAVE_RAISE
#define HAVE_RAISE TRUE
+#endif
+#ifndef HAVE_STRING
#define HAVE_STRING TRUE
+#endif
+#ifndef HAVE_STDLIB
#define HAVE_STDLIB TRUE
#endif
+#endif
#ifdef __STDC__
#define HAVE_SIGNAL TRUE