summaryrefslogtreecommitdiff
path: root/games/xbill
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
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')
-rw-r--r--games/xbill/Makefile9
-rw-r--r--games/xbill/PLIST3
-rw-r--r--games/xbill/distinfo4
-rw-r--r--games/xbill/patches/patch-aa9
4 files changed, 15 insertions, 10 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"
diff --git a/games/xbill/PLIST b/games/xbill/PLIST
index ee111bef036..f54808983d2 100644
--- a/games/xbill/PLIST
+++ b/games/xbill/PLIST
@@ -1,6 +1,7 @@
-@comment $NetBSD: PLIST,v 1.1 2001/11/01 00:56:11 zuntum Exp $
+@comment $NetBSD: PLIST,v 1.2 2004/04/30 20:29:40 tv Exp $
bin/xbill
man/man6/xbill.6
+share/examples/xbill.scores
share/xbill/pixmaps/about.xpm
share/xbill/pixmaps/apple.xpm
share/xbill/pixmaps/billA_0.xpm
diff --git a/games/xbill/distinfo b/games/xbill/distinfo
index c5792971bc8..0440b3281f7 100644
--- a/games/xbill/distinfo
+++ b/games/xbill/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.5 2004/04/30 20:13:38 tv Exp $
+$NetBSD: distinfo,v 1.6 2004/04/30 20:29:40 tv Exp $
SHA1 (xbill-2.0.tgz) = 4ce4e37687801343af5f57c28498bd0b969c0537
Size (xbill-2.0.tgz) = 46909 bytes
-SHA1 (patch-aa) = fbbc8583fbbafa44af625ae46950d3e61906f6a8
+SHA1 (patch-aa) = 67f0bdeb4dc80bde68dbd99f2684c2d4908e0423
SHA1 (patch-ab) = 245573e1ea2223ed1bde91c16db81a658bfcc8f6
SHA1 (patch-ac) = c3dd487d0002f528f6726d268673bc11be0b24b6
diff --git a/games/xbill/patches/patch-aa b/games/xbill/patches/patch-aa
index 57b56e368e6..47781cfc902 100644
--- a/games/xbill/patches/patch-aa
+++ b/games/xbill/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.5 2004/04/30 20:13:12 tv Exp $
+$NetBSD: patch-aa,v 1.6 2004/04/30 20:29:40 tv Exp $
--- Imakefile.orig Thu Jan 23 11:38:35 1997
+++ Imakefile
@@ -37,17 +37,14 @@ $NetBSD: patch-aa,v 1.5 2004/04/30 20:13:12 tv Exp $
TARGET = xbill
-@@ -136,6 +133,12 @@ XBMS = bitmaps/apple.xbm \
+@@ -136,6 +133,9 @@ XBMS = bitmaps/apple.xbm \
ComplexProgramTarget($(TARGET))
-InstallProgramWithFlags(scores, $(XBILL_DIR), -m 777)
+install::
+ mkdir -p $(XBILL_DIR)
-+ if [ ! -d /var/games/xbill.scores ]; then \
-+ ${INSTALL} -c -m 0664 -o bin -g games scores /var/games/xbill.scores ; \
-+ fi
-+ ${INSTALL} -c -s -m 2755 -o bin -g games xbill $(PREFIX)/bin
++ ${INSTALL} -c -s -m 2755 -g games xbill $(PREFIX)/bin
+
InstallMultiple ($(XPMS), $(XBILL_DIR)pixmaps)
InstallMultiple ($(XBMS), $(XBILL_DIR)bitmaps)