summaryrefslogtreecommitdiff
path: root/x11/gdm
diff options
context:
space:
mode:
authorjoerg <joerg>2008-06-20 01:09:05 +0000
committerjoerg <joerg>2008-06-20 01:09:05 +0000
commitd8368bbc25c90072a19b5e48f0fba26251b6877f (patch)
treebb388f6b2532587595653e67cce25229ed050cb8 /x11/gdm
parentf1b924fda77b6920565e56f54c9391b4dc68f8ca (diff)
downloadpkgsrc-d8368bbc25c90072a19b5e48f0fba26251b6877f.tar.gz
Add DESTDIR support.
Diffstat (limited to 'x11/gdm')
-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"