diff options
author | heinz <heinz> | 2007-05-25 18:22:45 +0000 |
---|---|---|
committer | heinz <heinz> | 2007-05-25 18:22:45 +0000 |
commit | 39965e91e084025d6d1f9c1df1a3971f45330769 (patch) | |
tree | 2d8d77c0714c67f0fc6054891ab4e67ce55dafac | |
parent | a600d28a9ae9185b2cdcee7f09c9ead993dcabac (diff) | |
download | pkgsrc-39965e91e084025d6d1f9c1df1a3971f45330769.tar.gz |
Added support for installation to DESTDIR.
-rw-r--r-- | devel/elf/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/devel/elf/Makefile b/devel/elf/Makefile index d3dc5f505d8..2acd9dceb42 100644 --- a/devel/elf/Makefile +++ b/devel/elf/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2006/12/19 23:38:49 rillig Exp $ +# $NetBSD: Makefile,v 1.13 2007/05/25 18:22:45 heinz Exp $ # DISTNAME= elf-0.5.3 @@ -11,6 +11,8 @@ MAINTAINER= virtus@wanadoo.nl HOMEPAGE= http://www.kerneled.com/projects/elf/ COMMENT= ELF header analyzer +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= YES BUILD_DIRS= ${WRKSRC}/src @@ -19,8 +21,8 @@ BUILD_TARGET= elf INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/src/elf ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/doc/elf.1 ${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/src/elf ${DESTDIR:Q}${PREFIX:Q}/bin + ${INSTALL_MAN} ${WRKSRC}/doc/elf.1 ${DESTDIR:Q}${PREFIX:Q}/${PKGMANDIR}/man1 .include "../../devel/ncurses/buildlink3.mk" .include "../../devel/readline/buildlink3.mk" |