aboutsummaryrefslogtreecommitdiffstats
path: root/lang/bwbasic/Makefile
blob: c673bca06dc56316a0ac5ce95a410704578fc865 (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
MASTER_SITES=   http://www.nicholson.com/rhn/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}
MAKE_ARGS=  CFLAGS="${CFLAGS} -ansi"

pre-patch:
    cd ${WRKTOP} && ${MV} bwb-2.20-patch01/* ${WRKSUBDIR}
    cd ${WRKTOP} && ${MV} bwb-2.20-patch02/* ${WRKSUBDIR}

.if !defined(NOPORTDOCS)
post-install:
    ${MKDIR} ${DOCSDIR}
    ${MKDIR} ${EXAMPLESDIR}
    ${CP} ${WRKSRC}/bwbasic.doc ${DOCSDIR}
    ${CP} -r ${WRKSRC}/bwbtest ${EXAMPLESDIR}
.endif

.include <bsd.port.mk>