File:  [cvs.NetBSD.org] / pkgsrc / games / naev / Makefile
Revision 1.4: download - view: text, annotated - select for diffs
Fri May 22 10:56:09 2020 UTC (4 years, 6 months ago) by adam
Branches: MAIN
CVS tags: HEAD
revbump after updating security/nettle

# $NetBSD: Makefile,v 1.4 2020/05/22 10:56:09 adam Exp $

DISTNAME=	naev-0.7.0
PKGREVISION=	3
CATEGORIES=	games
MASTER_SITES=	${MASTER_SITE_GITHUB:=naev/}
GITHUB_TAG=	naev-${PKGVERSION_NOREV}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://github.com/naev/naev
COMMENT=	2D space trading and combat game
LICENSE=	gnu-gpl-v3

USE_TOOLS+=	autoreconf autoconf automake
USE_TOOLS+=	pkg-config
GNU_CONFIGURE=	yes

TOOL_DEPENDS+=	zip-[0-9]*:../../archivers/zip

BUILD_TARGET=	all ndata.zip
INSTALL_TARGET=	install install-ndata

CONFIGURE_ARGS+=	--enable-debug=no
CONFIGURE_ARGS+=	--enable-lua=shared
CONFIGURE_ARGS+=	--disable-sdltest

SUBST_CLASSES+=		ndata
SUBST_STAGE.ndata=	pre-configure
SUBST_FILES.ndata=	src/ndata.c
SUBST_SED.ndata=	-e "s,@DATADIR@,${PREFIX}/share/naev,"

pre-configure:
	cd ${WRKSRC} && ${SH} autogen.sh

.include "../../archivers/libzip/buildlink3.mk"
.include "../../audio/openal-soft/buildlink3.mk"
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../audio/SDL2_mixer/buildlink3.mk"
.include "../../devel/SDL2/buildlink3.mk"
.include "../../graphics/SDL2_image/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/glu/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../lang/lua51/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>