diff options
author | heinz <heinz> | 2008-06-14 21:23:09 +0000 |
---|---|---|
committer | heinz <heinz> | 2008-06-14 21:23:09 +0000 |
commit | 121be3f3b243efed828e998e0adc92ce37a86827 (patch) | |
tree | 4bd68017560edd947c55e3305213db224d2f5d57 /devel/libgphoto2 | |
parent | 73d2c7a7845d2495fb0365b9955be263780457da (diff) | |
download | pkgsrc-121be3f3b243efed828e998e0adc92ce37a86827.tar.gz |
Added support for installation to DESTDIR.
Diffstat (limited to 'devel/libgphoto2')
-rw-r--r-- | devel/libgphoto2/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/devel/libgphoto2/Makefile b/devel/libgphoto2/Makefile index 2ebcc40de72..a586a993ead 100644 --- a/devel/libgphoto2/Makefile +++ b/devel/libgphoto2/Makefile @@ -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 @@ MAINTAINER= pkgsrc-users@NetBSD.org 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 @@ PLIST.libusb= yes # 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" |