summaryrefslogtreecommitdiff
path: root/graphics/gliv
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2006-02-22 21:54:16 +0000
committerwiz <wiz@pkgsrc.org>2006-02-22 21:54:16 +0000
commit0aa3eb46e0d1790359b1fe7a9445bff065c0ad0d (patch)
tree1dfee7c4a761b1c41f0ba45f1e7201bb83e98339 /graphics/gliv
parente643466c5dc14546d3da3f060ced648d85b1a2f6 (diff)
downloadpkgsrc-0aa3eb46e0d1790359b1fe7a9445bff065c0ad0d.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