# -*- 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 PortSystem 1.0 PortGroup github 1.0 PortGroup compiler_blacklist_versions 1.0 # normally update mediainfo port at the same time github.setup MediaArea MediaInfoLib 23.11 v checksums rmd160 1f4927c9c682b8240fe56c53e79da2907ad6b570 \ sha256 48c47c09481bd29299e1bac42ad8148aa2222db170cac23ee46a44e25ea3e837 \ size 2876528 name mediainfolib description Supplies technical and tag information about a video or audio file long_description {*}${description} homepage https://mediaarea.net categories devel multimedia platforms darwin maintainers {ctreleaven @ctreleaven} openmaintainer license BSD # make pkg-config act like on Linux, no '-I/opt/local/include' in cflags configure.env-append PKG_CONFIG_SYSTEM_INCLUDE_PATH=${prefix}/include # cascade of errors if no autoreconf use_autoreconf yes autoreconf.args-append --force --install configure.args --with-libcurl # otherwise may find headers from libmd, maybe others configure.cppflags-delete -I${prefix}/include depends_build-append port:pkgconfig depends_lib-append port:curl \ port:zenlib \ port:zlib worksrcdir ${worksrcdir}/Project/GNU/Library compiler.cxx_standard 2011 # see https://trac.macports.org/ticket/67223 compiler.blacklist-append {clang < 900}