# -*- 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 # $Id$ PortSystem 1.0 name minidlna version 1.0.22_20111216 revision 1 categories net multimedia platforms darwin maintainers gmail.com:ranauei license GPL-2 description a UPnP (TM) A/V & DLNA Media Server long_description MiniDLNA (aka ReadyDLNA) is server software with the aim \ of being fully compliant with DLNA/UPnP-AV clients. homepage http://minidlna.sourceforge.net/ master_sites https://github.com/downloads/ranauei/melabot/ worksrcdir ${name} checksums sha256 05273f6711e83ff124fec6d1b74e54a47887484b003f24feefb1abca9a5c2182 \ rmd160 a057bcc61f0027ae261fef9b9a2493be97c98ed3 depends_lib port:ffmpeg \ port:flac \ port:libid3tag \ port:libexif \ port:sqlite3 post-patch { if {${configure.compiler} == "clang"} { reinplace "s|inline||g" ${worksrcpath}/utils.c ${worksrcpath}/tagutils/misc.c } } use_autoreconf yes post-destroot { xinstall -m 644 ${worksrcpath}/${name}.conf ${destroot}${prefix}/etc/${name}.conf.sample }