forked from opnsense/ports
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
32 lines (23 loc) · 777 Bytes
/
Makefile
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= 3
CATEGORIES= lang
MASTER_SITES= SF/kidbasic/${PORTNAME}
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
MAINTAINER= [email protected]
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 compiler:c++11-lang dos2unix qmake qt:5 sdl
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>