summaryrefslogtreecommitdiff
path: root/devel/libgphoto2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libgphoto2/Makefile')
-rw-r--r--devel/libgphoto2/Makefile30
1 files changed, 14 insertions, 16 deletions
diff --git a/devel/libgphoto2/Makefile b/devel/libgphoto2/Makefile
index b3732776c84..8c763af2b99 100644
--- a/devel/libgphoto2/Makefile
+++ b/devel/libgphoto2/Makefile
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.31 2006/06/17 19:05:33 rillig Exp $
-#
+# $NetBSD: Makefile,v 1.32 2007/01/02 18:32:47 adam Exp $
-DISTNAME= libgphoto2-2.1.6
-PKGREVISION= 2
+DISTNAME= libgphoto2-2.3.1
CATEGORIES= devel graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gphoto/}
+EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://gphoto.sourceforge.net/proj/libgphoto2/
@@ -13,26 +12,25 @@ COMMENT= Digital camera access library
CONFLICTS+= gphoto<2.1.1
USE_TOOLS+= pkg-config
-USE_LIBTOOL= YES
+USE_LIBTOOL= yes
+USE_PKGLOCALEDIR= yes
+GNU_CONFIGURE= yes
PKGCONFIG_OVERRIDE+= libgphoto2/libgphoto2.pc.in
-USE_PKGLOCALEDIR= YES
-GNU_CONFIGURE= YES
-
-SUBST_CLASSES+= libexif-update
-SUBST_STAGE.libexif-update= pre-configure
-SUBST_MESSAGE.libexif-update= Fix configure script checks for libexif-0.6.13
-SUBST_FILES.libexif-update= configure
-SUBST_SED.libexif-update= -e s,exif-,libexif/exif-,g
.include "../../mk/bsd.prefs.mk"
-
-.include "../../devel/gettext-lib/buildlink3.mk"
-.include "../../converters/libiconv/buildlink3.mk"
.if ${OPSYS} == "SunOS"
PLIST_SUBST+= HAVE_LIBUSB="@comment "
.else
.include "../../devel/libusb/buildlink3.mk"
PLIST_SUBST+= HAVE_LIBUSB=""
.endif
+
+# remove symbolic link
+post-install:
+ rm ${PREFIX}/include/gphoto2/gphoto2
+
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../graphics/jpeg/buildlink3.mk"
.include "../../graphics/libexif/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"