File:  [cvs.NetBSD.org] / pkgsrc / games / xpipeman / Makefile
Revision 1.17: download - view: text, annotated - select for diffs
Tue Mar 4 06:59:06 2008 UTC (16 years, 9 months ago) by jlam
Branches: MAIN
CVS tags: pkgsrc-2008Q1-base, pkgsrc-2008Q1, HEAD
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.

# $NetBSD: Makefile,v 1.17 2008/03/04 06:59:06 jlam Exp $
#

DISTNAME=	xpipeman-1.5
PKGREVISION=	2
CATEGORIES=	games x11
MASTER_SITES=	${MASTER_SITE_SUNSITE:=games/strategy/}

MAINTAINER=	pkgsrc-users@NetBSD.org
# HOMEPAGE=	http://www.spinne.com/x/games/xpipeman/
# domain squatted, page last updated 1999
COMMENT=	Connect the pipes to contain the water flow game for X11

PKG_DESTDIR_SUPPORT=	user-destdir

WRKSRC=		${WRKDIR}/xpipeman
USE_IMAKE=	yes

SETGIDGAME=		yes
CONF_FILES_PERMS=	share/xpipeman/xpipescores /var/games/xpipescores \
			${GAMES_USER} ${GAMES_GROUP} ${GAMEDATAMODE}
SPECIAL_PERMS=		bin/xpipeman ${SETGID_GAMES_PERMS}
REQD_DIRS_PERMS=	share/xpipeman ${GAMES_USER} ${GAMES_GROUP} ${GAMEDIRMODE}

INSTALLATION_DIRS=	bin ${PKGMANDIR}/man6

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/xpipeman ${DESTDIR}${PREFIX}/bin/xpipeman
	${INSTALL_MAN} ${WRKSRC}/xpipeman.man \
		${DESTDIR}${PREFIX}/${PKGMANDIR}/man6/xpipeman.6
	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/xpipeman
	${INSTALL_DATA} ${WRKSRC}/xpipescores ${DESTDIR}${PREFIX}/share/xpipeman

.include "../../x11/libXaw/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>