pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/39985: [patch] destdir support for wm/icewm
>Number: 39985
>Category: pkg
>Synopsis: [patch] destdir support for wm/icewm
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Nov 20 19:10:00 +0000 2008
>Originator: cheusov%tut.by@localhost
>Release: NetBSD 4.0_STABLE
>Organization:
>Environment:
System: NetBSD chen.chizhovka.net 4.0_STABLE NetBSD 4.0_STABLE (GENERIC) #3:
Sun Oct 19 20:54:51 EEST 2008
cheusov%chen.chizhovka.net@localhost:/srv/obj/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
patch for destdir support (tested under NetBSD)
>Fix:
Index: Makefile.common
===================================================================
RCS file: /cvsroot/pkgsrc/wm/icewm/Makefile.common,v
retrieving revision 1.63
diff -u -r1.63 Makefile.common
--- Makefile.common 17 Jun 2008 08:32:41 -0000 1.63
+++ Makefile.common 20 Nov 2008 19:06:04 -0000
@@ -11,6 +11,7 @@
GNU_CONFIGURE= yes
USE_TOOLS+= gmake msgfmt
USE_PKGLOCALEDIR= yes
+PKG_DESTDIR_SUPPORT= user-destdir
DISTINFO_FILE= ${.CURDIR}/../../wm/icewm/distinfo
FILESDIR= ${.CURDIR}/../../wm/icewm/files
@@ -64,14 +65,13 @@
post-extract:
cp ${FILESDIR}/bsd-daemon.xpm ${WRKSRC}/lib/taskbar
+INSTALLATION_DIRS+= ${DOCDIR} ${HTMLDIR}
post-install:
- ${INSTALL_DATA_DIR} ${DOCDIR}
- ${INSTALL_DATA_DIR} ${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