aboutsummaryrefslogtreecommitdiffstats
path: root/lang/basic256/Makefile
blob: 81d671699f92224d5d4a2116363e025bb8eab62d (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
# $FreeBSD$

PORTNAME=   basic256
PORTVERSION=    1.1.4.0
PORTREVISION=   2
CATEGORIES= lang
MASTER_SITES=   SF/kidbasic/${PORTNAME}
DISTNAME=   ${PORTNAME}_${PORTVERSION}.orig

MAINTAINER= fernape@FreeBSD.org
COMMENT=    Easy to use BASIC language and IDE for education

LICENSE=    GPLv2

BUILD_DEPENDS=  espeak:audio/espeak \
        sqlite3:databases/sqlite3 \
        flex:textproc/flex

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}

USES=       bison dos2unix qmake qt:5
USE_SDL=    sdl mixer
USE_QT=     buildtools core gui multimedia network printsupport sql widgets serialport
QMAKE_ARGS+=    LOCALBASE="${LOCALBASE}"
QMAKE_SOURCE_PATH=  BASIC256.pro

MAKE_JOBS_UNSAFE=   yes

post-patch:
    @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/BASIC256.pro

.include <bsd.port.mk>