summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorobache <obache>2008-11-27 13:28:05 +0000
committerobache <obache>2008-11-27 13:28:05 +0000
commite2c8c9c270cd606f8fc80db56fcfacbc66f8733c (patch)
treeed77521778ffb4edef5bb8f8f4668bfbf051a39f
parentcb9e8e1dfce1c1baf74de92e3b85529980456db9 (diff)
downloadpkgsrc-e2c8c9c270cd606f8fc80db56fcfacbc66f8733c.tar.gz
Add DESTDIR support.
Requested by PR 39985.
-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"