summaryrefslogtreecommitdiff
path: root/graphics/gliv
diff options
context:
space:
mode:
authorwiz <wiz>2006-02-22 21:54:16 +0000
committerwiz <wiz>2006-02-22 21:54:16 +0000
commit416054c9c8a09768f2ec3c35cc4055333af3472e (patch)
tree1dfee7c4a761b1c41f0ba45f1e7201bb83e98339 /graphics/gliv
parent5ecb7f771eef08ab9bf4e4576186e1f87e3ce695 (diff)
downloadpkgsrc-416054c9c8a09768f2ec3c35cc4055333af3472e.tar.gz
Add missing xdg-dirs dependency. Make sure desktop file and
pixmap are installed even if some gnome installation tool is missing. Bump PKGREVISION.
Diffstat (limited to 'graphics/gliv')
-rw-r--r--graphics/gliv/Makefile9
-rw-r--r--graphics/gliv/PLIST4
2 files changed, 11 insertions, 2 deletions
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