aboutsummaryrefslogtreecommitdiffstats
path: root/lang/yabasic
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-12-25 23:09:02 +0800
committersteve <steve@FreeBSD.org>1999-12-25 23:09:02 +0800
commitd877498922ab2ab0e3a0fee3047586fc694330a3 (patch)
tree031c529565bcda875d243d454565b10c574d2125 /lang/yabasic
parent8306d8ba775e0f72fc1db772036caea48c41d1f0 (diff)
downloadfreebsd-ports-gnome-d877498922ab2ab0e3a0fee3047586fc694330a3.tar.gz
freebsd-ports-gnome-d877498922ab2ab0e3a0fee3047586fc694330a3.tar.zst
freebsd-ports-gnome-d877498922ab2ab0e3a0fee3047586fc694330a3.zip
Adding yabasic version 2.60.
Yet another Basic for Unix and Windows. PR: 15016 Submitted by: Frank Gruender <elwood@mc5sys.in-berlin.de>
Diffstat (limited to 'lang/yabasic')
-rw-r--r--lang/yabasic/Makefile21
-rw-r--r--lang/yabasic/distinfo1
-rw-r--r--lang/yabasic/files/patch-aa23
-rw-r--r--lang/yabasic/files/patch-ab11
-rw-r--r--lang/yabasic/pkg-comment1
-rw-r--r--lang/yabasic/pkg-descr9
-rw-r--r--lang/yabasic/pkg-plist3
7 files changed, 69 insertions, 0 deletions
diff --git a/lang/yabasic/Makefile b/lang/yabasic/Makefile
new file mode 100644
index 000000000000..aee9808ab25d
--- /dev/null
+++ b/lang/yabasic/Makefile
@@ -0,0 +1,21 @@
+# New ports collection makefile for: yabasic
+# Version required: 2.60
+# Date created: 11 Nov 1999
+# Whom: Frank Gruender
+#
+# $FreeBSD$
+#
+
+DISTNAME= yab
+PKGNAME= yabasic-2.60
+CATEGORIES= lang
+MASTER_SITES= http://www.yabasic.de/download/
+EXTRACT_SUFX= .tar.Z
+
+MAINTAINER= elwood@mc5sys.in-berlin.de
+
+USE_XLIB= yes
+GNU_CONFIGURE= yes
+WRKSRC= ${WRKDIR}/yabasic-2.60
+
+.include <bsd.port.mk>
diff --git a/lang/yabasic/distinfo b/lang/yabasic/distinfo
new file mode 100644
index 000000000000..3e89c25fed9b
--- /dev/null
+++ b/lang/yabasic/distinfo
@@ -0,0 +1 @@
+MD5 (yab.tar.Z) = 13cf5486ba6bf749ef1c2952d65ca17d
diff --git a/lang/yabasic/files/patch-aa b/lang/yabasic/files/patch-aa
new file mode 100644
index 000000000000..79ef5efbe2cb
--- /dev/null
+++ b/lang/yabasic/files/patch-aa
@@ -0,0 +1,23 @@
+--- Makefile.in.orig Sun Nov 7 15:22:19 1999
++++ Makefile.in Fri Dec 24 13:50:02 1999
+@@ -6,7 +6,7 @@
+ # including flex and yacc translations.
+
+ # define location where yabasic will search for libraries
+-library_path = /usr/lib/yabasic
++library_path = $(PREFIX)/lib/yabasic
+
+ # flags for cc or gcc (-g for debugging)
+ ccflags = -DUNIX -DLIBRARY_PATH=\"$(library_path)\"
+@@ -63,8 +63,8 @@
+
+ # install yabasic on a linux system, need to be root
+ install:
+- install -s -m 755 -o 0 -g 0 yabasic /usr/bin/yabasic
+- install -m 644 -d -o 0 -g 0 /usr/doc/yabasic
+- install -m 644 -o 0 -g 0 yabasic.htm /usr/doc/yabasic
++ install -c -s -m 755 -o 0 -g 0 yabasic $(PREFIX)/bin/yabasic
++ install -m 644 -d -o 0 -g 0 $(PREFIX)/doc/yabasic
++ install -c -m 644 -o 0 -g 0 yabasic.htm $(PREFIX)/doc/yabasic
+
+
diff --git a/lang/yabasic/files/patch-ab b/lang/yabasic/files/patch-ab
new file mode 100644
index 000000000000..dc5aee944146
--- /dev/null
+++ b/lang/yabasic/files/patch-ab
@@ -0,0 +1,11 @@
+--- yabasic.bison.orig Sun Nov 7 15:22:19 1999
++++ yabasic.bison Fri Dec 24 13:48:57 1999
+@@ -24,7 +24,7 @@
+ #include "yabasic.h" /* definitions of yabasic */
+ #endif
+
+-#include <malloc.h>
++#include <stdlib.h>
+
+ #if HAVE_ALLOCA_H
+ #include <alloca.h>
diff --git a/lang/yabasic/pkg-comment b/lang/yabasic/pkg-comment
new file mode 100644
index 000000000000..05be4f114fe4
--- /dev/null
+++ b/lang/yabasic/pkg-comment
@@ -0,0 +1 @@
+Yet another Basic for Unix and Windows
diff --git a/lang/yabasic/pkg-descr b/lang/yabasic/pkg-descr
new file mode 100644
index 000000000000..362a682866a1
--- /dev/null
+++ b/lang/yabasic/pkg-descr
@@ -0,0 +1,9 @@
+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.
+
+WWW: http://www.yabasic.de/
+
+- Frank Gruender
+elwood@mc5sys.in-berlin.de
diff --git a/lang/yabasic/pkg-plist b/lang/yabasic/pkg-plist
new file mode 100644
index 000000000000..4f3b83e7d7f5
--- /dev/null
+++ b/lang/yabasic/pkg-plist
@@ -0,0 +1,3 @@
+bin/yabasic
+doc/yabasic/yabasic.htm
+@dirrm doc/yabasic