# -*- 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 libftdi if {${name} == ${subport}} { replaced_by libftdi0 PortGroup obsolete 1.0 epoch 1 } version 0.20 categories devel license GPL-2+ maintainers snc openmaintainer description A library to talk to FTDI chips long_description A library to talk to FTDI chips: \ FT232BM/245BM, FT2232C/D and FT232/245R \ using libusb, including the popular bitbang mode. \ The license is LGPL. homepage http://www.intra2net.com/en/developer/libftdi/ platforms darwin master_sites http://www.intra2net.com/en/developer/libftdi/download/ depends_build-append port:pkgconfig depends_lib-append port:libusb-compat livecheck.url http://www.intra2net.com/en/developer/libftdi/download.php livecheck.type regex subport libftdi0 { revision 1 distname libftdi-${version} checksums rmd160 7406f831a6d7b3ccf8e246504f7275a5208f94e9 \ sha256 3176d5b5986438f33f5208e690a8bfe90941be501cc0a72118ce3d338d4b838e configure.args-append --with-boost=no \ --without-examples \ --without-docs livecheck.regex ${name}-(0(\\.\\d+)+) } subport libftdi1 { PortGroup cmake 1.0 version 1.3 revision 0 distname libftdi1-${version} use_bzip2 yes depends_build-append bin:doxygen:doxygen depends_lib-append port:boost \ port:gettext \ port:libconfuse \ port:libusb \ port:python27 \ port:swig-python checksums rmd160 27994eb2ba311c52305734b4b7564a6d7bd1ab2a \ sha256 9a8c95c94bfbcf36584a0a58a6e2003d9b133213d9202b76aec76302ffaa81f4 patchfiles patch-python-CMakeLists.txt.diff cmake.out_of_source yes configure.args-append -DPYTHON_EXECUTABLE=${prefix}/bin/python2.7 \ -DPYTHON_LIBRARY=${frameworks_dir}/Python.framework/Versions/2.7/lib/libpython2.7.dylib \ -DCMAKE_CXX_FLAGS=${configure.cxxflags} \ -DCMAKE_C_FLAGS=${configure.cflags} \ -DPYTHON_INCLUDE_DIR=${frameworks_dir}/Python.framework/Versions/2.7/Headers livecheck.regex ${subport}-(1(\\.\\d+)+) } if {${subport} == ${name}} { livecheck.type none }