pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/wm/icewm Add DESTDIR support.
details: https://anonhg.NetBSD.org/pkgsrc/rev/5e015d6d7efd
branches: trunk
changeset: 550729:5e015d6d7efd
user: obache <obache%pkgsrc.org@localhost>
date: Thu Nov 27 13:28:05 2008 +0000
description:
Add DESTDIR support.
Requested by PR 39985.
diffstat:
wm/icewm/Makefile.common | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
diffs (36 lines):
diff -r 52e2f4d1a64d -r 5e015d6d7efd wm/icewm/Makefile.common
--- a/wm/icewm/Makefile.common Thu Nov 27 13:11:17 2008 +0000
+++ b/wm/icewm/Makefile.common Thu Nov 27 13:28:05 2008 +0000
@@ -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 @@
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= http://www.icewm.org/
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
USE_TOOLS+= gmake msgfmt
USE_PKGLOCALEDIR= yes
@@ -65,13 +67,13 @@
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"
Home |
Main Index |
Thread Index |
Old Index