source: trunk/dports/graphics/ufraw/Portfile

Last change on this file was 154304, checked in by devans@…, 13 months 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
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 154304 2016-10-26 19:41:14Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           active_variants 1.1
6
7name                ufraw
8version             0.22
9revision            4
10license             GPL-2+
11categories          graphics
12maintainers         devans openmaintainer
13description         Unidentified Flying Raw (UFRaw)
14
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.
20
21homepage            http://ufraw.sourceforge.net
22platforms           darwin
23master_sites        sourceforge:project/ufraw/ufraw/${distname}
24
25checksums           rmd160  2588acde88dda8c30310b967e7185862072c124c \
26                    sha256  f7abd28ce587db2a74b4c54149bd8a2523a7ddc09bedf4f923246ff0ae09a25e
27
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 \
36                    path:lib/pkgconfig/gimpui-2.0.pc:gimp2 \
37                    port:jasper \
38                    port:jpeg \
39                    port:lcms2 \
40                    port:libpng \
41                    port:lensfun \
42                    port:tiff
43
44patchfiles          patch-dcraw.cc.diff \
45                    patch-ufraw-gimp.c.diff \
46                    patch-uf_gtk.cc.diff
47
48platform darwin {
49    if {${os.major} < 11} {
50        patchfiles-append snowleopard-strnlen.patch
51    }
52}
53
54configure.args      --enable-contrast
55
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
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
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:
87compiler.blacklist-append llvm-gcc-4.2 macports-llvm-gcc-4.2
88
89livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)"
Note: See TracBrowser for help on using the repository browser.