[22750] trunk/dports/devel/libgphoto2

source_changes at macosforge.org source_changes at macosforge.org
Tue Mar 13 07:07:02 PDT 2007


Revision: 22750
          http://trac.macosforge.org/projects/macports/changeset/22750
Author:   takanori at macports.org
Date:     2007-03-13 07:07:02 -0700 (Tue, 13 Mar 2007)

Log Message:
-----------
* Use libexif by default.
* Fix dependencies.
* Add variant +with_doxygen (to create API docs using doxygen.)
Ticket:	      		    #11506

Modified Paths:
--------------
    trunk/dports/devel/libgphoto2/Portfile

Added Paths:
-----------
    trunk/dports/devel/libgphoto2/files/
    trunk/dports/devel/libgphoto2/files/patch-configure

Modified: trunk/dports/devel/libgphoto2/Portfile
===================================================================
--- trunk/dports/devel/libgphoto2/Portfile	2007-03-13 14:03:00 UTC (rev 22749)
+++ trunk/dports/devel/libgphoto2/Portfile	2007-03-13 14:07:02 UTC (rev 22750)
@@ -2,6 +2,7 @@
 PortSystem		1.0
 name			libgphoto2
 version			2.3.1
+revision		1
 categories		devel
 maintainers		nomaintainer at macports.org
 description		The gphoto2 digital camera library 
@@ -11,19 +12,29 @@
 master_sites		sourceforge:gphoto
 checksums		md5 37f85e34e5b6031ddf6cac8b8782ac4f
 use_bzip2		yes
-depends_build		port:pkgconfig 
-depends_lib		port:libusb \
+patchfiles		patch-configure
+depends_lib		port:dbus \
+			port:gettext \
 			port:jpeg \
-			port:gettext \
-			port:libiconv
+			port:libexif \
+			port:libiconv \
+			port:libusb \
+			port:pkgconfig
+
 configure.env	CFLAGS="-I${prefix}/include -no-cpp-precomp" \
 		LDFLAGS="-L${prefix}/lib"
-configure.args		--without-exif --mandir=${prefix}/share/man --with-drivers=all	
+configure.args	--mandir=${prefix}/share/man \
+		--with-drivers=all --with-libexif=auto
 
+variant without_libexif {
+	depends_lib-delete	port:libexif
+	configure.args-delete --with-libexif=auto
+	configure.args-append --with-libexif=no
+}
 
-variant exif {
-	configure.args-delete --without-exif
-	depends_lib-append	port:libexif
+variant with_doxygen {
+	depends_build		port:doxygen
+	patchfiles-delete	patch-configure
 }
 
 platform darwin 6 {

Added: trunk/dports/devel/libgphoto2/files/patch-configure
===================================================================
--- trunk/dports/devel/libgphoto2/files/patch-configure	                        (rev 0)
+++ trunk/dports/devel/libgphoto2/files/patch-configure	2007-03-13 14:07:02 UTC (rev 22750)
@@ -0,0 +1,11 @@
+--- ./configure.orig	2006-12-25 04:12:44.000000000 +0900
++++ ./configure	2007-03-12 23:23:34.000000000 +0900
+@@ -30050,7 +30050,7 @@
+   ;;
+ esac
+ fi
+-DOXYGEN=$ac_cv_path_DOXYGEN
++DOXYGEN="false"
+ if test -n "$DOXYGEN"; then
+   { echo "$as_me:$LINENO: result: $DOXYGEN" >&5
+ echo "${ECHO_T}$DOXYGEN" >&6; }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070313/4b68765c/attachment.html


More information about the macports-changes mailing list