source: trunk/dports/graphics/ufraw/Portfile

Last change on this file was 154304, checked in by devans@…, 2 years ago

ufraw: patch dcraw.cc to fix int vs boolean issue that breaks build (#52619).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.8 KB
RevLine 
[85964]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
[19953]2# $Id: Portfile 154304 2016-10-26 19:41:14Z devans@macports.org $
[142168]3
[137709]4PortSystem          1.0
[142168]5PortGroup           active_variants 1.1
[19953]6
[137709]7name                ufraw
[137710]8version             0.22
[150613]9revision            4
[137709]10license             GPL-2+
11categories          graphics
12maintainers         devans openmaintainer
13description         Unidentified Flying Raw (UFRaw)
[32426]14
[137709]15long_description    The Unidentified Flying Raw (UFRaw) is a utility to read and \
16                    manipulate raw images from digital cameras. It can be used on \
17                    its own or as a Gimp plug-in. It reads raw images using Dave Coffin's \
18                    raw conversion utility - DCRaw. UFRaw supports basic color management \
19                    using Little CMS, allowing the user to apply color profiles.
[19953]20
[137709]21homepage            http://ufraw.sourceforge.net
22platforms           darwin
23master_sites        sourceforge:project/ufraw/ufraw/${distname}
[32426]24
[137710]25checksums           rmd160  2588acde88dda8c30310b967e7185862072c124c \
26                    sha256  f7abd28ce587db2a74b4c54149bd8a2523a7ddc09bedf4f923246ff0ae09a25e
[43257]27
[137710]28depends_build       port:pkgconfig \
29                    path:bin/perl:perl5
30                   
31depends_lib         port:cfitsio \
32                    port:dcraw \
33                    port:exiv2 \
34                    port:gtk2 \
35                    port:gtkimageview \
[137709]36                    path:lib/pkgconfig/gimpui-2.0.pc:gimp2 \
37                    port:jasper \
38                    port:jpeg \
[137710]39                    port:lcms2 \
40                    port:libpng \
41                    port:lensfun \
42                    port:tiff
[43257]43
[154304]44patchfiles          patch-dcraw.cc.diff \
45                    patch-ufraw-gimp.c.diff \
[142168]46                    patch-uf_gtk.cc.diff
[19953]47
[138338]48platform darwin {
49    if {${os.major} < 11} {
50        patchfiles-append snowleopard-strnlen.patch
51    }
52}
53
[137709]54configure.args      --enable-contrast
[115801]55
[142168]56#
57# the following dummy variants are used
58# to identify this port's binary dependencies
59# based on which variant of gtk2 is used for the build
60#
61
62variant x11 conflicts quartz {}
63variant quartz conflicts x11 {}
64
65if {[variant_isset quartz]} {
66    require_active_variants port:gtk2 quartz
67} else {
68    default_variants +x11
69    require_active_variants port:gtk2 x11
70}
71
[62098]72post-destroot {
73    set docdir ${destroot}${prefix}/share/doc/${name}
74    xinstall -d ${docdir}
75    xinstall -m 644 -W ${worksrcpath} \
76        COPYING \
77        MANIFEST \
78        README \
79        TODO \
80        ${docdir}
81}
82
[79848]83# This looks like a bug in llvm-gcc-4.2 compilation being incompatible with llvm-g++-4.2 linking
84#   Undefined symbols for architecture x86_64:
85#   "___builtin_object_size", referenced from:
86#   "_alloca", referenced from:
[102278]87compiler.blacklist-append llvm-gcc-4.2 macports-llvm-gcc-4.2
[79848]88
[137709]89livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)"
Note: See TracBrowser for help on using the repository browser.