# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 PortGroup compiler_blacklist_versions 1.0 name gupnp-tools version 0.8.12 license LGPL set branch [join [lrange [split ${version} .] 0 1] .] description GUPnP Tools are free replacements of Intel UPnP tools that use GUPnP. long_description ${description} maintainers devans openmaintainer categories net gnome platforms darwin homepage https://wiki.gnome.org/Projects/GUPnP master_sites gnome:sources/${name}/${branch}/ use_xz yes checksums rmd160 820d7b60b7a62bdfd7567849877f9b8460d5e3aa \ sha256 658de96953608c4b1f47578ae563a7066d1f1983565daf22ad52b7b328ef97b1 depends_build port:pkgconfig depends_lib port:desktop-file-utils \ port:gtk3 \ port:gssdp \ port:gupnp \ port:gupnp-av \ port:gtksourceview3 \ port:libsoup \ port:libxml2 \ port:ossp-uuid depends_run port:gnome-themes-standard patchfiles patch-m4-ax_compiler_flags_ldflags.m4.diff # blacklist compilers that do not support C11 # due to error: redefinition of typedef 'GUPnPService' # build fix for SL and earlier compiler.blacklist *gcc* {clang < 300} use_autoreconf yes autoreconf.args -fvi configure.args --disable-silent-rules post-activate { system "${prefix}/bin/update-desktop-database ${prefix}/share/applications" } livecheck.type gnome