pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/libgphoto2 Added support for installation to DES...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b28f6964119d
branches:  trunk
changeset: 543348:b28f6964119d
user:      heinz <heinz%pkgsrc.org@localhost>
date:      Sat Jun 14 21:23:09 2008 +0000

description:
Added support for installation to DESTDIR.

diffstat:

 devel/libgphoto2/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 3b6df3fa8623 -r b28f6964119d devel/libgphoto2/Makefile
--- a/devel/libgphoto2/Makefile Sat Jun 14 20:57:34 2008 +0000
+++ b/devel/libgphoto2/Makefile Sat Jun 14 21:23:09 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.40 2008/04/29 09:31:38 sborrill Exp $
+# $NetBSD: Makefile,v 1.41 2008/06/14 21:23:09 heinz Exp $
 
 DISTNAME=      libgphoto2-2.4.1
 CATEGORIES=    devel graphics
@@ -9,6 +9,8 @@
 HOMEPAGE=      http://gphoto.sourceforge.net/proj/libgphoto2/
 COMMENT=       Digital camera access library
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 CONFLICTS+=    gphoto<2.1.1
 
 USE_TOOLS+=            pkg-config
@@ -28,7 +30,7 @@
 
 # remove symbolic link
 post-install:
-       rm ${PREFIX}/include/gphoto2/gphoto2
+       rm ${DESTDIR}${PREFIX}/include/gphoto2/gphoto2
 
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../devel/libltdl/buildlink3.mk"



Home | Main Index | Thread Index | Old Index