summaryrefslogtreecommitdiff
path: root/graphics/gliv/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/gliv/Makefile')
-rw-r--r--graphics/gliv/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/graphics/gliv/Makefile b/graphics/gliv/Makefile
index 9160caad325..74a5865312a 100644
--- a/graphics/gliv/Makefile
+++ b/graphics/gliv/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2006/11/24 15:44:25 drochner Exp $
+# $NetBSD: Makefile,v 1.23 2008/06/20 01:09:22 joerg Exp $
DISTNAME= gliv-1.9.6
CATEGORIES= graphics
@@ -9,15 +9,19 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://guichaz.free.fr/gliv/
COMMENT= OpenGL image viewer
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_DIRS+= xdg-1.1
USE_PKGLOCALEDIR= yes
USE_TOOLS+= gmake msgfmt pkg-config
GNU_CONFIGURE= yes
+INSTALLATION_DIRS= share/pixmaps share/applications
+
post-install:
- ${INSTALL_DATA} ${WRKSRC}/gliv.png ${PREFIX}/share/pixmaps
+ ${INSTALL_DATA} ${WRKSRC}/gliv.png ${DESTDIR}${PREFIX}/share/pixmaps
${INSTALL_DATA} ${WRKSRC}/gliv.desktop \
- ${PREFIX}/share/applications/gnome-gliv.desktop
+ ${DESTDIR}${PREFIX}/share/applications/gnome-gliv.desktop
.include "../../converters/libiconv/buildlink3.mk"
.include "../../graphics/gtkglext/buildlink3.mk"