diff options
author | joerg <joerg@pkgsrc.org> | 2008-06-20 01:09:05 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-06-20 01:09:05 +0000 |
commit | 3b0d97b0de8516db29699676c860489da3f7f0e1 (patch) | |
tree | bb388f6b2532587595653e67cce25229ed050cb8 /graphics/gliv/Makefile | |
parent | 10abca39942a8f34d088f39ccc073fee44271274 (diff) | |
download | pkgsrc-3b0d97b0de8516db29699676c860489da3f7f0e1.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'graphics/gliv/Makefile')
-rw-r--r-- | graphics/gliv/Makefile | 10 |
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" |