aboutsummaryrefslogtreecommitdiffstats
path: root/lang/basic256/Makefile
blob: 3fe71b29c6734e854067829ca0599692438767c1 (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.0.0.0
CATEGORIES= lang
MASTER_SITES=   SF
MASTER_SITE_SUBDIR= kidbasic/${PORTNAME}
DISTNAME=   ${PORTNAME}_${PORTVERSION}
EXTRACT_SUFX=   .tgz

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

USES=       bison dos2unix qmake
USE_SDL=    sdl mixer
USE_QT4=    corelib gui network xml webkit moc_build rcc_build uic_build
QMAKE_SOURCE_PATH=  BASIC256.pro

NO_WRKSUBDIR=   yes
MAKE_JOBS_UNSAFE=   yes

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

.include <bsd.port.mk>