aboutsummaryrefslogtreecommitdiffstats
path: root/lang/basic256/Makefile
blob: 3dc8b89d1d1b885b2213beed19ab7d6bc8bfd174 (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
# Created by: Fernando Apesteguia <fernando.apesteguia@gmail.com>
# $FreeBSD$

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

MAINTAINER= fernando.apesteguia@gmail.com
COMMENT=    Easy to use BASIC language and IDE for education

LICENSE=    GPLv2

BUILD_DEPENDS=  espeak:${PORTSDIR}/audio/espeak \
        sqlite3:${PORTSDIR}/databases/sqlite3 \
        flex:${PORTSDIR}/textproc/flex

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

USES=       bison dos2unix qmake
USE_SDL=    sdl mixer
USE_QT5=    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>