pkgsrc/games/svb/Makefile
jschauma 4d11093c8c Use INSTALL_GAME_DATA as well as GAMEOWN, GAMEGRP and GAMEMODE instead
of hardcoding the values.  Partially addresses PR pkg/26236.
2004-08-04 03:06:55 +00:00

22 lines
619 B
Makefile

# $NetBSD: Makefile,v 1.9 2004/08/04 03:08:01 jschauma Exp $
DISTNAME= svb
PKGNAME= svb-1.0
CATEGORIES= games x11
MASTER_SITES= http://src.doc.ic.ac.uk/public/computing/graphics/systems/X11/R5contrib/
EXTRACT_SUFX= .shar.Z
MAINTAINER= root@garbled.net
COMMENT= Spy Vs. Bob, the timeless classic
WRKSRC= ${WRKDIR}
USE_IMAKE= yes
NO_INSTALL_MANPAGES= yes
post-install:
${INSTALL_GAME_DATA} /dev/null /var/games/svb.scorefile
${CHOWN} ${GAMEOWN}:${GAMEGRP} ${PREFIX}/bin/svb
${CHMOD} ${GAMEMODE} ${PREFIX}/bin/svb
${INSTALL_MAN} ${WRKSRC}/svb.man ${PREFIX}/man/man6/svb.6
.include "../../mk/bsd.pkg.mk"