# -*- 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 PortGroup github 1.0 PortGroup cmake 1.0 cmake.out_of_source yes github.setup libproxy libproxy 0.4.13 name libproxy epoch 1 revision 2 categories net maintainers devans openmaintainer platforms darwin license LGPL-2.1+ homepage http://libproxy.github.io/libproxy description A library that provides automatic proxy configuration management. long_description Libproxy exists to answer the question: Given a \ network resource, how do I reach it? It handles all \ the details, enabling you to get back to programming. checksums rmd160 08077c214213d782d45d01ee720845bc3e803fd6 \ sha256 46133542bd6a2d66058cb66adf3e592ebd0f355db3e1005bbd30ac5ed4328cf7 patchfiles patch-libproxy-cmake.diff \ patch-libproxy-test-CMakeLists.txt.diff \ patch-bindings-perl-src-CMakeLists.txt.diff \ patch-libproxy-modules-config_kde.cpp.diff depends_build-append \ port:pkgconfig depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 \ port:vala # # webkit and mozjs pacrunners disabled by default due to the # following issues # # webkit pacrunner circular dependency problem # webkit-gtk -> libsoup -> libproxy -> webkit-gtk (#26261) # # pac files support not available on Tiger (#24127) # # TODO: add variants that safely enable these features # use_parallel_build no # use default build which targets GNOME3 (gsettings) instead of GNOME2 (gconf) # perl bindings disabled due to unpredictable configuration configure.args-append \ -DMP_MACOSX=NO \ -DWITH_WEBKIT=NO \ -DWITH_WEBKIT3=NO \ -DWITH_VALA=YES \ -DWITH_PERL=NO \ -DWITH_PYTHON=NO variant kde description {Enable KDE4 plugin} { configure.args-append -DQT_QT_INCLUDE_DIR=${prefix}/include/QtCore depends_lib-append port:kdelibs4 } variant python27 description {Build Bindings for Python 2.7} { set python_prefix ${frameworks_dir}/Python.framework/Versions/2.7 depends_lib-append port:python27 configure.args-delete \ -DWITH_PYTHON=NO configure.args-append \ -DWITH_PYTHON=YES \ -DPYTHON_EXECUTABLE=${prefix}/bin/python2.7 \ -DPYTHON_SITEPKG_DIR=${python_prefix}/lib/python2.7/site-packages } # build Python bindings by default default_variants +python27 post-patch { if {${os.major} < 13 && [string match "*clang*" ${configure.compiler}]} { # reinplace "s:-D_POSIX_C_SOURCE=200112L:-D_POSIX_C_SOURCE=200112L -D_DARWIN_C_SOURCE=1:" ${worksrcpath}/libproxy/CMakeLists.txt } }