1995-08-09 14:42:50 +00:00
|
|
|
# New ports collection makefile for: bwbasic
|
1997-01-16 00:56:10 +00:00
|
|
|
# Date created: 16 Jan 1997
|
|
|
|
# Whom: msmith@gsoft.com.au
|
1995-08-09 14:42:50 +00:00
|
|
|
#
|
1999-08-25 06:35:40 +00:00
|
|
|
# $FreeBSD$
|
1995-08-09 14:42:50 +00:00
|
|
|
#
|
|
|
|
|
2000-04-12 06:21:15 +00:00
|
|
|
PORTNAME= bwbasic
|
|
|
|
PORTVERSION= 2.20
|
1996-11-12 02:19:40 +00:00
|
|
|
CATEGORIES= lang
|
1997-01-16 00:56:10 +00:00
|
|
|
MASTER_SITES= ftp://ftp.rahul.net/pub/rhn/
|
|
|
|
DISTFILES= bwbasic-2.20.tar.Z bwb-2.20-patch01.tar.Z.uu.txt
|
1995-08-09 14:42:50 +00:00
|
|
|
|
1997-01-16 00:56:10 +00:00
|
|
|
MAINTAINER= msmith@gsoft.com.au
|
1995-08-09 14:42:50 +00:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
1997-01-19 00:33:50 +00:00
|
|
|
EXTRACT_ONLY= bwbasic-2.20.tar.Z
|
1995-08-09 14:42:50 +00:00
|
|
|
|
1997-01-16 00:56:10 +00:00
|
|
|
# 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.
|
|
|
|
|
|
|
|
pre-patch:
|
1997-01-19 00:33:50 +00:00
|
|
|
${MKDIR} ${WRKSRC}/tmp
|
|
|
|
cd ${WRKSRC}/tmp; \
|
|
|
|
uudecode ${DISTDIR}/bwb-2.20-patch01.tar.Z.uu.txt; \
|
|
|
|
tar xzf bwb-2.20-patch01.tar.Z; \
|
1999-08-28 02:42:41 +00:00
|
|
|
${MV} bwb-2.20-patch01/* ${WRKSRC}
|
1997-01-19 00:33:50 +00:00
|
|
|
${RM} -rf ${WRKSRC}/tmp
|
1997-01-16 00:56:10 +00:00
|
|
|
|
1995-08-09 14:42:50 +00:00
|
|
|
# This puts the documentation in ${PREFIX}/share/bwbasic, and the
|
|
|
|
# test programs in ${PREFIX}/share/bwbasic/bwbtest.
|
|
|
|
|
|
|
|
post-install:
|
1996-11-12 02:19:40 +00:00
|
|
|
-${MKDIR} ${PREFIX}/share/bwbasic
|
|
|
|
${CP} ${WRKSRC}/bwbasic.doc ${PREFIX}/share/bwbasic/
|
|
|
|
${CP} -r ${WRKSRC}/bwbtest ${PREFIX}/share/bwbasic/
|
1995-08-09 14:42:50 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|