[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / games / onscripter

File: [cvs.NetBSD.org] / pkgsrc / games / onscripter / Makefile (download)

Revision 1.46, Thu Nov 21 13:05:29 2019 UTC (8 months, 2 weeks ago) by tsutsui
Branch: MAIN
CVS Tags: pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, HEAD
Changes since 1.45: +2 -2 lines

onscripter: update to 20191116.

Upstream changes:

20191116
 - Support Ponscripter's extension, reading archives from a patch directory.

# $NetBSD: Makefile,v 1.46 2019/11/21 13:05:29 tsutsui Exp $
#

DISTNAME=		onscripter-20191116
CATEGORIES=		games
MASTER_SITES=		https://onscripter.osdn.jp/

MAINTAINER=		tsutsui@NetBSD.org
HOMEPAGE=		https://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_VARS.fix=		RM
SUBST_VARS.fix+=	CXX
SUBST_VARS.fix+=	LD
SUBST_VARS.fix+=	CXXFLAGS
SUBST_VARS.fix+=	PDA_DEFS

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"