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

PORTNAME=   basic256
PORTVERSION=    1.1.2.6
CATEGORIES= lang
MASTER_SITES=   SF
MASTER_SITE_SUBDIR= kidbasic/${PORTNAME}
DISTNAME=   ${PORTNAME}_${PORTVERSION}.orig

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

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
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>