source: trunk/dports/devel/libgphoto2/Portfile @ 109415

Last change on this file since 109415 was 109415, checked in by ryandesign@…, 7 years ago

revbump ports that link with libgd in their default configuration to rebuild with gd2 @2.1.0 (libgd.3.dylib) (#39550)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 109415 2013-08-15 06:58:50Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                libgphoto2
7version             2.5.2
8revision            1
9categories          devel
10platforms           darwin
11maintainers         nomaintainer
12license             LGPL-2+
13
14description         The gphoto2 digital camera library
15
16long_description    The gphoto2 library can be used by applications to \
17                    access various digital camera models.
18
19homepage            http://www.gphoto.org/proj/libgphoto2/
20master_sites        sourceforge:project/gphoto/libgphoto/${version}
21use_bzip2           yes
22
23checksums           rmd160  bb7ab0c59b6c9f0909a2c5047d222b713295a952 \
24                    sha256  a32d113555bcb59e332b33ca00f28878b5a6151edb7f18735daee81d280a2838
25
26depends_build       port:pkgconfig
27
28depends_lib         path:bin/dbus-daemon:dbus \
29                    port:gettext \
30                    port:jpeg \
31                    port:libexif \
32                    port:libiconv \
33                    port:libpng \
34                    port:libusb-compat \
35                    port:libxml2 \
36                    port:libtool \
37                    port:gd2
38
39# Use CPATH and LIBRARY_PATH for ${prefix}/include and ${prefix}/lib
40configure.ldflags-delete    -L${prefix}/lib
41configure.cppflags-delete   -I${prefix}/include
42
43# https://sourceforge.net/p/gphoto/bugs/935/
44configure.cppflags-append   -D_DARWIN_C_SOURCE
45
46# https://sourceforge.net/p/gphoto/bugs/957/
47configure.cppflags-append -I${prefix}/include/libxml2
48
49configure.args      --with-drivers=all \
50                    --with-libexif=${prefix}
51
52variant doxygen description {Use doxygen to generate API docs} {
53    depends_build-append    port:doxygen \
54                            path:bin/dot:graphviz
55}
56if {![variant_isset doxygen]} {
57    patchfiles-append       patch-configure-nodoxygen.diff
58}
59
60livecheck.type      regex
61livecheck.url       http://sourceforge.net/projects/gphoto/files/
62livecheck.regex     /${name}-(\[0-9.\]+)\\.tar
Note: See TracBrowser for help on using the repository browser.