summaryrefslogtreecommitdiff
path: root/games/pingus/Makefile
blob: 5905f1f97f019a04466fd232329b046de139a216 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# $NetBSD: Makefile,v 1.36 2019/08/22 12:23:14 ryoon Exp $

DISTNAME=	pingus-0.7.6
PKGREVISION=	3
CATEGORIES=	games
MASTER_SITES=	${MASTER_SITE_GITHUB:=Pingus/}
GITHUB_TAG=	v${PKGVERSION_NOREV}

MAINTAINER=	triaxx@NetBSD.org
HOMEPAGE=	https://pingus.seul.org/
COMMENT=	Lemmings(TM) Clone
LICENSE=	gnu-gpl-v3

BUILD_TARGET=	build/pingus
MAKE_ENV+=	FIND=${TOOLS_CMD.find:Q} MKDIR=${TOOLS_CMD.mkdir:Q}
MAKE_ENV+=	RM=${TOOLS_CMD.rm:Q} SCONSBIN=${SCONSBIN:Q}
#NO_CONFIGURE=	yes
USE_LANGUAGES=	c c++11
USE_TOOLS=	pkg-config

DATADIR=	${PREFIX}/share/pingus

SUBST_CLASSES+=		data
SUBST_MESSAGE.data=	Set default --datadir for pingus executable to ${DATADIR}
SUBST_STAGE.data=	pre-configure
SUBST_FILES.data=	src/pingus/pingus_main.cpp
SUBST_VARS.data=	DATADIR

.include "../../audio/SDL_mixer/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/boost-libs/buildlink3.mk"
PYTHON_FOR_BUILD_ONLY?=	yes
.include "../../devel/scons/buildlink3.mk"
.include "../../graphics/SDL_image/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"