Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Nov 1999 11:19:23 +0100 (CET)
From:      elwood@mc5sys.in-berlin.de
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/15016: New Port: lang/yabasic
Message-ID:  <199911211019.LAA43710@mc5sys.in-berlin.de>

next in thread | raw e-mail | index | archive | help

>Number:         15016
>Category:       ports
>Synopsis:       New Port: lang/yabasic
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 21 02:30:00 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Frank Gruender
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
The Psychedelic Underground
>Environment:

FreeBSD 4.0-CURRENT i386

>Description:

New Port: lang/yabasic

Yabasic implements the most common and simple elements of the basic language;
It comes with goto/gosub, with various loops, with user defined subroutines
and Libraries. Yabasic does monochrome line graphics and printing.
Yabasic runs under Unix and Windows; it is small (around 200KB) and free.

>How-To-Repeat:

	

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	yabasic
#	yabasic/pkg
#	yabasic/pkg/COMMENT
#	yabasic/pkg/DESCR
#	yabasic/pkg/PLIST
#	yabasic/files
#	yabasic/files/md5
#	yabasic/Makefile
#	yabasic/patches
#	yabasic/patches/patch-aa
#
echo c - yabasic
mkdir -p yabasic > /dev/null 2>&1
echo c - yabasic/pkg
mkdir -p yabasic/pkg > /dev/null 2>&1
echo x - yabasic/pkg/COMMENT
sed 's/^X//' >yabasic/pkg/COMMENT << 'END-of-yabasic/pkg/COMMENT'
XYet another Basic for Unix and Windows
END-of-yabasic/pkg/COMMENT
echo x - yabasic/pkg/DESCR
sed 's/^X//' >yabasic/pkg/DESCR << 'END-of-yabasic/pkg/DESCR'
XYabasic implements the most common and simple elements of the basic language;
XIt comes with goto/gosub, with various loops, with user defined subroutines
Xand Libraries. Yabasic does monochrome line graphics and printing.
XYabasic runs under Unix and Windows; it is small (around 200KB) and free.
X
XWWW: http://www.yabasic.de/
X
X- Frank Gruender
Xelwood@mc5sys.in-berlin.de
END-of-yabasic/pkg/DESCR
echo x - yabasic/pkg/PLIST
sed 's/^X//' >yabasic/pkg/PLIST << 'END-of-yabasic/pkg/PLIST'
Xbin/yabasic
Xdoc/yabasic/yabasic.htm
X@dirrm doc/yabasic
X
END-of-yabasic/pkg/PLIST
echo c - yabasic/files
mkdir -p yabasic/files > /dev/null 2>&1
echo x - yabasic/files/md5
sed 's/^X//' >yabasic/files/md5 << 'END-of-yabasic/files/md5'
XMD5 (yab.tar.Z) = 13cf5486ba6bf749ef1c2952d65ca17d
END-of-yabasic/files/md5
echo x - yabasic/Makefile
sed 's/^X//' >yabasic/Makefile << 'END-of-yabasic/Makefile'
X# New ports collection makefile for:	yabasic
X# Version required:	2.60
X# Date created:		11 Nov 1999
X# Whom:			Frank Gruender
X#
X# $FreeBSD: $
X#
X
XDISTNAME=	yab
XPKGNAME=	yabasic-2.60
XCATEGORIES=	lang
XMASTER_SITES=	http://www.yabasic.de/download/
XEXTRACT_SUFX=	.tar.Z
X
XMAINTAINER=	elwood@mc5sys.in-berlin.de
X
XLIB_DEPEND=	X11:${PORTSDIR}/x11/XFree86
X
XGNU_CONFIGURE=	yes
XWRKSRC=         ${WRKDIR}/yabasic-2.60
X
X.include <bsd.port.mk>
END-of-yabasic/Makefile
echo c - yabasic/patches
mkdir -p yabasic/patches > /dev/null 2>&1
echo x - yabasic/patches/patch-aa
sed 's/^X//' >yabasic/patches/patch-aa << 'END-of-yabasic/patches/patch-aa'
X--- Makefile.in.orig	Sun Nov 21 10:33:14 1999
X+++ Makefile.in	Sun Nov 21 10:35:20 1999
X@@ -6,7 +6,7 @@
X # including flex and yacc translations.
X 
X # define location where yabasic will search for libraries
X-library_path = /usr/lib/yabasic
X+library_path = $(PREFIX)/lib/yabasic
X 
X # flags for cc or gcc  (-g for debugging)
X ccflags = -DUNIX -DLIBRARY_PATH=\"$(library_path)\"
X@@ -63,8 +63,8 @@
X 
X # install yabasic on a linux system, need to be root
X install:
X-	install -s -m 755 -o 0 -g 0 yabasic /usr/bin/yabasic
X-	install -m 644 -d -o 0 -g 0 /usr/doc/yabasic
X-	install -m 644 -o 0 -g 0 yabasic.htm /usr/doc/yabasic
X+	install -s -m 755 -o 0 -g 0 yabasic $(PREFIX)/bin/yabasic
X+	install -m 644 -d -o 0 -g 0 $(PREFIX)/doc/yabasic
X+	install -c -m 644 -o 0 -g 0 yabasic.htm $(PREFIX)/doc/yabasic
X 
X 
X--- yabasic.bison.orig	Sun Nov 21 10:37:19 1999
X+++ yabasic.bison	Sun Nov 21 10:37:34 1999
X@@ -24,7 +24,7 @@
X #include "yabasic.h"     /* definitions of yabasic */
X #endif
X 
X-#include <malloc.h>
X+#include <stdlib.h>
X 
X #if HAVE_ALLOCA_H
X #include <alloca.h>
END-of-yabasic/patches/patch-aa
exit

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911211019.LAA43710>