[61617] trunk/dports/devel/libftd2xx/Portfile

jmr at macports.org jmr at macports.org
Wed Dec 16 14:21:43 PST 2009


Revision: 61617
          http://trac.macports.org/changeset/61617
Author:   jmr at macports.org
Date:     2009-12-16 14:21:42 -0800 (Wed, 16 Dec 2009)
Log Message:
-----------
libftd2xx: update to 0.1.7 (#22846)

Modified Paths:
--------------
    trunk/dports/devel/libftd2xx/Portfile

Modified: trunk/dports/devel/libftd2xx/Portfile
===================================================================
--- trunk/dports/devel/libftd2xx/Portfile	2009-12-16 22:15:13 UTC (rev 61616)
+++ trunk/dports/devel/libftd2xx/Portfile	2009-12-16 22:21:42 UTC (rev 61617)
@@ -4,8 +4,7 @@
 PortSystem 1.0
 
 name                libftd2xx
-version             0.1.6
-revision            1
+version             0.1.7
 categories          devel
 maintainers         gmail.com:ranauei
 description         FTDI D2XX Driver
@@ -15,17 +14,24 @@
                   
 homepage            http://www.ftdichip.com/Drivers/D2XX.htm
 platforms           macosx
-distname            Universal%20D2XX${version}
+distname            D2XX${version}
 master_sites        http://www.ftdichip.com/Drivers/D2XX/MacOSX/UniBin/
-checksums           md5 ce20e3ee5a9f70adc7e2b7bd3a0589e3 \
-                    sha1 7d5487068972c97526fc59ec8bea4577df86f520 \
-                    rmd160 aa4c2a2f8961ab3382c948ac617f007d0cd4f3af
+checksums           md5 b9822a4125fd5f6f174306b96182c3d8 \
+                    sha1 76e843bc33d2d3369ffc5398e2828d627372a607 \
+                    rmd160 c85b75817716cc57784568c5873825f2786f846e
 use_dmg             yes
 use_configure       no
 
 build {}
+
 destroot {
-   xinstall ${worksrcpath}/D2XX/bin/${name}.${version}.dylib ${destroot}${prefix}/lib
+   if { ${os.major}=="8" || ${os.major}=="9" } {
+       set os_dir 10.4-10.5
+   } elseif { ${os.major}>=10 } {
+       set os_dir 10.6
+   }
+
+   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
    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: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091216/e5c42b79/attachment.html>


More information about the macports-changes mailing list