[131388] trunk/dports/devel/libftd2xx/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sat Jan 10 10:33:45 PST 2015
Revision: 131388
https://trac.macports.org/changeset/131388
Author: ryandesign at macports.org
Date: 2015-01-10 10:33:45 -0800 (Sat, 10 Jan 2015)
Log Message:
-----------
libftd2xx: update to 1.2.2 and also install static library and cfg file (#46462, maintainer)
Modified Paths:
--------------
trunk/dports/devel/libftd2xx/Portfile
Modified: trunk/dports/devel/libftd2xx/Portfile
===================================================================
--- trunk/dports/devel/libftd2xx/Portfile 2015-01-10 18:12:01 UTC (rev 131387)
+++ trunk/dports/devel/libftd2xx/Portfile 2015-01-10 18:33:45 UTC (rev 131388)
@@ -4,7 +4,7 @@
PortSystem 1.0
name libftd2xx
-version 1.1.0
+version 1.2.2
categories devel
maintainers gmail.com:ranauei
description FTDI D2XX Driver
@@ -17,8 +17,8 @@
distname D2XX${version}
master_sites http://www.ftdichip.com/Drivers/D2XX/MacOSX/
-checksums sha256 a999921b91df4644025647fd24271525e8825994aaf19abe244b29386f58252e \
- rmd160 13416d771df71a4cbfe89c11c5b2450bb65864c8
+checksums rmd160 d9fb6ceba3de5aaa87978e04bd6eb3b27ce8c2ef \
+ sha256 7d6f39b4d092be2687321729e70ff8d08c20e288f7f036e1fdc19116c20a3250
use_dmg yes
use_configure no
@@ -27,10 +27,12 @@
if { ${os.major}=="8" } {
set os_dir 10.4
+ set static_dir static32
supported_archs i386 ppc
configure.universal_archs i386 ppc
} elseif { ${os.major}>=9 } {
set os_dir 10.5-10.7
+ set static_dir static64
supported_archs i386 ppc x86_64
configure.universal_archs i386 ppc x86_64
}
@@ -43,7 +45,9 @@
destroot {
xinstall ${worksrcpath}/D2XX/bin/${os_dir}/${name}.${version}.dylib ${destroot}${prefix}/lib
- xinstall -m 644 -W ${worksrcpath}/D2XX bin/ftd2xx.h Samples/WinTypes.h ${destroot}${prefix}/include
+ xinstall ${worksrcpath}/D2XX/bin/${static_dir}/${name}.a ${destroot}${prefix}/lib
+ xinstall -m 644 ${worksrcpath}/D2XX/bin/ftd2xx.cfg ${destroot}${prefix}/lib
+ xinstall -m 644 -W ${worksrcpath}/D2XX/bin ftd2xx.h WinTypes.h ${destroot}${prefix}/include
ln -s ${name}.${version}.dylib ${destroot}${prefix}/lib/${name}.dylib
system "install_name_tool -id ${prefix}/lib/${name}.${version}.dylib ${destroot}${prefix}/lib/${name}.${version}.dylib"
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150110/57588091/attachment.html>
More information about the macports-changes
mailing list