summaryrefslogtreecommitdiff
path: root/graphics/CRWInfo
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-04 15:39:09 +0000
committerjlam <jlam>2008-03-04 15:39:09 +0000
commitb5f6311af8bceb6f6ffa993ab73f802a0907c782 (patch)
tree59c0548a0298c3f264975f618451fab4e14e6b25 /graphics/CRWInfo
parent6bbd21113d6839286420c35137f9be60efb9389e (diff)
downloadpkgsrc-b5f6311af8bceb6f6ffa993ab73f802a0907c782.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'graphics/CRWInfo')
-rw-r--r--graphics/CRWInfo/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/graphics/CRWInfo/Makefile b/graphics/CRWInfo/Makefile
index 4e50c1cfda2..7327fc51e6a 100644
--- a/graphics/CRWInfo/Makefile
+++ b/graphics/CRWInfo/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2005/04/11 21:45:59 tv Exp $
+# $NetBSD: Makefile,v 1.3 2008/03/04 15:39:09 jlam Exp $
#
DISTNAME= CRWInfo-0.2
@@ -9,13 +9,15 @@ MAINTAINER= kirtai@users.sourceforge.net
HOMEPAGE= http://neuemuenze.heim1.tu-clausthal.de/~sven/crwinfo/
COMMENT= Extracts exposure information and thumbnails from Canon RAW files
+PKG_DESTDIR_SUPPORT= user-destdir
+
NO_CONFIGURE= yes
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/crwinfo ${PREFIX}/bin/
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/crwinfo/
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/crwinfo/
+ ${INSTALL_PROGRAM} ${WRKSRC}/crwinfo ${DESTDIR}${PREFIX}/bin/
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/crwinfo/
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/crwinfo/
.include "../../mk/bsd.pkg.mk"