diff options
Diffstat (limited to 'lang/basic256/Makefile')
-rw-r--r-- | lang/basic256/Makefile | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/lang/basic256/Makefile b/lang/basic256/Makefile new file mode 100644 index 00000000000..5da24f580ba --- /dev/null +++ b/lang/basic256/Makefile @@ -0,0 +1,48 @@ +# $NetBSD: Makefile,v 1.1.1.1 2011/11/23 01:19:00 ryoon Exp $ +# + +DISTNAME= basic256_0.9.6.66 +PKGNAME= ${DISTNAME:S/_/-/} +CATEGORIES= lang +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=kidbasic/} +EXTRACT_SUFX= .tgz + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://www.basic256.org/ +COMMENT= TODO: Short description of the package +LICENSE= gnu-gpl-v2 + +PKG_DESTDIR_SUPPORT= user-destdir + +MAKE_JOBS_SAFE= no + +WRKSRC= ${WRKDIR} +USE_LANGUAGES= c c++ +USE_TOOLS+= bison flex gmake + +SUBST_CLASSES+= fix-path +SUBST_STAGE.fix-path= pre-configure +SUBST_MESSAGE.fix-path= Fix hard coded pathes for qt4 +SUBST_FILES.fix-path= Makefile +SUBST_FILES.fix-path+= Makefile.Release +SUBST_SED.fix-path= -e 's,/usr/share,${PREFIX},g' +SUBST_SED.fix-path+= -e 's,/usr/bin/qmake,${QTDIR}/bin/qmake,' +SUBST_SED.fix-path+= -e 's,/usr/bin/moc-qt4,${QTDIR}/bin/moc,' +SUBST_SED.fix-path+= -e 's,/usr/bin/rcc,${QTDIR}/bin/rcc,' +SUBST_SED.fix-path+= -e 's,-I/usr/include/qt4,-I${QTDIR}/include,g' + +SUBST_CLASSES+= fix-path2 +SUBST_STAGE.fix-path2= pre-configure +SUBST_MESSAGE.fix-path2= Fix hard coded pathes +SUBST_FILES.fix-path2+= BASIC256.pro +SUBST_SED.fix-path2= -e 's,/usr/share,${PREFIX}/share,g' +SUBST_SED.fix-path2+= -e 's,/usr/local,${PREFIX},g' + +MAKE_ENV+= INSTALL_ROOT=${DESTDIR} + +.include "../../audio/SDL_mixer/buildlink3.mk" +.include "../../audio/espeak/buildlink3.mk" +.include "../../databases/sqlite3/buildlink3.mk" +.include "../../x11/qt4-libs/buildlink3.mk" +.include "../../x11/qt4-tools/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" |