aboutsummaryrefslogtreecommitdiffstats
path: root/lang/bwbasic/Makefile
blob: a35a589ea024ac51584a9380a9d22531e1d2a3a5 (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
# New ports collection makefile for:    bwbasic
# Date created:     16 Jan 1997
# Whom:         msmith@gsoft.com.au
#
# $FreeBSD$
#

PORTNAME=   bwbasic
PORTVERSION=    2.50
CATEGORIES= lang
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/version%20${PORTVERSION}/

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

USE_ZIP=    yes
USE_DOS2UNIX=   yes
GNU_CONFIGURE=  yes
WRKSRC=     ${WRKDIR}
MAKE_ARGS=  CFLAGS="${CFLAGS} -ansi"

post-patch:
    ${CHMOD} a+x ${WRKDIR}/configure

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

.include <bsd.port.mk>