summaryrefslogtreecommitdiff
path: root/games/dopewars
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2004-03-30 16:12:38 +0000
committerjmmv <jmmv@pkgsrc.org>2004-03-30 16:12:38 +0000
commit565b44de256ea5534717156ca4f3fa191e7c32fa (patch)
tree4ec77f86deb31b5cbddd47ae67f0c835e344a369 /games/dopewars
parent7fb4ff06bb7b856a61952f6a5c666ab555acbc76 (diff)
downloadpkgsrc-565b44de256ea5534717156ca4f3fa191e7c32fa.tar.gz
Do not install the .desktop file, which does not work anyway with the program
compiled w/o GTK support. This avoids a dependancy on gnome*-dirs (which is not actually here by a previous), so it can be installed correctly w/o X11. Closes PR pkg/20922.
Diffstat (limited to 'games/dopewars')
-rw-r--r--games/dopewars/Makefile4
-rw-r--r--games/dopewars/PLIST4
-rw-r--r--games/dopewars/distinfo4
-rw-r--r--games/dopewars/patches/patch-aa13
4 files changed, 17 insertions, 8 deletions
diff --git a/games/dopewars/Makefile b/games/dopewars/Makefile
index 71b4fea2cee..cf2b19a9861 100644
--- a/games/dopewars/Makefile
+++ b/games/dopewars/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.27 2004/03/30 14:55:27 jmmv Exp $
+# $NetBSD: Makefile,v 1.28 2004/03/30 16:12:38 jmmv Exp $
DISTNAME= dopewars-1.5.9
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dopewars/}
diff --git a/games/dopewars/PLIST b/games/dopewars/PLIST
index 5e1c1b61385..10a5f543c03 100644
--- a/games/dopewars/PLIST
+++ b/games/dopewars/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2004/03/08 19:40:38 jmmv Exp $
+@comment $NetBSD: PLIST,v 1.7 2004/03/30 16:12:38 jmmv Exp $
bin/dopewars
man/man6/dopewars.6
share/doc/${PKGNAME}/help/cops.html
@@ -37,7 +37,6 @@ share/dopewars/punch.wav
share/dopewars/run.wav
share/dopewars/shotdown.wav
share/dopewars/train.wav
-share/gnome/apps/Games/dopewars.desktop
${PKGLOCALEDIR}/locale/de/LC_MESSAGES/dopewars.mo
${PKGLOCALEDIR}/locale/es/LC_MESSAGES/dopewars.mo
${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/dopewars.mo
@@ -47,6 +46,7 @@ ${PKGLOCALEDIR}/locale/pt_BR/LC_MESSAGES/dopewars.mo
share/pixmaps/dopewars-pill.png
share/pixmaps/dopewars-shot.png
share/pixmaps/dopewars-weed.png
+@comment in xdg-dirs: @dirrm share/pixmaps
@dirrm share/dopewars
@dirrm share/doc/${PKGNAME}/help
@dirrm share/doc/${PKGNAME}
diff --git a/games/dopewars/distinfo b/games/dopewars/distinfo
index 0c386d736e0..56ce9c36bd2 100644
--- a/games/dopewars/distinfo
+++ b/games/dopewars/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.10 2004/02/13 23:44:12 snj Exp $
+$NetBSD: distinfo,v 1.11 2004/03/30 16:12:38 jmmv Exp $
SHA1 (dopewars-1.5.9.tar.gz) = e62b03d8341e75fd332169df34a8b1200a775c7e
Size (dopewars-1.5.9.tar.gz) = 1181836 bytes
-SHA1 (patch-aa) = 3441d372757119a0cb8292638ec1e4a3ac22cb62
+SHA1 (patch-aa) = 73ccc4bdb012a505a03a737c4aa02b5b6db76615
SHA1 (patch-ab) = eae9e2a5d448206a687c7d7691f83dc81cb03b93
SHA1 (patch-ac) = 529cf6e5b9f28a7fa547f81841c5199a1f8f84ae
SHA1 (patch-ad) = 471c30b8b8e75d687e7891037f2427cb8ee51c14
diff --git a/games/dopewars/patches/patch-aa b/games/dopewars/patches/patch-aa
index a8b35b4dc87..d72d2110db6 100644
--- a/games/dopewars/patches/patch-aa
+++ b/games/dopewars/patches/patch-aa
@@ -1,6 +1,6 @@
-$NetBSD: patch-aa,v 1.4 2002/12/06 16:50:03 jmmv Exp $
+$NetBSD: patch-aa,v 1.5 2004/03/30 16:12:38 jmmv Exp $
---- Makefile.in.orig Mon Oct 21 13:09:21 2002
+--- Makefile.in.orig 2003-06-06 21:19:21.000000000 +0200
+++ Makefile.in
@@ -132,10 +132,10 @@ am__quote = @am__quote@
install_sh = @install_sh@
@@ -15,3 +15,12 @@ $NetBSD: patch-aa,v 1.4 2002/12/06 16:50:03 jmmv Exp $
SCORE = ${SCOREDIR}/dopewars.sco
EXTRA_DIST = ABOUT-NLS LICENCE dopewars.desktop dopewars.spec.in depcomp \
runindent.sh win32/Makefile win32/README win32/contid.h \
+@@ -512,8 +512,6 @@ install-data-local:
+ @chgrp games ${SCORE} || chgrp wheel ${SCORE} || \
+ echo "Unable to change group ownership of the high score file"
+ chmod 0660 ${SCORE}
+- ${mkinstalldirs} ${DESKTOPDIR}
+- ${INSTALL} -m 0644 ${srcdir}/${DESKTOP} ${DESKTOPDIR}
+
+ uninstall-local:
+ /bin/rm -f ${SCORE} ${DESKTOPDIR}/${DESKTOP}