summaryrefslogtreecommitdiff
path: root/x11/gtk2-theme-switch/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-07-07 18:21:47 +0000
committerjoerg <joerg@pkgsrc.org>2009-07-07 18:21:47 +0000
commit46c823cbded95973cb0b1d73a96d63a4cb2275c8 (patch)
tree001596c8d824751dd151f3e0b729ae9cf3a5f2ab /x11/gtk2-theme-switch/Makefile
parentff14ed19f71ddc2b9cdabcdf2bb89523f0cbd30e (diff)
downloadpkgsrc-46c823cbded95973cb0b1d73a96d63a4cb2275c8.tar.gz
user-destdir support
Diffstat (limited to 'x11/gtk2-theme-switch/Makefile')
-rw-r--r--x11/gtk2-theme-switch/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/x11/gtk2-theme-switch/Makefile b/x11/gtk2-theme-switch/Makefile
index 2e2bf563d40..fccee1bcbec 100644
--- a/x11/gtk2-theme-switch/Makefile
+++ b/x11/gtk2-theme-switch/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2007/01/07 09:14:16 rillig Exp $
+# $NetBSD: Makefile,v 1.20 2009/07/07 18:23:55 joerg Exp $
#
DISTNAME= gtk-theme-switch-2.0.0rc2
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.muhri.net/
COMMENT= Allows quick & easy switching of GTK+ 2.x themes
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= gmake pkg-config
BUILDLINK_TRANSFORM+= rm:-DGTK_DISABLE_DEPRECATED
@@ -18,9 +20,9 @@ INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/switch2 \
- ${PREFIX}/bin/gtk2-theme-switch
+ ${DESTDIR}${PREFIX}/bin/gtk2-theme-switch
${INSTALL_MAN} ${WRKSRC}/switch.1 \
- ${PREFIX}/${PKGMANDIR}/man1/gtk2-theme-switch.1
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/gtk2-theme-switch.1
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"