pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[patch] destdir support for wm/icewm
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 15 Nov 2008 19:41:29 -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"
--
Best regards, Aleksey Cheusov.
Home |
Main Index |
Thread Index |
Old Index