summaryrefslogtreecommitdiff
path: root/x11/gdm/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg>2008-06-20 01:09:05 +0000
committerjoerg <joerg>2008-06-20 01:09:05 +0000
commit7d15c2c527b0cb171788f5360a5baca8cd9db73e (patch)
treebb388f6b2532587595653e67cce25229ed050cb8 /x11/gdm/Makefile
parent534b5bd9ce0ca747418c84f41f29a7fd1e7121a2 (diff)
downloadpkgsrc-7d15c2c527b0cb171788f5360a5baca8cd9db73e.tar.gz
Add DESTDIR support.
Diffstat (limited to 'x11/gdm/Makefile')
-rw-r--r--x11/gdm/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/x11/gdm/Makefile b/x11/gdm/Makefile
index 6f3f0b50832..4fa63c34e08 100644
--- a/x11/gdm/Makefile
+++ b/x11/gdm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.141 2008/05/29 17:21:45 drochner Exp $
+# $NetBSD: Makefile,v 1.142 2008/06/20 01:09:44 joerg Exp $
#
DISTNAME= gdm-2.20.6
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnome.org/
COMMENT= Gnome Display Manager - a re-implementation of the xdm program
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= zenity>=2.16.0:../../x11/zenity
BUILDLINK_API_DEPENDS.libart+= libart>=2.3.11
@@ -151,8 +153,8 @@ PRINT_PLIST_AWK+= /gdmopen/ { print "$${GDMOPEN}" $$0; next }
.include "../../x11/gtk2/buildlink3.mk"
post-install:
- ${INSTALL_DATA} ${FILESDIR}/NetBSD.xpm ${PREFIX}/share/pixmaps
+ ${INSTALL_DATA} ${FILESDIR}/NetBSD.xpm ${DESTDIR}${PREFIX}/share/pixmaps
${INSTALL_DATA} ${FILESDIR}/custom.desktop \
- ${PREFIX}/share/gdm/BuiltInSessions
+ ${DESTDIR}${PREFIX}/share/gdm/BuiltInSessions
.include "../../mk/bsd.pkg.mk"