diff options
author | joerg <joerg@pkgsrc.org> | 2008-06-20 01:09:05 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-06-20 01:09:05 +0000 |
commit | 3b0d97b0de8516db29699676c860489da3f7f0e1 (patch) | |
tree | bb388f6b2532587595653e67cce25229ed050cb8 /sysutils/bchunk/Makefile | |
parent | 10abca39942a8f34d088f39ccc073fee44271274 (diff) | |
download | pkgsrc-3b0d97b0de8516db29699676c860489da3f7f0e1.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'sysutils/bchunk/Makefile')
-rw-r--r-- | sysutils/bchunk/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sysutils/bchunk/Makefile b/sysutils/bchunk/Makefile index 504f908f967..132123fa38c 100644 --- a/sysutils/bchunk/Makefile +++ b/sysutils/bchunk/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2007/11/16 12:03:42 dillo Exp $ +# $NetBSD: Makefile,v 1.11 2008/06/20 01:09:35 joerg Exp $ DISTNAME= bchunk-1.2.0 CATEGORIES= sysutils @@ -8,12 +8,14 @@ MAINTAINER= dillo@NetBSD.org HOMEPAGE= http://he.fi/bchunk/ COMMENT= ".bin/.cue" CD image converter +PKG_DESTDIR_SUPPORT= user-destdir + MAKE_FLAGS+= CC=${CC:Q} LD=${CC:Q} CFLAGS=${CFLAGS:M*:Q} INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/bchunk ${PREFIX}/bin/bchunk - ${INSTALL_MAN} ${WRKSRC}/bchunk.1 ${PREFIX}/${PKGMANDIR}/man1/bchunk.1 + ${INSTALL_PROGRAM} ${WRKSRC}/bchunk ${DESTDIR}${PREFIX}/bin/bchunk + ${INSTALL_MAN} ${WRKSRC}/bchunk.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/bchunk.1 .include "../../mk/bsd.pkg.mk" |