File:
[cvs.NetBSD.org] /
pkgsrc /
games /
fallingtime /
Makefile
Revision
1.5:
download - view:
text,
annotated -
select for diffs
Tue Aug 18 17:57:50 2020 UTC (4 years, 3 months ago) by
leot
Branches:
MAIN
CVS tags:
pkgsrc-2021Q2-base,
pkgsrc-2021Q2,
pkgsrc-2021Q1-base,
pkgsrc-2021Q1,
pkgsrc-2020Q4-base,
pkgsrc-2020Q4,
pkgsrc-2020Q3-base,
pkgsrc-2020Q3,
HEAD
*: revbump for libsndfile
# $NetBSD: Makefile,v 1.5 2020/08/18 17:57:50 leot Exp $
DISTNAME= fallingtime-1.0.2
PKGREVISION= 2
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_GITHUB:=cxong/}
GITHUB_PROJECT= FallingTime
MAINTAINER= cfkoch@edgebsd.org
HOMEPAGE= https://github.com/cxong/FallingTime
COMMENT= Arcade game inspired by Fall Down
LICENSE= gnu-gpl-v2
EXTRACT_USING= bsdtar
WRKSRC= ${WRKDIR}/${GITHUB_PROJECT}-${GITHUB_TAG}
USE_CMAKE= yes
USE_TOOLS+= pkg-config
USE_LANGUAGES= c99 c++
CMAKE_ARGS+= -DINSTALL_PREFIX=${PREFIX}/libexec
CMAKE_ARGS+= -DINSTALL_DATA_PREFIX=${PREFIX}/share/fallingtime
INSTALLATION_DIRS+= bin
INSTALLATION_DIRS+= share/applications
INSTALLATION_DIRS+= share/pixmaps
pre-configure:
${SED} -e 's,@@PREFIX@@,${PREFIX},g' \
${FILESDIR}/fallingtime.template > ${WRKDIR}/fallingtime
post-install:
${INSTALL_SCRIPT} ${WRKDIR}/fallingtime \
${DESTDIR}${PREFIX}/bin/fallingtime
${INSTALL_DATA} ${WRKSRC}/pkg/linux/io.github.cxong.fallingtime.desktop \
${DESTDIR}${PREFIX}/share/applications/fallingtime.desktop
${INSTALL_DATA} ${WRKSRC}/pkg/linux/fallingtime.png \
${DESTDIR}${PREFIX}/share/pixmaps/fallingtime.png
.include "../../devel/SDL2/buildlink3.mk"
.include "../../audio/SDL2_mixer/buildlink3.mk"
.include "../../fonts/SDL2_ttf/buildlink3.mk"
.include "../../graphics/SDL2_image/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>