summaryrefslogtreecommitdiff
path: root/wm
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2008-11-27 13:28:05 +0000
committerobache <obache@pkgsrc.org>2008-11-27 13:28:05 +0000
commitb23dfcf72ef88e29d5b3914f6bb87fa6dd5b06cc (patch)
treeed77521778ffb4edef5bb8f8f4668bfbf051a39f /wm
parent5a16deef0c289401da35ed1b1a5b169955e06248 (diff)
downloadpkgsrc-b23dfcf72ef88e29d5b3914f6bb87fa6dd5b06cc.tar.gz
Add DESTDIR support.
Requested by PR 39985.
Diffstat (limited to 'wm')
-rw-r--r--wm/icewm/Makefile.common12
1 files changed, 7 insertions, 5 deletions
diff --git a/wm/icewm/Makefile.common b/wm/icewm/Makefile.common
index f82d72cb1fa..84489ea0c33 100644
--- a/wm/icewm/Makefile.common
+++ b/wm/icewm/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.63 2008/06/17 08:32:41 hauke Exp $
+# $NetBSD: Makefile.common,v 1.64 2008/11/27 13:28:05 obache Exp $
DISTNAME= icewm-1.2.35
PKGREVISION= 1
@@ -8,6 +8,8 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=icewm/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.icewm.org/
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
USE_TOOLS+= gmake msgfmt
USE_PKGLOCALEDIR= yes
@@ -65,13 +67,13 @@ post-extract:
cp ${FILESDIR}/bsd-daemon.xpm ${WRKSRC}/lib/taskbar
post-install:
- ${INSTALL_DATA_DIR} ${DOCDIR}
- ${INSTALL_DATA_DIR} ${HTMLDIR}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${HTMLDIR}
set -e; \
for file in BUGS CHANGES COPYING README README.wm-session TODO; do \
- ${INSTALL_DATA} ${WRKSRC}/"$${file}" ${DOCDIR}; \
+ ${INSTALL_DATA} ${WRKSRC}/"$${file}" ${DESTDIR}${DOCDIR}; \
done
- ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${HTMLDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DESTDIR}${HTMLDIR}
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../x11/libXft/buildlink3.mk"