Import lang/brandy.

Brandy implements Basic V, the dialect of Basic that Acorn Computers
supplied with their ranges of desktop computers that use the ARM
processor such as the Archimedes and RiscPC. Basic V is an extended
version of BBC Basic. This was the Basic used on the BBC Micro that
Acorn made during the early 1980s.

OK benoit@, juanfra@
This commit is contained in:
fcambus 2017-03-19 21:49:31 +00:00
parent c0ff2acca8
commit 32a104253e
5 changed files with 78 additions and 0 deletions

35
lang/brandy/Makefile Normal file
View File

@ -0,0 +1,35 @@
# $OpenBSD: Makefile,v 1.1.1.1 2017/03/19 21:49:31 fcambus Exp $
COMMENT = interpreter for BBC Basic (Basic V)
DISTNAME = brandy-1.20.1
CATEGORIES = lang
HOMEPAGE = http://jaguar.orpheusweb.co.uk/branpage.html
MAINTAINER = Frederic Cambus <fcambus@openbsd.org>
# GPLv2+
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += c m
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=brandy/}
MAKE_FLAGS = CC="${CC}" LD="${CC}"
MAKE_FILE = makefile.text tbrandy
NO_TEST = Yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tbrandy ${PREFIX}/bin/brandy
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/brandy
${INSTALL_DATA} ${WRKSRC}/docs/basic ${PREFIX}/share/doc/brandy
${INSTALL_DATA} ${WRKSRC}/docs/messages ${PREFIX}/share/doc/brandy
${INSTALL_DATA} ${WRKSRC}/docs/use ${PREFIX}/share/doc/brandy
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/brandy
${INSTALL_DATA} ${WRKSRC}/examples/* ${PREFIX}/share/examples/brandy
.include <bsd.port.mk>

2
lang/brandy/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (brandy-1.20.1.tar.gz) = YiPgbFQf7qxKWrrXM/3g0Uxuveta0DbAPQ+r5C/vA+w=
SIZE (brandy-1.20.1.tar.gz) = 422587

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-makefile_text,v 1.1.1.1 2017/03/19 21:49:31 fcambus Exp $
--- makefile.text.orig Thu Jun 27 14:56:55 2013
+++ makefile.text Tue Mar 14 22:53:59 2017
@@ -3,7 +3,7 @@
CC = gcc
LD = gcc
-CFLAGS += -g -DDEBUG -DNO_SDL
+CFLAGS += -DNO_SDL
CFLAGS2 = -O2 -DNO_SDL
LDFLAGS =

5
lang/brandy/pkg/DESCR Normal file
View File

@ -0,0 +1,5 @@
Brandy implements Basic V, the dialect of Basic that Acorn Computers
supplied with their ranges of desktop computers that use the ARM
processor such as the Archimedes and RiscPC. Basic V is an extended
version of BBC Basic. This was the Basic used on the BBC Micro that
Acorn made during the early 1980s.

24
lang/brandy/pkg/PLIST Normal file
View File

@ -0,0 +1,24 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2017/03/19 21:49:31 fcambus Exp $
@bin bin/brandy
share/doc/brandy/
share/doc/brandy/basic
share/doc/brandy/messages
share/doc/brandy/use
share/examples/brandy/
share/examples/brandy/README
share/examples/brandy/cmdline
share/examples/brandy/combsort
share/examples/brandy/cricket
share/examples/brandy/dow
share/examples/brandy/graphdemo
share/examples/brandy/hanoi
share/examples/brandy/hex
share/examples/brandy/lands
share/examples/brandy/pastriang
share/examples/brandy/sieve
share/examples/brandy/tekdemo1
share/examples/brandy/tekdemo2
share/examples/brandy/teklib
share/examples/brandy/trees1
share/examples/brandy/trees2
share/examples/brandy/tvtime