a19083df44
C++14 default language.
35 lines
979 B
Makefile
35 lines
979 B
Makefile
# $NetBSD: Makefile,v 1.8 2018/07/18 00:06:17 joerg Exp $
|
|
#
|
|
|
|
DISTNAME= powder117_src
|
|
PKGNAME= ${DISTNAME:S/_src//:S/powder/powder-/}
|
|
PKGREVISION= 1
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://www.zincland.com/powder/release/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.zincland.com/powder/index.php?pagename=about
|
|
COMMENT= Multiplatform roguelike game with graphics
|
|
LICENSE= powder-license
|
|
|
|
USE_LANGUAGES= c c++03
|
|
USE_TOOLS+= bash gmake
|
|
|
|
INSTALLATION_DIRS= bin share/doc/powder
|
|
|
|
REPLACE_BASH= buildall.sh gfx/rebuild.sh rooms/buildrooms.bash
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && ./buildall.sh
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/powder ${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/CREDITS.TXT \
|
|
${DESTDIR}${PREFIX}/share/doc/powder
|
|
${INSTALL_DATA} ${WRKSRC}/LICENSE.TXT \
|
|
${DESTDIR}${PREFIX}/share/doc/powder
|
|
${INSTALL_DATA} ${WRKSRC}/README.TXT \
|
|
${DESTDIR}${PREFIX}/share/doc/powder
|
|
|
|
.include "../../devel/SDL/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|