diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-04 15:39:09 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-04 15:39:09 +0000 |
commit | 0921f3f35279f745c8e5b56be3c87c7dee3e5738 (patch) | |
tree | 59c0548a0298c3f264975f618451fab4e14e6b25 /graphics/phpsview | |
parent | 0157fc562061bdebd896e09805aa565fff88d662 (diff) | |
download | pkgsrc-0921f3f35279f745c8e5b56be3c87c7dee3e5738.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'graphics/phpsview')
-rw-r--r-- | graphics/phpsview/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/graphics/phpsview/Makefile b/graphics/phpsview/Makefile index 2df479cf253..43644a20342 100644 --- a/graphics/phpsview/Makefile +++ b/graphics/phpsview/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2007/02/22 19:26:35 wiz Exp $ +# $NetBSD: Makefile,v 1.16 2008/03/04 15:39:10 jlam Exp $ # DISTNAME= pwc-9.0.2 @@ -15,6 +15,7 @@ MAINTAINER= hamajima@NetBSD.org HOMEPAGE= http://www.medias.ne.jp/~takam/bsd/NetBSD.html#qcamPro COMMENT= Philips USB Cameras Utilities +PKG_DESTDIR_SUPPORT= user-destdir INSTALLATION_DIRS= bin do-build: @@ -27,7 +28,7 @@ do-build: do-install: for f in phpsshot phpsview ; do \ cd ${WRKSRC}/2.4 && \ - ${INSTALL_PROGRAM} $$f ${PREFIX}/bin ; \ + ${INSTALL_PROGRAM} $$f ${DESTDIR}${PREFIX}/bin \ done .include "../../graphics/imlib/buildlink3.mk" |