summaryrefslogtreecommitdiff
path: root/x11/gnome-control-center
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/gnome-control-center
parentf1b924fda77b6920565e56f54c9391b4dc68f8ca (diff)
downloadpkgsrc-d8368bbc25c90072a19b5e48f0fba26251b6877f.tar.gz
Add DESTDIR support.
Diffstat (limited to 'x11/gnome-control-center')
-rw-r--r--x11/gnome-control-center/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/x11/gnome-control-center/Makefile b/x11/gnome-control-center/Makefile
index ce4a816c424..fbe648479df 100644
--- a/x11/gnome-control-center/Makefile
+++ b/x11/gnome-control-center/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2008/05/29 11:28:46 drochner Exp $
+# $NetBSD: Makefile,v 1.12 2008/06/20 01:09:44 joerg Exp $
#
DISTNAME= gnome-control-center-2.22.2.1
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnome.org/
COMMENT= GNOME2 configuration utility
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
USE_DIRS+= gnome2-1.6
USE_PKGLOCALEDIR= yes
@@ -30,6 +32,8 @@ INSTALL_MAKE_FLAGS+= vfsmoduleconfdir=${PREFIX}/share/examples/${PKGBASE}
INSTALL_MAKE_FLAGS+= menudir=${PREFIX}/share/examples/${PKGBASE}
INSTALL_MAKE_FLAGS+= autostartdir=${PREFIX}/share/applications
+INSTALLATION_DIRS= ${EGDIR}
+
GCONF_SCHEMAS+= control-center.schemas
GCONF_SCHEMAS+= themus.schemas
GCONF_SCHEMAS+= fontilus.schemas
@@ -98,10 +102,9 @@ PLIST.evolution= yes
.include "../../sysutils/gnome-settings-daemon/buildlink3.mk"
post-install:
- ${INSTALL_DATA_DIR} ${EGDIR}
${INSTALL_DATA} ${WRKSRC}/vfs-methods/themus/theme-method.conf \
- ${EGDIR}
+ ${DESTDIR}${EGDIR}
${INSTALL_DATA} ${WRKSRC}/vfs-methods/fontilus/font-method.conf \
- ${EGDIR}
+ ${DESTDIR}${EGDIR}
.include "../../mk/bsd.pkg.mk"