summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/ggz-client-libs/Makefile10
-rw-r--r--games/ggz-client-libs/PLIST7
-rw-r--r--games/ggz-client-libs/distinfo3
-rw-r--r--games/ggz-client-libs/patches/patch-ab16
4 files changed, 31 insertions, 5 deletions
diff --git a/games/ggz-client-libs/Makefile b/games/ggz-client-libs/Makefile
index 1d9da288e81..ae1792ffdb4 100644
--- a/games/ggz-client-libs/Makefile
+++ b/games/ggz-client-libs/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1.1.1 2008/04/25 23:24:49 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2008/04/26 13:38:15 markd Exp $
#
DISTNAME= ggz-client-libs-0.0.14.1
+PKGREVISION= 1
CATEGORIES= games
MASTER_SITES= http://mirrors.ibiblio.org/pub/mirrors/ggzgamingzone/ggz/0.0.14.1/
@@ -14,6 +15,13 @@ USE_DIRS+= xdg-1.4
USE_LIBTOOL= yes
CONFIGURE_ARGS+= --enable-debug-gdb
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
+
+MAKE_DIRS+= ${PKG_SYSCONFDIR}/xdg/menus ${PKG_SYSCONFDIR}/xdg/menus/applications-merged
+CONF_FILES+= ${PREFIX}/share/examples/ggz-client-libs/ggz.menu \
+ ${PKG_SYSCONFDIR}/xdg/menus/ggz.menu
+CONF_FILES+= ${PREFIX}/share/examples/ggz-client-libs/ggz.merge.menu \
+ ${PKG_SYSCONFDIR}/xdg/menus/ggz.merge.menu
.include "../../games/libggz/buildlink3.mk"
.include "../../textproc/expat/buildlink3.mk"
diff --git a/games/ggz-client-libs/PLIST b/games/ggz-client-libs/PLIST
index 48c3b914766..a9091bc827d 100644
--- a/games/ggz-client-libs/PLIST
+++ b/games/ggz-client-libs/PLIST
@@ -1,9 +1,7 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2008/04/25 23:24:49 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2008/04/26 13:38:15 markd Exp $
bin/ggz
bin/ggz-config
bin/ggz-wrapper
-etc/xdg/menus/applications-merged/ggz.merge.menu
-etc/xdg/menus/ggz.menu
include/ggzcore.h
include/ggzmod.h
lib/ggz/ggzwrap
@@ -19,6 +17,8 @@ man/man6/ggz.6
man/man7/ggz.7
share/desktop-directories/ggz-games.directory
share/desktop-directories/ggz.directory
+share/examples/ggz-client-libs/ggz.menu
+share/examples/ggz-client-libs/ggz.merge.menu
share/locale/ar/LC_MESSAGES/ggzcore.mo
share/locale/bg/LC_MESSAGES/ggzcore.mo
share/locale/ca/LC_MESSAGES/ggzcore.mo
@@ -55,5 +55,6 @@ share/locale/vi/LC_MESSAGES/ggzcore.mo
share/locale/zh_CN/LC_MESSAGES/ggzcore.mo
share/locale/zh_HK/LC_MESSAGES/ggzcore.mo
share/locale/zh_TW/LC_MESSAGES/ggzcore.mo
+@dirrm share/examples/ggz-client-libs
@comment in xdg-dirs: @dirrm share/desktop-directories
@dirrm lib/ggz
diff --git a/games/ggz-client-libs/distinfo b/games/ggz-client-libs/distinfo
index 2c4a0808fca..787b3cdf396 100644
--- a/games/ggz-client-libs/distinfo
+++ b/games/ggz-client-libs/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1.1.1 2008/04/25 23:24:49 wiz Exp $
+$NetBSD: distinfo,v 1.2 2008/04/26 13:38:15 markd Exp $
SHA1 (ggz-client-libs-0.0.14.1.tar.gz) = 1328095d0f7e3415e1748208438127f0ee67a573
RMD160 (ggz-client-libs-0.0.14.1.tar.gz) = b7a0e3b63261b3f8ff725eae212ecf0001c46fa8
Size (ggz-client-libs-0.0.14.1.tar.gz) = 614117 bytes
SHA1 (patch-aa) = e4cbdca57a8d2e82802228c851f97230698f9160
+SHA1 (patch-ab) = cd815b923b5d0992bf08d444afdb141c1c974c56
diff --git a/games/ggz-client-libs/patches/patch-ab b/games/ggz-client-libs/patches/patch-ab
new file mode 100644
index 00000000000..77d4db4d4e2
--- /dev/null
+++ b/games/ggz-client-libs/patches/patch-ab
@@ -0,0 +1,16 @@
+$NetBSD: patch-ab,v 1.1 2008/04/26 13:38:15 markd Exp $
+
+--- desktop/Makefile.in.orig 2008-02-17 10:45:45.000000000 +1300
++++ desktop/Makefile.in
+@@ -184,9 +184,9 @@ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+ desktopdirectoriesdir = $(datadir)/desktop-directories
+ desktopdirectories_DATA = ggz.directory ggz-games.directory
+-desktopmenudir = $(sysconfdir)/xdg/menus
++desktopmenudir = $(datadir)/examples/ggz-client-libs
+ desktopmenu_DATA = ggz.menu
+-desktopmergedir = $(sysconfdir)/xdg/menus/applications-merged
++desktopmergedir = $(desktopmenudir)
+ desktopmerge_DATA = ggz.merge.menu
+ EXTRA_DIST = $(desktopdirectories_DATA) $(desktopmenu_DATA) $(desktopmerge_DATA)
+ all: all-am