pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/elfsh Added support for installation to DESTDIR.
details: https://anonhg.NetBSD.org/pkgsrc/rev/d3bbd17e33e5
branches: trunk
changeset: 529108:d3bbd17e33e5
user: heinz <heinz%pkgsrc.org@localhost>
date: Thu May 24 22:56:29 2007 +0000
description:
Added support for installation to DESTDIR.
diffstat:
devel/elfsh/Makefile | 24 +++++++++++++-----------
1 files changed, 13 insertions(+), 11 deletions(-)
diffs (45 lines):
diff -r d3a303823236 -r d3bbd17e33e5 devel/elfsh/Makefile
--- a/devel/elfsh/Makefile Thu May 24 22:08:43 2007 +0000
+++ b/devel/elfsh/Makefile Thu May 24 22:56:29 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2006/06/18 00:56:11 rillig Exp $
+# $NetBSD: Makefile,v 1.17 2007/05/24 22:56:29 heinz Exp $
#
VERS= 0.51b3
@@ -13,6 +13,8 @@
HOMEPAGE= http://elfsh.segfault.net/
COMMENT= ELF format exploration shell
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
USE_GNU_READLINE= yes
@@ -29,16 +31,16 @@
INSTALLATION_DIRS= bin include lib
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/vm/elfsh ${PREFIX}/bin/elfsh
- ${INSTALL_DATA} ${WRKSRC}/libelfsh/libelfsh.a ${PREFIX}/lib/libelfsh.a
- ${INSTALL_DATA} ${WRKSRC}/libelfsh/libelfsh.so ${PREFIX}/lib/libelfsh.so
- ${INSTALL_DATA} ${WRKSRC}/libelfsh/include/libelfsh.h ${PREFIX}/include/libelfsh.h
- ${INSTALL_DATA_DIR} ${PREFIX}/lib/elfsh
- ${INSTALL_DATA} ${WRKSRC}/modules/modremap.so ${PREFIX}/lib/elfsh
- ${INSTALL_DATA} ${WRKSRC}/modules/modtest.so ${PREFIX}/lib/elfsh
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/elfsh
- ${INSTALL_DATA} ${WRKSRC}/doc/elfsh-ref.txt ${PREFIX}/share/doc/elfsh/elfsh-ref.txt
- ${INSTALL_DATA} ${WRKSRC}/doc/libelfsh-ref.txt ${PREFIX}/share/doc/elfsh/libelfsh-ref.txt
+ ${INSTALL_PROGRAM} ${WRKSRC}/vm/elfsh ${DESTDIR:Q}${PREFIX:Q}/bin/elfsh
+ ${INSTALL_DATA} ${WRKSRC}/libelfsh/libelfsh.a ${DESTDIR:Q}${PREFIX:Q}/lib/libelfsh.a
+ ${INSTALL_DATA} ${WRKSRC}/libelfsh/libelfsh.so ${DESTDIR:Q}${PREFIX:Q}/lib/libelfsh.so
+ ${INSTALL_DATA} ${WRKSRC}/libelfsh/include/libelfsh.h ${DESTDIR:Q}${PREFIX:Q}/include/libelfsh.h
+ ${INSTALL_DATA_DIR} ${DESTDIR:Q}${PREFIX:Q}/lib/elfsh
+ ${INSTALL_DATA} ${WRKSRC}/modules/modremap.so ${DESTDIR:Q}${PREFIX:Q}/lib/elfsh
+ ${INSTALL_DATA} ${WRKSRC}/modules/modtest.so ${DESTDIR:Q}${PREFIX:Q}/lib/elfsh
+ ${INSTALL_DATA_DIR} ${DESTDIR:Q}${PREFIX:Q}/share/doc/elfsh
+ ${INSTALL_DATA} ${WRKSRC}/doc/elfsh-ref.txt ${DESTDIR:Q}${PREFIX:Q}/share/doc/elfsh/elfsh-ref.txt
+ ${INSTALL_DATA} ${WRKSRC}/doc/libelfsh-ref.txt ${DESTDIR:Q}${PREFIX:Q}/share/doc/elfsh/libelfsh-ref.txt
.include "../../devel/readline/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index