36 lines
1.1 KiB
Makefile
36 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.40 2021/04/21 13:24:42 adam Exp $
|
|
|
|
DISTNAME= pingus-0.7.6
|
|
PKGREVISION= 7
|
|
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"
|