summaryrefslogtreecommitdiff
path: root/graphics/jhead/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/jhead/Makefile')
-rw-r--r--graphics/jhead/Makefile12
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"