Ticket #27596: Portfile.diff
File Portfile.diff, 1.3 KB (added by ranauei@…, 14 years ago) |
---|
-
Portfile
old new 4 4 PortSystem 1.0 5 5 6 6 name libftd2xx 7 version 0.1.77 version 1.0.0 8 8 categories devel 9 9 maintainers gmail.com:ranauei 10 10 description FTDI D2XX Driver … … 16 16 platforms macosx 17 17 distname D2XX${version} 18 18 master_sites http://www.ftdichip.com/Drivers/D2XX/MacOSX/UniBin/ 19 checksums md5 b9822a4125fd5f6f174306b96182c3d8\20 sha1 76e843bc33d2d3369ffc5398e2828d627372a607\21 rmd160 c85b75817716cc57784568c5873825f2786f846e19 checksums md5 44b5ce91bb8e5218a10e5a6a7c9ae02c \ 20 sha1 f4599097d4698163f5e9fc7f2855bdce98d4f235 \ 21 rmd160 f9b5b7fbb49017affdcc313c9dd7badaf018375a 22 22 use_dmg yes 23 23 use_configure no 24 24 25 25 build {} 26 26 27 27 destroot { 28 if { ${os.major}=="8" || ${os.major}=="9"} {29 set os_dir 10.4 -10.530 } elseif { ${os.major}>= 10} {31 set os_dir 10. 628 if { ${os.major}=="8" } { 29 set os_dir 10.4 30 } elseif { ${os.major}>=9 } { 31 set os_dir 10.5\ -\ 10.6 32 32 } 33 33 34 34 xinstall ${worksrcpath}/D2XX/bin/${os_dir}/${name}.${version}.dylib ${destroot}${prefix}/lib