diff options
author | heinz <heinz> | 2007-05-24 22:56:29 +0000 |
---|---|---|
committer | heinz <heinz> | 2007-05-24 22:56:29 +0000 |
commit | c00c4a0359c66cb1efe0f9dccfd17ee010d2c7f4 (patch) | |
tree | e954bf053f3ec698b64305257bb29a3b4133ab59 /devel | |
parent | 599e0b68044a630a347df3f49198bbcd8f11d1b4 (diff) | |
download | pkgsrc-c00c4a0359c66cb1efe0f9dccfd17ee010d2c7f4.tar.gz |
Added support for installation to DESTDIR.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/elfsh/Makefile | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/devel/elfsh/Makefile b/devel/elfsh/Makefile index de9819fca24..35fdbedf79e 100644 --- a/devel/elfsh/Makefile +++ b/devel/elfsh/Makefile @@ -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 @@ MAINTAINER= pkgsrc-users@NetBSD.org 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 @@ SUBST_SED.elfsh+= -e s,@@PREFIX@@,${PREFIX}, 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" |