aboutsummaryrefslogtreecommitdiffstats
path: root/lang/bwbasic
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2010-01-25 14:51:55 +0800
committerwen <wen@FreeBSD.org>2010-01-25 14:51:55 +0800
commitb325371507c12b620ce0fe6aa2fc057ed54d48e4 (patch)
treeb3efbe17faefb39669293ee0dd000ff2e74a8bcf /lang/bwbasic
parenta02cc04c0501d3f1f5b344870d053a290195bdbf (diff)
downloadfreebsd-ports-gnome-b325371507c12b620ce0fe6aa2fc057ed54d48e4.tar.gz
freebsd-ports-gnome-b325371507c12b620ce0fe6aa2fc057ed54d48e4.tar.zst
freebsd-ports-gnome-b325371507c12b620ce0fe6aa2fc057ed54d48e4.zip
- Update to 2.50
- Update MASTER_SITES
Diffstat (limited to 'lang/bwbasic')
-rw-r--r--lang/bwbasic/Makefile15
-rw-r--r--lang/bwbasic/distinfo6
-rw-r--r--lang/bwbasic/files/patch-bwbasic.c27
-rw-r--r--lang/bwbasic/files/patch-bwbasic.h19
4 files changed, 27 insertions, 40 deletions
diff --git a/lang/bwbasic/Makefile b/lang/bwbasic/Makefile
index c673bca06dc5..88829982dbd6 100644
--- a/lang/bwbasic/Makefile
+++ b/lang/bwbasic/Makefile
@@ -6,24 +6,19 @@
#
PORTNAME= bwbasic
-PORTVERSION= 2.20p2
+PORTVERSION= 2.50
CATEGORIES= lang
-MASTER_SITES= http://www.nicholson.com/rhn/files/
-EXTRACT_SUFX= .tar.Z
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/version%20${PORTVERSION}/
MAINTAINER= ports@FreeBSD.org
COMMENT= The Bywater Basic interpreter
+USE_ZIP= yes
+USE_DOS2UNIX= yes
GNU_CONFIGURE= yes
-WRKTOP= ${WRKDIR}/${DISTNAME}
-WRKSUBDIR= bwbasic-2.20
-WRKSRC= ${WRKTOP}/${WRKSUBDIR}
+WRKSRC= ${WRKDIR}
MAKE_ARGS= CFLAGS="${CFLAGS} -ansi"
-pre-patch:
- cd ${WRKTOP} && ${MV} bwb-2.20-patch01/* ${WRKSUBDIR}
- cd ${WRKTOP} && ${MV} bwb-2.20-patch02/* ${WRKSUBDIR}
-
.if !defined(NOPORTDOCS)
post-install:
${MKDIR} ${DOCSDIR}
diff --git a/lang/bwbasic/distinfo b/lang/bwbasic/distinfo
index 1bbc51ed9c78..073f5c5f00da 100644
--- a/lang/bwbasic/distinfo
+++ b/lang/bwbasic/distinfo
@@ -1,3 +1,3 @@
-MD5 (bwbasic-2.20p2.tar.Z) = 907928c8efbdea24c51826d9be8fa238
-SHA256 (bwbasic-2.20p2.tar.Z) = 65527cef2b06260929482f6d7c9cd519a10026080770bc0a00d7a42ceea96b6d
-SIZE (bwbasic-2.20p2.tar.Z) = 485971
+MD5 (bwbasic-2.50.zip) = f492ca13bd69ffbbadf7c59544cb6a8c
+SHA256 (bwbasic-2.50.zip) = 213d96734ce7de6928429458101fd7a598dd141be2932f4268d58038c48d3bc6
+SIZE (bwbasic-2.50.zip) = 209629
diff --git a/lang/bwbasic/files/patch-bwbasic.c b/lang/bwbasic/files/patch-bwbasic.c
deleted file mode 100644
index d7cbf7d7d657..000000000000
--- a/lang/bwbasic/files/patch-bwbasic.c
+++ /dev/null
@@ -1,27 +0,0 @@
---- bwbasic.c.orig Mon Jun 3 17:28:28 2002
-+++ bwbasic.c Mon Jun 3 17:33:08 2002
-@@ -32,6 +32,7 @@
- /* NOTE: Modifications marked "JBV" were made by Jon B. Volkoff, */
- /* 11/1995 (eidetics@cerf.net). */
- /*---------------------------------------------------------------*/
-+/* Modifications marked (GAW) were made by Garrett Wollman 2002-06-03 */
-
- #include <stdio.h>
- #include <ctype.h>
-@@ -51,7 +52,7 @@
- char *bwb_ebuf; /* error buffer */
- static char *read_line;
- int bwb_trace = FALSE;
--FILE *errfdevice = stderr; /* output device for error messages */
-+FILE *errfdevice /* = stderr (GAW) */; /* output device for error messages */
-
- #if HAVE_LONGJUMP
- jmp_buf mark;
-@@ -133,6 +134,7 @@
- static char end_buf[] = "\0";
- #endif
-
-+ errfdevice = stderr; /* XXX will just get overwritten below? (GAW)*/
- #if INTENSIVE_DEBUG
- prn_xprintf( stderr, "Memory Allocation Statistics:\n" );
- prn_xprintf( stderr, "----------------------------\n" );
diff --git a/lang/bwbasic/files/patch-bwbasic.h b/lang/bwbasic/files/patch-bwbasic.h
new file mode 100644
index 000000000000..2b01fe3ede54
--- /dev/null
+++ b/lang/bwbasic/files/patch-bwbasic.h
@@ -0,0 +1,19 @@
+--- bwbasic.h.orig 2010-01-25 10:25:35.000000000 +0800
++++ bwbasic.h 2010-01-25 10:27:15.000000000 +0800
+@@ -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