2011-12-14 21:37:42 +00:00
|
|
|
# -*- 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
|
|
|
|
|
|
2019-08-07 00:04:23 +01:00
|
|
|
PortSystem 1.0
|
2011-12-14 21:37:42 +00:00
|
|
|
|
2018-06-14 14:35:27 -05:00
|
|
|
name libraw
|
2025-05-15 22:00:25 -04:00
|
|
|
version 0.21.4
|
2023-01-10 11:50:09 +00:00
|
|
|
revision 0
|
|
|
|
|
|
2025-05-15 22:00:25 -04:00
|
|
|
checksums rmd160 17e00654b27c95f537e320a6ba2579fab5a17fa4 \
|
|
|
|
|
sha256 6be43f19397e43214ff56aab056bf3ff4925ca14012ce5a1538a172406a09e63 \
|
|
|
|
|
size 1383350
|
2019-08-07 00:04:23 +01:00
|
|
|
|
2019-08-22 11:58:32 +01:00
|
|
|
description Library for RAW image manipulation
|
|
|
|
|
long_description A library for reading RAW files obtained from digital photo \
|
|
|
|
|
cameras (CRW/CR2, NEF, RAF, DNG, and others).
|
2019-08-07 00:04:23 +01:00
|
|
|
|
2018-06-14 14:35:27 -05:00
|
|
|
categories graphics
|
2019-06-16 16:49:52 -07:00
|
|
|
license {LGPL-2.1 CDDL}
|
2018-06-14 14:35:27 -05:00
|
|
|
maintainers nomaintainer
|
2011-12-14 21:37:42 +00:00
|
|
|
|
2018-06-14 14:35:27 -05:00
|
|
|
homepage https://www.libraw.org
|
|
|
|
|
master_sites ${homepage}/data/
|
|
|
|
|
distname LibRaw-${version}
|
2011-12-14 21:37:42 +00:00
|
|
|
|
2018-06-14 14:35:27 -05:00
|
|
|
depends_build port:pkgconfig
|
2011-12-14 21:37:42 +00:00
|
|
|
|
2022-11-07 12:03:08 +11:00
|
|
|
depends_lib port:jasper \
|
2021-01-18 19:53:50 +11:00
|
|
|
path:include/turbojpeg.h:libjpeg-turbo \
|
2018-06-14 14:35:27 -05:00
|
|
|
port:lcms2
|
2011-12-14 21:37:42 +00:00
|
|
|
|
2020-11-07 13:46:57 -06:00
|
|
|
use_autoreconf yes
|
2023-10-09 01:44:32 +11:00
|
|
|
autoreconf.args -fvi
|
2020-11-07 13:46:57 -06:00
|
|
|
|
2021-09-20 22:15:02 -07:00
|
|
|
# libraw_datastream.h:125:8: error: no template named 'unique_ptr' in namespace 'std'
|
|
|
|
|
compiler.cxx_standard 2011
|
2020-08-21 22:04:22 -07:00
|
|
|
|
2019-11-10 14:14:25 -08:00
|
|
|
# disable openmp as it is not consistently applicable in MacPorts at present
|
2019-11-10 21:19:37 -08:00
|
|
|
configure.args-append --disable-openmp
|
2022-10-19 14:55:59 +02:00
|
|
|
configure.cppflags-append -DUSE_X3FTOOLS
|
2019-11-10 14:14:25 -08:00
|
|
|
|
2019-11-10 14:13:53 -08:00
|
|
|
# don't hardcode a link against libstc++
|
|
|
|
|
patchfiles-append patch-libraw-no-libstdcxx.diff
|
|
|
|
|
|
2016-05-22 17:47:18 +00:00
|
|
|
post-destroot {
|
|
|
|
|
set htmlDir ${destroot}${prefix}/share/doc/${name}/html
|
|
|
|
|
xinstall -d -m 0755 ${htmlDir}
|
|
|
|
|
xinstall -m 644 {*}[glob -directory ${worksrcpath}/doc/ *.html] ${htmlDir}
|
|
|
|
|
}
|
2011-12-14 21:37:42 +00:00
|
|
|
|
2018-06-14 14:35:27 -05:00
|
|
|
livecheck.type regex
|
|
|
|
|
livecheck.url ${homepage}/download/
|
|
|
|
|
livecheck.regex "LibRaw-(\\d+(?:\\.\\d+)*)${extract.suffix}"
|