# -*- 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 znc version 1.6.2 revision 1 categories irc platforms darwin maintainers mfeiri openmaintainer license Apache-2 description An advanced IRC bouncer long_description ZNC is an IRC bounce/proxy with many advanced features \ like detaching, multiple users, multiple clients per \ user, channel/query playback buffers, SSL, IPv6, \ transparent DCC bouncing, C++/Perl/Tcl module support, \ party line, and Web administration. homepage http://znc.in/ master_sites ${homepage}releases/archive/ checksums rmd160 347416274a7e70c06fef7d5a47b84eae6103a2aa \ sha256 eef17727c0c6433fed1affba0ea76ec7fd60198d2f3c234d8529bd5fb26f0593 universal_variant no depends_lib path:lib/libssl.dylib:openssl port:tcl port:perl5 port:icu configure.args --enable-perl --enable-tcl --with-tcl=${prefix}/lib --disable-python variant python33 description "Enable Python modules, using python33" conflicts python34 python35 { compiler.blacklist-append { clang <= 503.0.38 } configure.args-replace --disable-python --enable-python depends_lib-append port:python33 configure.pkg_config_path ${frameworks_dir}/Python.framework/Versions/3.3/lib/pkgconfig/ } variant python34 description "Enable Python modules, using python34" conflicts python33 python35 { compiler.blacklist-append { clang <= 503.0.38 } configure.args-replace --disable-python --enable-python depends_lib-append port:python34 configure.pkg_config_path ${frameworks_dir}/Python.framework/Versions/3.4/lib/pkgconfig/ } variant python35 description "Enable Python modules, using python35" conflicts python33 python34 { compiler.blacklist-append { clang <= 503.0.38 } configure.args-replace --disable-python --enable-python depends_lib-append port:python35 configure.pkg_config_path ${frameworks_dir}/Python.framework/Versions/3.5/lib/pkgconfig/ } # Will fail in trace mode due to this downloads gtest test.run yes livecheck.type regex livecheck.url ${homepage}releases/ livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix} # require c++11 if {${configure.cxx_stdlib} eq "libstdc++"} { # *clang* when using libstdc++ do not seem to support C++11; # C++11 support seems to need GCC 4.7+ when using libstdc++; # could use C++0x support on GCC4.[56], but just ignore it since # there are newer compilers already in place as defaults. # Blacklist GCC compilers not supporting C++11 and all CLANG. # This is probably not necessary, but it's good practice. compiler.blacklist-append *clang* {*gcc-3*} {*gcc-4.[0-6]} # and whitelist those we do want to use. wish there were a better way. # these will be used in the order provided. compiler.whitelist macports-gcc-4.9 macports-gcc-4.8 macports-gcc-4.7 } else { # using libc++; # Blacklist Clang not supporting C++11 in some form and all GCC. compiler.blacklist-append *gcc* {clang < 500} }