pkgsrc/games/onscripter/Makefile
tsutsui 00a7d48b93 Update onscripter to 20150820.
Upstream changes (no English changelog):

20150820:
 - change 'a' key (auto-mode) behavior as the original NScripter
   (affects only Android)

20150811:
 - make lsp and other insns accept decimal fraction as height and width
   values of rectangle drawing

20150810:
 - fix a bug in split insn that causes segfault when number of split
   characters is equal to or larger than 256 bytes
 - fix a bug of BGM loop on Android
 - fix a bug of gettag insn
 - fix a bug that LUA cannot recognize scripts which include '\'
   in the second byte of Shift-JIS chars
 - implement getmclick insn, and also implement NSGetClick, NSGetMouse,
   NSDoEvents, NSSleep, NSSpCell, NSSp2GetInfo, NSSp2GetPos, NSSp2Load,
   and NSSp2Move insns for NSLua
 - use the latest SDK and NDK for Android on Linux
 - speed up extracting zip files on Android
2016-02-14 14:49:41 +00:00

52 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.41 2016/02/14 14:49:41 tsutsui Exp $
#
DISTNAME= onscripter-20150820
CATEGORIES= games
MASTER_SITES= http://onscripter.osdn.jp/
MAINTAINER= tsutsui@NetBSD.org
HOMEPAGE= http://onscripter.osdn.jp/onscripter.html
COMMENT= Interpreter to execute a script for NScripter
LICENSE= gnu-gpl-v2
USE_LANGUAGES= c++
INSTALLATION_DIRS= bin \
share/doc/onscripter
MAKE_FILE= Makefile.Linux
BUILD_TARGET= ALL
USE_TOOLS+= pkg-config
.include "options.mk"
SUBST_CLASSES+= fix
SUBST_STAGE.fix= pre-configure
SUBST_FILES.fix= ${MAKE_FILE}
SUBST_SED.fix= -e 's!@RM@!${RM}!g'
SUBST_SED.fix+= -e 's!@CXX@!${CXX:Q}!g'
SUBST_SED.fix+= -e 's!@LD@!${LD:Q}!g'
SUBST_SED.fix+= -e 's!@CXXFLAGS@!${CXXFLAGS:Q}!g'
SUBST_SED.fix+= -e 's!@PDA_DEFS@!${PDA_DEFS:Q}!g'
do-install:
.for f in nsaconv nsadec onscripter sarconv sardec
${INSTALL_PROGRAM} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/bin
.endfor
.for f in ogapee.css onscripter.html
${INSTALL_DATA} ${WRKSRC}/www/${f} ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
.endfor
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../audio/SDL_mixer/buildlink3.mk"
.include "../../devel/SDL_ttf/buildlink3.mk"
.include "../../fonts/fontconfig/buildlink3.mk"
.include "../../lang/lua/buildlink3.mk"
.include "../../graphics/SDL_image/buildlink3.mk"
.include "../../multimedia/smpeg/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"