summaryrefslogtreecommitdiff
path: root/graphics/s10sh
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/s10sh
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/s10sh')
-rw-r--r--graphics/s10sh/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/graphics/s10sh/Makefile b/graphics/s10sh/Makefile
index fd1f9411317..db8e03d6934 100644
--- a/graphics/s10sh/Makefile
+++ b/graphics/s10sh/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2006/10/04 21:44:47 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2008/03/04 15:39:10 jlam Exp $
#
DISTNAME= s10sh-0.2.0
@@ -10,15 +10,17 @@ MAINTAINER= drochner@NetBSD.org
HOMEPAGE= http://www.kyuzz.org/antirez/s10sh/
COMMENT= USB/serial userspace driver for Canon PowerShot cameras
+PKG_DESTDIR_SUPPORT= user-destdir
+
HAS_CONFIGURE= yes
CONFIGURE_ENV+= LOCALBASE=${LOCALBASE:Q}
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/s10sh ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/s10sh
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/s10sh
+ ${INSTALL_PROGRAM} ${WRKSRC}/s10sh ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/s10sh
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/s10sh
.include "../../devel/libusb/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"