pkgsrc/games/xbill/Makefile
joerg d26cf36e57 - fine grained X11 dependencies for packages which have either USE_IMAKE
or USE_X11BASE set, but don't include mk/x11.buildlink3.mk directly or
  via buildlink3.mks
- introduce BUILDLINK_PREFIX.libXpm as alias for BUILDLINK_PREFIX.xpm
  in the !modular case
- fix some cases where the check for libX11 couldn't work at all by using
  C++ for compilation without including the proper headers

Verified using a full X11_TYPE=xorg bulk build without additional
breakage. Discussed with salo@, wiz@ and send to packages@ for feedback.
2006-12-27 13:37:35 +00:00

39 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.29 2006/12/27 13:37:37 joerg Exp $
#
DISTNAME= xbill-2.0
PKGREVISION= 4
CATEGORIES= games x11
MASTER_SITES= ${MASTER_SITE_XCONTRIB:=games/}
EXTRACT_SUFX= .tgz
MAINTAINER= root@garbled.net
HOMEPAGE= http://www.xbill.org/
COMMENT= Stop the dreaded Windows virus from infecting computers
CONFLICTS+= gnome-games-[0-9]*
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
post-install:
${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"