source: trunk/dports/graphics/libopenraw/Portfile

Last change on this file was 153701, checked in by ryandesign@…, 12 months ago

libopenraw: Disable silent rules

  • 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 153701 2016-10-08 10:00:38Z ryandesign@macports.org $
3
4PortSystem      1.0
5
6name            libopenraw
7version         0.0.9
8revision        6
9categories      graphics
10license         LGPL-3+
11maintainers     devans openmaintainer
12platforms       darwin
13homepage        https://libopenraw.freedesktop.org/wiki/
14master_sites    https://libopenraw.freedesktop.org/download/
15
16description \
17    libopenraw is an ongoing project to provide a free software implementation for camera RAW files decoding.
18
19long_description \
20    libopenraw is an ongoing project to provide a free software implementation for camera RAW files decoding. \
21    One of the main reasons is that dcraw is not suited for easy integration into applications, and there is a \
22    need for an easy to use API to build free software digital image processing applications. It also has the \
23    goal to address features missing from dcraw such as meta-data decoding and easy thumbnail extraction.
24
25checksums       sha1    ca246099c5b4f9f1714579706f019382c547b061 \
26                rmd160  c525d8f028cec056b2217815cc7c390c80082281
27
28use_bzip2       yes
29
30patchfiles      patch-Makefile.am.diff \
31                patch-lib-jfifcontainer.cpp.diff
32
33depends_build   port:pkgconfig
34
35depends_lib     port:libxml2 \
36                port:boost \
37                port:jpeg
38
39# Teach glibtool about -stdlib=libc++
40use_autoreconf  yes
41autoreconf.args -fvi
42
43configure.args  --with-boost=${prefix} \
44                --disable-gnome
45
46variant gnome description {Build with GNOME/GTK+ support}  {
47    depends_lib-append      port:gdk-pixbuf2
48    configure.args-delete   --disable-gnome
49}
50
51default_variants +gnome
52
53# Disable silent rules
54build.args      V=1
55
56post-activate {
57    if {[variant_isset gnome]} {
58        ui_debug "Updating gdk-pixbuf.loaders..."
59        system "${prefix}/bin/gdk-pixbuf-query-loaders --update-cache"
60    }
61}
62
63livecheck.type  regex
64livecheck.url   [lindex ${master_sites} 0]
65livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.