summaryrefslogtreecommitdiff
path: root/games/xbill/Makefile
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2004-04-30 20:29:40 +0000
committertv <tv@pkgsrc.org>2004-04-30 20:29:40 +0000
commita5a94542f02120d397d0f50d111310d778e6082b (patch)
tree95d4113453d6073b1e7e593ce68827411556e1a8 /games/xbill/Makefile
parent8ee28b6caebdf44d37a4f1022e3e1c49b9a0dd75 (diff)
downloadpkgsrc-a5a94542f02120d397d0f50d111310d778e6082b.tar.gz
nb1:
* Make sure the group "games" exists. * Use MAKE_DIRS_PERMS to make sure "/var/games" exists. * Use SUPPORT_FILES_PERMS to install the scorefile to /var/games.
Diffstat (limited to 'games/xbill/Makefile')
-rw-r--r--games/xbill/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/games/xbill/Makefile b/games/xbill/Makefile
index 5af0f73351c..c3181aacedf 100644
--- a/games/xbill/Makefile
+++ b/games/xbill/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.12 2004/03/10 00:09:13 snj Exp $
+# $NetBSD: Makefile,v 1.13 2004/04/30 20:29:40 tv Exp $
#
DISTNAME= xbill-2.0
+PKGREVISION= 1
CATEGORIES= games x11
MASTER_SITES= ${MASTER_SITE_XCONTRIB:=games/}
EXTRACT_SUFX= .tgz
@@ -14,10 +15,16 @@ CONFLICT= gnome-games-[0-9]*
USE_BUILDLINK3= YES
USE_IMAKE= YES
+USE_PKGINSTALL= YES
NO_INSTALL_MANPAGES= YES
+PKG_GROUPS= games
+MAKE_DIRS_PERMS+= /var/games 0775 ${BINOWN} games
+SUPPORT_FILES_PERMS+= ${PREFIX}/share/examples/xbill.scores /var/games/xbill.scores ${BINOWN} games 0664
+
post-install:
${INSTALL_MAN} ${WRKSRC}/xbill.man ${PREFIX}/man/man6/xbill.6
+ ${INSTALL_DATA} ${WRKSRC}/scores ${PREFIX}/share/examples/xbill.scores
.include "../../graphics/xpm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"