source: trunk/dports/graphics/ufraw/Portfile @ 150613

Last change on this file since 150613 was 150613, checked in by raimue@…, 3 years ago

science/cfitsio:
Fix compatibility version in library, closes #51645
Rev-bump all direct dependents for rebuild.

  • 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 150613 2016-07-24 08:27:35Z raimue@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-ufraw-gimp.c.diff \
45                    patch-uf_gtk.cc.diff
46
47platform darwin {
48    if {${os.major} < 11} {
49        patchfiles-append snowleopard-strnlen.patch
50    }
51}
52
53configure.args      --enable-contrast
54
55#
56# the following dummy variants are used
57# to identify this port's binary dependencies
58# based on which variant of gtk2 is used for the build
59#
60
61variant x11 conflicts quartz {}
62variant quartz conflicts x11 {}
63
64if {[variant_isset quartz]} {
65    require_active_variants port:gtk2 quartz
66} else {
67    default_variants +x11
68    require_active_variants port:gtk2 x11
69}
70
71post-destroot {
72    set docdir ${destroot}${prefix}/share/doc/${name}
73    xinstall -d ${docdir}
74    xinstall -m 644 -W ${worksrcpath} \
75        COPYING \
76        MANIFEST \
77        README \
78        TODO \
79        ${docdir}
80}
81
82# This looks like a bug in llvm-gcc-4.2 compilation being incompatible with llvm-g++-4.2 linking
83#   Undefined symbols for architecture x86_64:
84#   "___builtin_object_size", referenced from:
85#   "_alloca", referenced from:
86compiler.blacklist-append llvm-gcc-4.2 macports-llvm-gcc-4.2
87
88livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)"
Note: See TracBrowser for help on using the repository browser.