Ignore:
Timestamp:
Jan 10, 2015, 6:33:45 PM (3 years ago)
Author:
ryandesign@…
Message:

libftd2xx: update to 1.2.2 and also install static library and cfg file (#46462, maintainer)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/libftd2xx/Portfile

    r90308 r131388  
    55
    66name                libftd2xx
    7 version             1.1.0
     7version             1.2.2
    88categories          devel
    99maintainers         gmail.com:ranauei
     
    1818master_sites        http://www.ftdichip.com/Drivers/D2XX/MacOSX/
    1919
    20 checksums           sha256 a999921b91df4644025647fd24271525e8825994aaf19abe244b29386f58252e \
    21                     rmd160 13416d771df71a4cbfe89c11c5b2450bb65864c8
     20checksums           rmd160  d9fb6ceba3de5aaa87978e04bd6eb3b27ce8c2ef \
     21                    sha256  7d6f39b4d092be2687321729e70ff8d08c20e288f7f036e1fdc19116c20a3250
    2222
    2323use_dmg             yes
     
    2828if { ${os.major}=="8" } {
    2929    set os_dir 10.4
     30    set static_dir static32
    3031    supported_archs     i386 ppc
    3132    configure.universal_archs i386 ppc
    3233} elseif { ${os.major}>=9 } {
    3334    set os_dir 10.5-10.7
     35    set static_dir static64
    3436    supported_archs     i386 ppc x86_64
    3537    configure.universal_archs i386 ppc x86_64
     
    4446destroot {
    4547   xinstall ${worksrcpath}/D2XX/bin/${os_dir}/${name}.${version}.dylib ${destroot}${prefix}/lib
    46    xinstall -m 644 -W ${worksrcpath}/D2XX bin/ftd2xx.h Samples/WinTypes.h ${destroot}${prefix}/include
     48   xinstall ${worksrcpath}/D2XX/bin/${static_dir}/${name}.a ${destroot}${prefix}/lib
     49   xinstall -m 644 ${worksrcpath}/D2XX/bin/ftd2xx.cfg ${destroot}${prefix}/lib
     50   xinstall -m 644 -W ${worksrcpath}/D2XX/bin ftd2xx.h WinTypes.h ${destroot}${prefix}/include
    4751   ln -s ${name}.${version}.dylib ${destroot}${prefix}/lib/${name}.dylib
    4852   system "install_name_tool -id ${prefix}/lib/${name}.${version}.dylib ${destroot}${prefix}/lib/${name}.${version}.dylib"
Note: See TracChangeset for help on using the changeset viewer.