summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2002-05-20 10:39:36 +0000
committerwiz <wiz@pkgsrc.org>2002-05-20 10:39:36 +0000
commit093cb9544cf9721be856f97c5c728cdfaa310233 (patch)
treea3cb49b53f3fcaa519a584b91b8b848fe8834cde /lang
parent2ea900598085105a11e147565c0dfc3b0a8e89cb (diff)
downloadpkgsrc-093cb9544cf9721be856f97c5c728cdfaa310233.tar.gz
Update to 2.20nb1: Update to use currently available distfiles,
which avoids the hacks for the provided dist-patches. From Jan Schaumann in pkg/16413. Don't install documentation in two places, and some other minor cleanups.
Diffstat (limited to 'lang')
-rw-r--r--lang/bwbasic/Makefile30
-rw-r--r--lang/bwbasic/PLIST3
-rw-r--r--lang/bwbasic/distinfo10
3 files changed, 10 insertions, 33 deletions
diff --git a/lang/bwbasic/Makefile b/lang/bwbasic/Makefile
index 8fa3363b9ca..dcab76faa81 100644
--- a/lang/bwbasic/Makefile
+++ b/lang/bwbasic/Makefile
@@ -1,39 +1,21 @@
-# $NetBSD: Makefile,v 1.2 2001/02/17 09:06:59 agc Exp $
+# $NetBSD: Makefile,v 1.3 2002/05/20 10:39:36 wiz Exp $
DISTNAME= bwbasic-2.20
+WRKSRC= ${WRKDIR}/bwbasic-2.20p2/${PKGNAME_NOREV}
+PKGREVISION= 1
CATEGORIES= lang
MASTER_SITES= ftp://ftp.rahul.net/pub/rhn/
-DISTFILES= bwbasic-2.20.tar.Z \
- bwb-2.20-patch01.tar.Z.uu.txt bwb-2.20-patch02.tar.Z.uu.txt
+EXTRACT_SUFX= .tar.Z
MAINTAINER= jspath@bcpl.net
COMMENT= The Bywater Basic interpreter
+DIST_SUBDIR= ${PKGNAME_NOREV}
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.
-# Make a manual page from the doc file.
-
-pre-patch:
- ${MKDIR} ${WRKSRC}/tmp
- cd ${WRKSRC}/tmp ; \
- uudecode ${DISTDIR}/bwb-2.20-patch01.tar.Z.uu.txt ; \
- ${GTAR} -xzf bwb-2.20-patch01.tar.Z ; \
- ${MV} bwb-2.20-patch01/* ${WRKSRC}
- cd ${WRKSRC}/tmp ; \
- uudecode ${DISTDIR}/bwb-2.20-patch02.tar.Z.uu.txt ; \
- ${GTAR} -xzf bwb-2.20-patch02.tar.Z ; \
- ${MV} bwb-2.20-patch02/* ${WRKSRC}
- ${RM} -rf ${WRKSRC}/tmp
- ${CP} -pf ${WRKSRC}/bwbasic.doc ${WRKSRC}/bwbasic.1
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/bwbasic
- ${INSTALL_DATA} ${WRKSRC}/bwbasic.doc ${PREFIX}/share/bwbasic/
${CP} -r ${WRKSRC}/bwbtest ${PREFIX}/share/bwbasic/
- ${INSTALL_MAN} ${WRKSRC}/bwbasic.1 ${PREFIX}/man/man1/bwbasic.1
+ ${INSTALL_MAN} ${WRKSRC}/bwbasic.doc ${PREFIX}/man/man1/bwbasic.1
.include "../../mk/bsd.pkg.mk"
diff --git a/lang/bwbasic/PLIST b/lang/bwbasic/PLIST
index b4bcc190a30..876c7c1edee 100644
--- a/lang/bwbasic/PLIST
+++ b/lang/bwbasic/PLIST
@@ -1,7 +1,6 @@
-@comment $NetBSD: PLIST,v 1.1 2001/11/01 00:22:50 zuntum Exp $
+@comment $NetBSD: PLIST,v 1.2 2002/05/20 10:39:36 wiz Exp $
bin/bwbasic
man/man1/bwbasic.1
-share/bwbasic/bwbasic.doc
share/bwbasic/bwbtest/abs.bas
share/bwbasic/bwbtest/assign.bas
share/bwbasic/bwbtest/callfunc.bas
diff --git a/lang/bwbasic/distinfo b/lang/bwbasic/distinfo
index 5a3fc056881..7f36e1ea599 100644
--- a/lang/bwbasic/distinfo
+++ b/lang/bwbasic/distinfo
@@ -1,10 +1,6 @@
-$NetBSD: distinfo,v 1.2 2001/04/19 15:00:48 agc Exp $
+$NetBSD: distinfo,v 1.3 2002/05/20 10:39:36 wiz Exp $
-SHA1 (bwbasic-2.20.tar.Z) = 146a2e7dd0d23325305e4c8baff80737c0d16f7b
-Size (bwbasic-2.20.tar.Z) = 280087 bytes
-SHA1 (bwb-2.20-patch01.tar.Z.uu.txt) = c8ecda0a89b2b19e8a5639465babb558a84e1093
-Size (bwb-2.20-patch01.tar.Z.uu.txt) = 80732 bytes
-SHA1 (bwb-2.20-patch02.tar.Z.uu.txt) = 3dd680261f709ab58c7f6784ff06946d0836eeb0
-Size (bwb-2.20-patch02.tar.Z.uu.txt) = 215960 bytes
+SHA1 (bwbasic-2.20/bwbasic-2.20.tar.Z) = b96ff440c573b9aac17dfd90830e3defa46a5592
+Size (bwbasic-2.20/bwbasic-2.20.tar.Z) = 485971 bytes
SHA1 (patch-aa) = e397e2e5b88ccccb44750702bff6d65054d96641
SHA1 (patch-ac) = e316d334098ba1919239959333804973619dbc81