[48612] trunk/dports/devel/libgphoto2/Portfile
blb at macports.org
blb at macports.org
Thu Mar 26 00:16:23 PDT 2009
Revision: 48612
http://trac.macports.org/changeset/48612
Author: blb at macports.org
Date: 2009-03-26 00:16:22 -0700 (Thu, 26 Mar 2009)
Log Message:
-----------
devel/libgphoto2 - whitespace changes
Modified Paths:
--------------
trunk/dports/devel/libgphoto2/Portfile
Modified: trunk/dports/devel/libgphoto2/Portfile
===================================================================
--- trunk/dports/devel/libgphoto2/Portfile 2009-03-26 07:12:49 UTC (rev 48611)
+++ trunk/dports/devel/libgphoto2/Portfile 2009-03-26 07:16:22 UTC (rev 48612)
@@ -1,48 +1,56 @@
# $Id$
-PortSystem 1.0
-name libgphoto2
-version 2.3.1
-revision 1
-categories devel
-platforms darwin
-maintainers nomaintainer
-description The gphoto2 digital camera library
-long_description The gphoto2 library can be used by applications to \
- access various digital camera models.
-homepage http://www.gphoto.org/proj/libgphoto2/
-master_sites sourceforge:gphoto
-checksums md5 37f85e34e5b6031ddf6cac8b8782ac4f
-use_bzip2 yes
-patchfiles patch-configure
-depends_build port:pkgconfig
-depends_lib port:dbus \
- port:gettext \
- port:jpeg \
- port:libexif \
- port:libiconv \
- port:libusb
-configure.cflags-append -I${prefix}/include -no-cpp-precomp
-configure.args --mandir=${prefix}/share/man \
- --with-drivers=all --with-libexif=auto
+PortSystem 1.0
+name libgphoto2
+version 2.3.1
+revision 1
+categories devel
+maintainers nomaintainer
+description The gphoto2 digital camera library
+long_description \
+ The gphoto2 library can be used by applications to access various digital \
+ camera models.
+platforms darwin
+
+homepage http://www.gphoto.org/proj/libgphoto2/
+master_sites sourceforge:gphoto
+use_bzip2 yes
+
+checksums md5 37f85e34e5b6031ddf6cac8b8782ac4f
+
+depends_build port:pkgconfig
+depends_lib port:dbus \
+ port:gettext \
+ port:jpeg \
+ port:libexif \
+ port:libiconv \
+ port:libusb
+
+patchfiles patch-configure
+
+configure.cflags-append -I${prefix}/include -no-cpp-precomp
+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
+ depends_lib-delete port:libexif
+ configure.args-delete --with-libexif=auto
+ configure.args-append --with-libexif=no
}
variant with_doxygen {
- depends_build-append port:doxygen
- patchfiles-delete patch-configure
+ depends_build-append port:doxygen
+ patchfiles-delete patch-configure
}
platform darwin 6 {
- depends_lib-append port:dlcompat
- post-configure {
- reinplace "s|#define HAVE_WCHAR_T 1|#undef HAVE_WCHAR_T|" \
- ${worksrcpath}/config.h
- reinplace "s|#define HAVE_WCHAR_T 1|#undef HAVE_WCHAR_T|" \
- ${worksrcpath}/libgphoto2_port/config.h
- }
+ depends_lib-append port:dlcompat
+ post-configure {
+ reinplace "s|#define HAVE_WCHAR_T 1|#undef HAVE_WCHAR_T|" \
+ ${worksrcpath}/config.h
+ reinplace "s|#define HAVE_WCHAR_T 1|#undef HAVE_WCHAR_T|" \
+ ${worksrcpath}/libgphoto2_port/config.h
+ }
}
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090326/e73eabde/attachment.html>
More information about the macports-changes
mailing list