From 3b0d97b0de8516db29699676c860489da3f7f0e1 Mon Sep 17 00:00:00 2001 From: joerg Date: Fri, 20 Jun 2008 01:09:05 +0000 Subject: Add DESTDIR support. --- x11/gdm/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'x11/gdm') 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" -- cgit v1.2.3