pkgsrc/games/xbill/Makefile

40 lines
1.2 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.31 2008/11/10 17:21:35 wiz Exp $
#
DISTNAME= xbill-2.0
PKGREVISION= 5
CATEGORIES= games x11
MASTER_SITES= ${MASTER_SITE_XCONTRIB:=games/}
EXTRACT_SUFX= .tgz
2008-01-19 10:16:17 +01:00
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.xbill.org/
COMMENT= Stop the dreaded Windows virus from infecting computers
CONFLICTS+= gnome-games-[0-9]*
2006-05-15 23:00:13 +02:00
USE_LANGUAGES= c c++
USE_IMAKE= YES
NO_INSTALL_MANPAGES= YES
CPPFLAGS+= -DVARBASE=\"${VARBASE}\"
CPPFLAGS.SunOS+= -DXBILL_HOME=\"${PREFIX}/share/xbill/\"
PKG_USERS= ${GAMEOWN}:${GAMEGRP}
PKG_GROUPS= ${GAMEGRP}
MAKE_DIRS_PERMS+= ${VARBASE}/games ${GAMEOWN} ${GAMEGRP} 0775
MAKE_ENV+= GAMEOWN=${GAMEOWN:Q}
MAKE_ENV+= GAMEGRP=${GAMEGRP:Q}
MAKE_ENV+= GAMEMODE=${GAMEMODE:Q}
CONF_FILES_PERMS+= ${PREFIX}/share/examples/xbill.scores ${VARBASE}/games/xbill.scores ${GAMEOWN} ${GAMEGRP} ${GAMEDATAMODE}
INSTALLATION_DIRS+= ${PKGMANDIR}/man6 share/examples
2006-12-09 18:14:05 +01:00
post-install:
2006-11-05 19:08:17 +01:00
${INSTALL_MAN} ${WRKSRC}/xbill.man ${PREFIX}/${PKGMANDIR}/man6/xbill.6
${INSTALL_DATA} ${WRKSRC}/scores ${PREFIX}/share/examples/xbill.scores
.include "../../x11/libXaw/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"