From 416054c9c8a09768f2ec3c35cc4055333af3472e Mon Sep 17 00:00:00 2001 From: wiz Date: Wed, 22 Feb 2006 21:54:16 +0000 Subject: Add missing xdg-dirs dependency. Make sure desktop file and pixmap are installed even if some gnome installation tool is missing. Bump PKGREVISION. --- graphics/gliv/Makefile | 9 ++++++++- graphics/gliv/PLIST | 4 +++- 2 files changed, 11 insertions(+), 2 deletions(-) (limited to 'graphics/gliv') diff --git a/graphics/gliv/Makefile b/graphics/gliv/Makefile index a25ea301c90..579e73ecb8d 100644 --- a/graphics/gliv/Makefile +++ b/graphics/gliv/Makefile @@ -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 @@ COMMENT= OpenGL image viewer 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 --git a/graphics/gliv/PLIST b/graphics/gliv/PLIST index f541644a757..16c10a3df9d 100644 --- a/graphics/gliv/PLIST +++ b/graphics/gliv/PLIST @@ -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/sk/LC_MESSAGES/gliv.mo ${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 -- cgit v1.2.3