aboutsummaryrefslogtreecommitdiffstats
path: root/lang/bwbasic/Makefile
blob: f000bb5b4c5fdb23d9398f3bd44462d08cdfb3f0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# New ports collection makefile for:    bwbasic
# Date created:     16 Jan 1997
# Whom:         msmith@gsoft.com.au
#
# $FreeBSD$
#

PORTNAME=   bwbasic
PORTVERSION=    2.20p2
CATEGORIES= lang
# mastersite disappeared in September 2002
MASTER_SITES=   # ftp://ftp.rahul.net/pub2/rhn/www/files/
EXTRACT_SUFX=   .tar.Z

MAINTAINER= ports@FreeBSD.org
COMMENT=    The Bywater Basic interpreter

GNU_CONFIGURE=  yes
WRKTOP=     ${WRKDIR}/${DISTNAME}
WRKSUBDIR=  bwbasic-2.20
WRKSRC=     ${WRKTOP}/${WRKSUBDIR}

pre-patch:
    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
# test programs in ${PREFIX}/share/bwbasic/bwbtest.

post-install:
    -${MKDIR} ${PREFIX}/share/bwbasic
    ${CP} ${WRKSRC}/bwbasic.doc ${PREFIX}/share/bwbasic/
    ${CP} -r ${WRKSRC}/bwbtest ${PREFIX}/share/bwbasic/

.include <bsd.port.mk>