summaryrefslogtreecommitdiff
path: root/graphics/phpsview
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/phpsview
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/phpsview')
-rw-r--r--graphics/phpsview/Makefile5
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"