1 # $NetBSD: Makefile,v 1.17 2013/02/16 11:22:51 wiz Exp $
4 DISTNAME
= basic256_0.9
.6.71
5 PKGNAME
= ${DISTNAME
:S
/_
/-/}
8 MASTER_SITES
= ${MASTER_SITE_SOURCEFORGE
:=kidbasic
/}
11 MAINTAINER
= pkgsrc-users@NetBSD.org
12 HOMEPAGE
= http
://www.basic256.org
/
13 COMMENT
= BASIC language with traditional control structures
20 USE_TOOLS
+= bison flex gmake
22 SUBST_CLASSES
+= fix-path
23 SUBST_STAGE.fix-path
= pre-configure
24 SUBST_MESSAGE.fix-path
= Fix hard coded paths for qt4
25 SUBST_FILES.fix-path
= Makefile
26 SUBST_FILES.fix-path
+= Makefile.Release
27 SUBST_SED.fix-path
= -e
's,/usr/share,${PREFIX},g'
28 SUBST_SED.fix-path
+= -e
's,/usr/bin/qmake,${QTDIR}/bin/qmake,'
29 SUBST_SED.fix-path
+= -e
's,/usr/bin/moc-qt4,${QTDIR}/bin/moc,'
30 SUBST_SED.fix-path
+= -e
's,/usr/bin/rcc,${QTDIR}/bin/rcc,'
31 SUBST_SED.fix-path
+= -e
's,-I/usr/include/qt4,-I${QTDIR}/include,g'
33 SUBST_CLASSES
+= fix-path2
34 SUBST_STAGE.fix-path2
= pre-configure
35 SUBST_MESSAGE.fix-path2
= Fix hard coded paths
36 SUBST_FILES.fix-path2
+= BASIC256.pro
37 SUBST_SED.fix-path2
= -e
's,/usr/share,${PREFIX}/share,g'
38 SUBST_SED.fix-path2
+= -e
's,/usr/local,${PREFIX},g'
40 MAKE_ENV
+= INSTALL_ROOT
=${DESTDIR}
42 .
include "../../audio/SDL_mixer/buildlink3.mk"
43 .
include "../../audio/espeak/buildlink3.mk"
44 .
include "../../databases/sqlite3/buildlink3.mk"
45 .
include "../../security/openssl/buildlink3.mk"
46 .
include "../../x11/qt4-libs/buildlink3.mk"
47 .
include "../../x11/qt4-tools/buildlink3.mk"
48 .
include "../../mk/bsd.pkg.mk"