aboutsummaryrefslogtreecommitdiff
path: root/lang/bwbasic
diff options
context:
space:
mode:
Diffstat (limited to 'lang/bwbasic')
-rw-r--r--lang/bwbasic/Makefile26
-rw-r--r--lang/bwbasic/distinfo3
2 files changed, 10 insertions, 19 deletions
diff --git a/lang/bwbasic/Makefile b/lang/bwbasic/Makefile
index 46a14b426908..0ee00fdfde14 100644
--- a/lang/bwbasic/Makefile
+++ b/lang/bwbasic/Makefile
@@ -6,31 +6,23 @@
#
PORTNAME= bwbasic
-PORTVERSION= 2.20
+PORTVERSION= 2.20p2
CATEGORIES= lang
-MASTER_SITES= ftp://ftp.rahul.net/pub/rhn/
-DISTFILES= bwbasic-2.20.tar.Z bwb-2.20-patch01.tar.Z.uu.txt
+MASTER_SITES= ftp://ftp.rahul.net/pub2/rhn/www/files/
+EXTRACT_SUFX= .tar.Z
MAINTAINER= msmith@FreeBSD.org
-BROKEN= "Checksum fails"
-
GNU_CONFIGURE= yes
-EXTRACT_ONLY= bwbasic-2.20.tar.Z
-
-# The patches come in a totally bizarre format; we have to
-# uudecode them, unpack the resulting tarfile, and then replace
-# some of the original files.
+WRKTOP= ${WRKDIR}/${DISTNAME}
+WRKSUBDIR= bwbasic-2.20
+WRKSRC= ${WRKTOP}/${WRKSUBDIR}
pre-patch:
- ${MKDIR} ${WRKSRC}/tmp
- cd ${WRKSRC}/tmp; \
- uudecode ${DISTDIR}/bwb-2.20-patch01.tar.Z.uu.txt; \
- tar xzf bwb-2.20-patch01.tar.Z; \
- ${MV} bwb-2.20-patch01/* ${WRKSRC}
- ${RM} -rf ${WRKSRC}/tmp
+ cd ${WRKTOP} && ${MV} bwb-2.20-patch01/* ${WRKSUBDIR}
+ cd ${WRKTOP} && ${MV} bwb-2.20-patch02/* ${WRKSUBDIR}
-# This puts the documentation in ${PREFIX}/share/bwbasic, and the
+# This puts the documentation in ${PREFIX}/share/bwbasic, and the
# test programs in ${PREFIX}/share/bwbasic/bwbtest.
post-install:
diff --git a/lang/bwbasic/distinfo b/lang/bwbasic/distinfo
index 0baef695032d..54492ec1996b 100644
--- a/lang/bwbasic/distinfo
+++ b/lang/bwbasic/distinfo
@@ -1,2 +1 @@
-MD5 (bwbasic-2.20.tar.Z) = 21fb5e2fb95db515aa2282312d35f88d
-MD5 (bwb-2.20-patch01.tar.Z.uu.txt) = 70f2098727f498f827814173315aa107
+MD5 (bwbasic-2.20p2.tar.Z) = 907928c8efbdea24c51826d9be8fa238