2018-01-14 16:26:46 +01:00
|
|
|
# $NetBSD: Makefile,v 1.35 2018/01/14 15:26:48 rillig Exp $
|
1998-08-15 16:19:52 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= xbill-2.0
|
2010-02-19 23:02:04 +01:00
|
|
|
PKGREVISION= 6
|
1998-08-15 16:19:52 +02:00
|
|
|
CATEGORIES= games x11
|
1999-04-15 22:39:38 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_XCONTRIB:=games/}
|
1998-08-15 16:19:52 +02:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2008-01-19 10:16:17 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
1999-12-29 18:15:17 +01:00
|
|
|
HOMEPAGE= http://www.xbill.org/
|
2003-07-21 18:45:54 +02:00
|
|
|
COMMENT= Stop the dreaded Windows virus from infecting computers
|
1998-08-15 16:19:52 +02:00
|
|
|
|
2010-02-19 23:02:04 +01:00
|
|
|
SETGIDGAME= yes
|
2009-07-08 19:03:51 +02:00
|
|
|
|
2005-10-24 00:57:55 +02:00
|
|
|
CONFLICTS+= gnome-games-[0-9]*
|
2000-11-27 15:13:06 +01:00
|
|
|
|
2006-05-15 23:00:13 +02:00
|
|
|
USE_LANGUAGES= c c++
|
2000-08-24 01:14:21 +02:00
|
|
|
USE_IMAKE= YES
|
|
|
|
NO_INSTALL_MANPAGES= YES
|
1998-08-15 16:19:52 +02:00
|
|
|
|
2005-06-14 19:23:24 +02:00
|
|
|
CPPFLAGS+= -DVARBASE=\"${VARBASE}\"
|
2006-12-14 15:05:48 +01:00
|
|
|
CPPFLAGS.SunOS+= -DXBILL_HOME=\"${PREFIX}/share/xbill/\"
|
2005-06-14 19:14:08 +02:00
|
|
|
PKG_GROUPS= ${GAMEGRP}
|
2010-02-19 23:02:04 +01:00
|
|
|
MAKE_DIRS_PERMS+= ${VARBASE}/games ${GAMES_USER} ${GAMES_GROUP} ${GAMEDIRMODE}
|
2005-10-24 00:57:55 +02:00
|
|
|
MAKE_ENV+= GAMEOWN=${GAMEOWN:Q}
|
|
|
|
MAKE_ENV+= GAMEGRP=${GAMEGRP:Q}
|
2018-01-14 16:26:46 +01:00
|
|
|
MAKE_ENV+= GAMEMODE=${GAMEMODE}
|
2010-02-19 23:02:04 +01:00
|
|
|
CONF_FILES_PERMS+= ${PREFIX}/share/examples/xbill.scores \
|
|
|
|
${VARBASE}/games/xbill.scores \
|
|
|
|
${GAMES_USER} ${GAMES_GROUP} ${GAMEDATAMODE}
|
2004-04-30 22:29:40 +02:00
|
|
|
|
2006-12-27 14:37:35 +01:00
|
|
|
INSTALLATION_DIRS+= ${PKGMANDIR}/man6 share/examples
|
2006-12-09 18:14:05 +01:00
|
|
|
|
1998-08-15 16:19:52 +02:00
|
|
|
post-install:
|
2009-07-08 19:03:51 +02:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/xbill.man ${DESTDIR}${PREFIX}/${PKGMANDIR}/man6/xbill.6
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/scores ${DESTDIR}${PREFIX}/share/examples/xbill.scores
|
1998-08-15 16:19:52 +02:00
|
|
|
|
2006-12-27 14:37:35 +01:00
|
|
|
.include "../../x11/libXaw/buildlink3.mk"
|
2006-12-15 21:32:52 +01:00
|
|
|
.include "../../x11/libXpm/buildlink3.mk"
|
2006-12-27 14:37:35 +01:00
|
|
|
.include "../../x11/libXt/buildlink3.mk"
|
1998-08-15 16:19:52 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|