30 lines
1,023 B
Makefile
30 lines
1,023 B
Makefile
# $NetBSD: Makefile,v 1.15 2010/02/19 21:57:51 joerg Exp $
|
|
|
|
DISTNAME= xbomb-2.2
|
|
CATEGORIES= games x11
|
|
MASTER_SITES= http://www.gedanken.demon.co.uk/download-xbomb/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= adam@NetBSD.org
|
|
HOMEPAGE= http://www.gedanken.demon.co.uk/xbomb/
|
|
COMMENT= Square, hexagonal, and triangual minesweeper clone
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
USE_TOOLS+= gmake
|
|
BUILD_TARGET= xbomb
|
|
MAKE_ENV+= SCORE_PATH=${SCORE_PATH:Q}
|
|
INSTALL_MAKE_FLAGS+= INSTDIR=${DESTDIR}${PREFIX}
|
|
|
|
SETGIDGAME= yes
|
|
SCORE_PATH= ${VARBASE}/games/xbomb
|
|
|
|
SPECIAL_PERMS+= bin/xbomb ${SETGID_GAMES_PERMS}
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man6 lib/X11/app-defaults
|
|
CONF_FILES_PERMS+= /dev/null ${SCORE_PATH:Q}/xbomb3.hi ${GAMES_USER} ${GAMES_GROUP} ${GAMEDATAMODE}
|
|
CONF_FILES_PERMS+= /dev/null ${SCORE_PATH:Q}/xbomb4.hi ${GAMES_USER} ${GAMES_GROUP} ${GAMEDATAMODE}
|
|
CONF_FILES_PERMS+= /dev/null ${SCORE_PATH:Q}/xbomb6.hi ${GAMES_USER} ${GAMES_GROUP} ${GAMEDATAMODE}
|
|
|
|
.include "../../x11/libXaw/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|