diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-04 15:39:09 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-04 15:39:09 +0000 |
commit | 0921f3f35279f745c8e5b56be3c87c7dee3e5738 (patch) | |
tree | 59c0548a0298c3f264975f618451fab4e14e6b25 /graphics/jhead | |
parent | 0157fc562061bdebd896e09805aa565fff88d662 (diff) | |
download | pkgsrc-0921f3f35279f745c8e5b56be3c87c7dee3e5738.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'graphics/jhead')
-rw-r--r-- | graphics/jhead/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/graphics/jhead/Makefile b/graphics/jhead/Makefile index 2e1029f0dc4..56756ea19af 100644 --- a/graphics/jhead/Makefile +++ b/graphics/jhead/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 2008/02/04 14:42:14 wiz Exp $ +# $NetBSD: Makefile,v 1.23 2008/03/04 15:39:10 jlam Exp $ # DISTNAME= jhead-2.4 @@ -10,6 +10,7 @@ HOMEPAGE= http://www.sentex.net/~mwandel/jhead/ COMMENT= Extract EXIF header from JPEG image PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir USE_TOOLS+= gunzip MAKE_FILE= makefile @@ -20,9 +21,10 @@ post-extract: ${GUNZIP_CMD} ${WRKSRC}/jhead.1.gz do-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/jhead - ${INSTALL_PROGRAM} ${WRKSRC}/jhead ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/jhead.1 ${PREFIX}/${PKGMANDIR}/man1 - ${INSTALL_MAN} ${WRKSRC}/usage.html ${PREFIX}/share/doc/html/jhead + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/html/jhead + ${INSTALL_PROGRAM} ${WRKSRC}/jhead ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/jhead.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_MAN} ${WRKSRC}/usage.html \ + ${DESTDIR}${PREFIX}/share/doc/html/jhead .include "../../mk/bsd.pkg.mk" |