diff options
author | jlam <jlam> | 2008-03-04 15:39:09 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-04 15:39:09 +0000 |
commit | d6b91adeba5668a57b81a911d8eddf78028e44dc (patch) | |
tree | 59c0548a0298c3f264975f618451fab4e14e6b25 /graphics/s10sh | |
parent | 6dad5f5dc8c5cabc58dcc1203ff3621136e16ddf (diff) | |
download | pkgsrc-d6b91adeba5668a57b81a911d8eddf78028e44dc.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/Makefile | 10 |
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" |