Ticket #47837: exiv2.diff

File exiv2.diff, 2.0 KB (added by RJVB (René Bertin), 9 years ago)
  • graphics/exiv2/Portfile

    old new  
    44PortGroup  cmake 1.0
    55
    66name             exiv2
    7 version          0.24
     7version          0.24.3839
    88homepage         http://www.exiv2.org/
    99description      EXIF and IPTC metadata manipulation library and tools
    1010categories       graphics
     
    1414
    1515master_sites     http://www.exiv2.org/
    1616
    17 checksums        sha1    2f19538e54f8c21c180fa96d17677b7cff7dc1bb \
    18                  rmd160  453247926e8626bf888578afd5a0dde42c6f6962
     17#checksums        sha1    2f19538e54f8c21c180fa96d17677b7cff7dc1bb \
     18#                 rmd160  453247926e8626bf888578afd5a0dde42c6f6962
     19
     20fetch.type       svn
     21depends_fetch-append    port:subversion
     22svn.cmd           ${prefix}/bin/svn
     23if {[file exists ${filespath}/${name}-svn/.svn]} {
     24        svn.url     ${filespath}/${name}-svn
     25        distname          ${name}-svn
     26} else {
     27        svn.url     svn://dev.exiv2.org/svn/trunk
     28        distname          trunk
     29}
     30svn.revision     3839
    1931
    2032long_description Exiv2 comprises of a C++ library and a command line utility \
    2133                 which allows you to manipulate EXIF and IPTC image metadata.
     
    2335depends_lib      port:expat \
    2436                 port:gettext \
    2537                 port:libiconv \
     38                          port:libssh \
     39                          port:curl \
    2640                 port:zlib
    2741
     42cmake.out_of_source             yes
     43configure.args-append   -DEXIV2_ENABLE_WEBREADY:BOOL=ON
     44
     45variant video description {include support for reading video file metadata} {
     46        patchfiles-append               patch-deactivate-QT-userdata.diff
     47        configure.args-append   -DEXIV2_ENABLE_VIDEO:BOOL=ON
     48}
     49default_variants +video
     50
     51notes-append    "Install ${name} without the +video variant (\"-video\") if you observe crashes when parsing video files\
     52        and please report on trac.macports.org"
     53
    2854post-destroot {
    2955    file mkdir ${destroot}${prefix}/share/man
    3056    system "ditto ${destroot}${prefix}/man ${destroot}${prefix}/share/man"