pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/ggz-client-libs Add PKG_SYSCONFDIR support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3d8f79553a0d
branches:  trunk
changeset: 541851:3d8f79553a0d
user:      markd <markd%pkgsrc.org@localhost>
date:      Sat Apr 26 13:38:15 2008 +0000

description:
Add PKG_SYSCONFDIR support.

diffstat:

 games/ggz-client-libs/Makefile         |  10 +++++++++-
 games/ggz-client-libs/PLIST            |   7 ++++---
 games/ggz-client-libs/distinfo         |   3 ++-
 games/ggz-client-libs/patches/patch-ab |  16 ++++++++++++++++
 4 files changed, 31 insertions(+), 5 deletions(-)

diffs (89 lines):

diff -r 859022eaa153 -r 3d8f79553a0d games/ggz-client-libs/Makefile
--- a/games/ggz-client-libs/Makefile    Sat Apr 26 12:09:34 2008 +0000
+++ b/games/ggz-client-libs/Makefile    Sat Apr 26 13:38:15 2008 +0000
@@ -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_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 -r 859022eaa153 -r 3d8f79553a0d games/ggz-client-libs/PLIST
--- a/games/ggz-client-libs/PLIST       Sat Apr 26 12:09:34 2008 +0000
+++ b/games/ggz-client-libs/PLIST       Sat Apr 26 13:38:15 2008 +0000
@@ -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/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/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 -r 859022eaa153 -r 3d8f79553a0d games/ggz-client-libs/distinfo
--- a/games/ggz-client-libs/distinfo    Sat Apr 26 12:09:34 2008 +0000
+++ b/games/ggz-client-libs/distinfo    Sat Apr 26 13:38:15 2008 +0000
@@ -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 -r 859022eaa153 -r 3d8f79553a0d games/ggz-client-libs/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/ggz-client-libs/patches/patch-ab    Sat Apr 26 13:38:15 2008 +0000
@@ -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



Home | Main Index | Thread Index | Old Index