pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/gliv Add missing xdg-dirs dependency. Make su...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ab3326613037
branches:  trunk
changeset: 508638:ab3326613037
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Feb 22 21:54:16 2006 +0000

description:
Add missing xdg-dirs dependency. Make sure desktop file and
pixmap are installed even if some gnome installation tool is missing.
Bump PKGREVISION.

diffstat:

 graphics/gliv/Makefile |  9 ++++++++-
 graphics/gliv/PLIST    |  4 +++-
 2 files changed, 11 insertions(+), 2 deletions(-)

diffs (44 lines):

diff -r 18dd650fbbb2 -r ab3326613037 graphics/gliv/Makefile
--- a/graphics/gliv/Makefile    Wed Feb 22 21:42:05 2006 +0000
+++ b/graphics/gliv/Makefile    Wed Feb 22 21:54:16 2006 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.15 2006/02/15 17:49:32 drochner Exp $
+# $NetBSD: Makefile,v 1.16 2006/02/22 21:54:16 wiz Exp $
 
 DISTNAME=      gliv-1.9.4
+PKGREVISION=   1
 CATEGORIES=    graphics
 MASTER_SITES=  http://guichaz.free.fr/gliv/
 EXTRACT_SUFX=  .tar.bz2
@@ -11,10 +12,16 @@
 
 BUILD_USES_MSGFMT=     yes
 
+USE_DIRS+=             xdg-1.1
 USE_PKGLOCALEDIR=      yes
 USE_TOOLS+=            gmake
 GNU_CONFIGURE=         yes
 
+post-install:
+       ${INSTALL_DATA} ${WRKSRC}/gliv.png ${PREFIX}/share/pixmaps
+       ${INSTALL_DATA} ${WRKSRC}/gliv.desktop \
+               ${PREFIX}/share/applications/gnome-gliv.desktop
+
 .include "../../converters/libiconv/buildlink3.mk"
 .include "../../graphics/gtkglext/buildlink3.mk"
 .include "../../x11/gtk2/buildlink3.mk"
diff -r 18dd650fbbb2 -r ab3326613037 graphics/gliv/PLIST
--- a/graphics/gliv/PLIST       Wed Feb 22 21:42:05 2006 +0000
+++ b/graphics/gliv/PLIST       Wed Feb 22 21:54:16 2006 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2006/02/15 17:49:32 drochner Exp $
+@comment $NetBSD: PLIST,v 1.5 2006/02/22 21:54:16 wiz Exp $
 bin/gliv
 man/de/man1/gliv.1
 man/fr/man1/gliv.1
@@ -17,3 +17,5 @@
 ${PKGLOCALEDIR}/locale/tr/LC_MESSAGES/gliv.mo
 ${PKGLOCALEDIR}/locale/vi/LC_MESSAGES/gliv.mo
 share/pixmaps/gliv.png
+@comment in xdg-dirs: @dirrm share/pixmaps
+@comment in xdg-dirs: @dirrm share/applications



Home | Main Index | Thread Index | Old Index