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

7
lang/wsbasic/DESCR Normal file
View File

@@ -0,0 +1,7 @@
WSBasic is a BASIC interpreter written entirely in C++ without the use
of lex or yacc. It shows how one can create a compiler or interpreter
using some simple classes to parse and/or execute script code. It is
a good way to fully understand how a parser/compiler actually works,
at least that was the original purpose of this project. Later the
ability to run shell commands was added just like in bash scripting
and this gives the project also some nice practical use.

27
lang/wsbasic/Makefile Normal file
View File

@@ -0,0 +1,27 @@
# $NetBSD: Makefile,v 1.8 2013/04/13 07:55:03 ghen Exp $
DISTNAME= wsbasic-1_2_7
PKGNAME= ${DISTNAME:S/_/./g}
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=wsbasic/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://wsbasic.sourceforge.net/
COMMENT= Simple BASIC interpreter
LICENSE= gnu-gpl-v2
USE_LANGUAGES= c++
REPLACE_INTERPRETER+= wsbasic
REPLACE.wsbasic.old= \.\./wsbasic
REPLACE.wsbasic.new= ${PREFIX}/bin/wsbasic
REPLACE_FILES.wsbasic= ${WRKSRC}/scripts/*
INSTALLATION_DIRS= bin share/wsbasic
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wsbasic ${DESTDIR}${PREFIX}/bin/
${INSTALL_SCRIPT} ${WRKSRC}/scripts/*.b ${DESTDIR}${PREFIX}/share/wsbasic/
${INSTALL_DATA} ${WRKSRC}/scripts/*.txt ${DESTDIR}${PREFIX}/share/wsbasic/
.include "../../mk/bsd.pkg.mk"

26
lang/wsbasic/PLIST Normal file
View File

@@ -0,0 +1,26 @@
@comment $NetBSD: PLIST,v 1.3 2010/02/19 14:06:19 ghen Exp $
bin/wsbasic
share/wsbasic/add.b
share/wsbasic/argtest.b
share/wsbasic/assigns.b
share/wsbasic/changepath.b
share/wsbasic/datatest.b
share/wsbasic/deftest.b
share/wsbasic/dir-foreach.b
share/wsbasic/dir.b
share/wsbasic/foreach.b
share/wsbasic/forloops.b
share/wsbasic/functions.b
share/wsbasic/ifs.b
share/wsbasic/input.b
share/wsbasic/mail-content.txt
share/wsbasic/mail-list.txt
share/wsbasic/mailto.b
share/wsbasic/modtest.b
share/wsbasic/post_ip.b
share/wsbasic/rantest.b
share/wsbasic/runtest.b
share/wsbasic/shelltest.b
share/wsbasic/speed2.b
share/wsbasic/strings.b
share/wsbasic/while.b

6
lang/wsbasic/distinfo Normal file
View File

@@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.4 2010/02/19 14:06:19 ghen Exp $
SHA1 (wsbasic-1_2_7.tar.gz) = c27e5c95fd9b5c8cc8366600df6f83b67d223829
RMD160 (wsbasic-1_2_7.tar.gz) = 2c194087f59af350bcbebc674e1016035bbcb126
Size (wsbasic-1_2_7.tar.gz) = 23516 bytes
SHA1 (patch-aa) = a113d2a0236f5f6fc9977dd154e26b81a8200779

View File

@@ -0,0 +1,12 @@
$NetBSD: patch-aa,v 1.3 2010/02/19 14:06:19 ghen Exp $
--- Makefile.orig 2007-06-03 14:41:30.000000000 +0000
+++ Makefile
@@ -1,5 +1,6 @@
-CXX = g++
+CXX ?= g++
FLAGS = -O2 -Wall #-D_DEBUG_
+FLAGS += $(CXXFLAGS)
INSTALL_DIR = /usr/local/bin/
RELEASE = 1_2_7