summaryrefslogtreecommitdiff
path: root/lang/bwbasic/Makefile
diff options
context:
space:
mode:
authorpooka <pooka@pkgsrc.org>2000-02-15 19:43:22 +0000
committerpooka <pooka@pkgsrc.org>2000-02-15 19:43:22 +0000
commit4577d8e4b29cf865e50538650e350ebd8dcb4aa7 (patch)
tree48adbe01af752de57da05140baf50c3424e97268 /lang/bwbasic/Makefile
parent885a1724867a05636996ce397d8c000d15ddf95c (diff)
downloadpkgsrc-4577d8e4b29cf865e50538650e350ebd8dcb4aa7.tar.gz
The Bywater Basic interpreter 2.20
Diffstat (limited to 'lang/bwbasic/Makefile')
-rw-r--r--lang/bwbasic/Makefile38
1 files changed, 38 insertions, 0 deletions
diff --git a/lang/bwbasic/Makefile b/lang/bwbasic/Makefile
new file mode 100644
index 00000000000..b3c586c9614
--- /dev/null
+++ b/lang/bwbasic/Makefile
@@ -0,0 +1,38 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/02/15 19:43:22 pooka Exp $
+
+DISTNAME= bwbasic-2.20
+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
+
+MAINTAINER= jspath@bcpl.net
+
+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
+
+.include "../../mk/bsd.pkg.mk"