diff options
author | heinz <heinz@pkgsrc.org> | 2008-06-14 21:23:09 +0000 |
---|---|---|
committer | heinz <heinz@pkgsrc.org> | 2008-06-14 21:23:09 +0000 |
commit | 3501c3359cdcc15f2fe6c93fbde2c25648551b15 (patch) | |
tree | 4bd68017560edd947c55e3305213db224d2f5d57 /devel/libgphoto2 | |
parent | a46d2639c3f4b39170d9b1119e03ecfff2431001 (diff) | |
download | pkgsrc-3501c3359cdcc15f2fe6c93fbde2c25648551b15.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" |