[55009] trunk/dports/devel

snc at macports.org snc at macports.org
Wed Aug 5 19:46:39 PDT 2009


Revision: 55009
          http://trac.macports.org/changeset/55009
Author:   snc at macports.org
Date:     2009-08-05 19:46:39 -0700 (Wed, 05 Aug 2009)
Log Message:
-----------
created libftd2xx, ticket #20565

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

Added: trunk/dports/devel/libftd2xx/Portfile
===================================================================
--- trunk/dports/devel/libftd2xx/Portfile	                        (rev 0)
+++ trunk/dports/devel/libftd2xx/Portfile	2009-08-06 02:46:39 UTC (rev 55009)
@@ -0,0 +1,35 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+
+name              libftd2xx
+version           0.1.6
+categories        devel
+maintainers       gmail.com:ranauei
+description       FTDI D2xx Driver
+long_description  D2XX Driver: allow direct access to the USB device through a DLL. \
+                  Devices supported: FT2232H, FT4232H, FT232R, FT245R, FT2232, FT232B, FT245B, FT8U232AM, FT8U245AM
+homepage          http://www.ftdichip.com/Drivers/D2XX.htm
+platforms         macosx
+distname          Universal%20D2XX${version}
+master_sites      http://www.ftdichip.com/Drivers/D2XX/MacOSX/UniBin/
+checksums         md5 ce20e3ee5a9f70adc7e2b7bd3a0589e3 \
+                  sha1 7d5487068972c97526fc59ec8bea4577df86f520 \
+                  rmd160 aa4c2a2f8961ab3382c948ac617f007d0cd4f3af
+use_dmg yes
+use_configure no
+
+build {}
+destroot {
+    xinstall -o root -g wheel -d ${destroot}${prefix}/lib
+    xinstall -o root -g wheel ${worksrcpath}/D2XX/bin/${name}.${version}.dylib ${destroot}${prefix}/lib
+    xinstall -o root -g wheel -d ${destroot}${prefix}/include
+    xinstall -o root -g wheel ${worksrcpath}/D2XX/bin/ftd2xx.h ${destroot}${prefix}/include
+    xinstall -o root -g wheel ${worksrcpath}/D2XX/Samples/WinTypes.h ${destroot}${prefix}/include
+}
+post-destroot {
+    system "ln -sf ${name}.${version}.dylib ${destroot}${prefix}/lib/${name}.dylib"
+    system "install_name_tool -id ${prefix}/lib/${name}.${version}.dylib ${destroot}${prefix}/lib/${name}.${version}.dylib"
+}
+


Property changes on: trunk/dports/devel/libftd2xx/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090805/f1e2d468/attachment.html>


More information about the macports-changes mailing list