summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2007-06-15 22:15:11 +0000
committerwiz <wiz@pkgsrc.org>2007-06-15 22:15:11 +0000
commit300d08ab0013d5e1916a6c9d5f0d3bb6f879b75d (patch)
treecb170b89207646ca42a51615aa2897ca5f9354ea /games
parent5e2c8b04d1b5e85a36324ebcc83fd39c50c0e633 (diff)
downloadpkgsrc-300d08ab0013d5e1916a6c9d5f0d3bb6f879b75d.tar.gz
From Sergey Svishchev:
DTRT when SETGIDGAME=yes Bump PKGREVISION.
Diffstat (limited to 'games')
-rw-r--r--games/gtkballs/Makefile13
-rw-r--r--games/gtkballs/distinfo3
-rw-r--r--games/gtkballs/patches/patch-ab13
3 files changed, 23 insertions, 6 deletions
diff --git a/games/gtkballs/Makefile b/games/gtkballs/Makefile
index 300f5eba04e..c0e9a046ea6 100644
--- a/games/gtkballs/Makefile
+++ b/games/gtkballs/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.25 2006/07/17 18:37:45 wiz Exp $
+# $NetBSD: Makefile,v 1.26 2007/06/15 22:15:11 wiz Exp $
DISTNAME= gtkballs-3.1.5
-PKGREVISION= 4
+PKGREVISION= 5
CATEGORIES= games
MASTER_SITES= http://gtkballs.antex.ru/dist/
@@ -15,13 +15,16 @@ CONFIGURE_ARGS+= --localstatedir=${VARBASE}/games
USE_TOOLS+= gmake pkg-config
USE_PKGLOCALEDIR= yes
+BUILD_DEFS+= GAMEDATAMODE
+BUILD_DEFS+= VARBASE
+
PLIST_SUBST+= VARBASE=${VARBASE:Q}
-CONF_FILES_PERMS+= /dev/null ${PREFIX}/${GAMES_DIR}/gtkballs-scores \
- ${ROOT_USER} games 664
+CONF_FILES_PERMS+= /dev/null ${VARBASE}/games/gtkballs-scores \
+ ${GAMEOWN} ${GAMEGRP} ${GAMEDATAMODE}
post-install:
- ${MV} ${PREFIX}/${PKGMANDIR}/man6/gtkballs.6x ${PREFIX}/${PKGMANDIR}/man6/gtkballs.6
+ mv ${PREFIX}/${PKGMANDIR}/man6/gtkballs.6x ${PREFIX}/${PKGMANDIR}/man6/gtkballs.6
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
diff --git a/games/gtkballs/distinfo b/games/gtkballs/distinfo
index d844db47b49..9b018bccb07 100644
--- a/games/gtkballs/distinfo
+++ b/games/gtkballs/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.9 2005/02/23 23:11:59 agc Exp $
+$NetBSD: distinfo,v 1.10 2007/06/15 22:15:12 wiz Exp $
SHA1 (gtkballs-3.1.5.tar.gz) = 778955036dc067d5b997ef351399d6ed050adc15
RMD160 (gtkballs-3.1.5.tar.gz) = d3e103d9cd21e4b9fb950d95fac45db66cb92a5e
Size (gtkballs-3.1.5.tar.gz) = 1176977 bytes
SHA1 (patch-aa) = 559aeb861f4bcc0a5db0fea970e7811d57359b29
+SHA1 (patch-ab) = d993a646e8fb7dc85276a0307777c05bab5dc4ef
diff --git a/games/gtkballs/patches/patch-ab b/games/gtkballs/patches/patch-ab
new file mode 100644
index 00000000000..6493d1e8e54
--- /dev/null
+++ b/games/gtkballs/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2007/06/15 22:15:13 wiz Exp $
+
+--- src/Makefile.in.orig 2004-11-16 12:16:48.000000000 +0000
++++ src/Makefile.in
+@@ -201,7 +201,7 @@ $(srcdir)/Makefile.in: Makefile.am $(t
+ $(AUTOMAKE) --gnu src/Makefile
+ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+-binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
++binPROGRAMS_INSTALL = ${BSD_INSTALL_GAME}
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ @$(NORMAL_INSTALL)
+ $(mkinstalldirs) $(DESTDIR)$(bindir)