summaryrefslogtreecommitdiff
path: root/graphics/s10sh
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-04 15:39:09 +0000
committerjlam <jlam@pkgsrc.org>2008-03-04 15:39:09 +0000
commit4b86e2bfab114a3edb0ceea2883a66b1745f9f06 (patch)
tree59c0548a0298c3f264975f618451fab4e14e6b25 /graphics/s10sh
parenta6923789124411b85aaa9c9d97b6522350124999 (diff)
downloadpkgsrc-4b86e2bfab114a3edb0ceea2883a66b1745f9f06.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"