[55023] trunk/dports/devel/libftd2xx/Portfile
snc at macports.org
snc at macports.org
Wed Aug 5 20:28:27 PDT 2009
Revision: 55023
http://trac.macports.org/changeset/55023
Author: snc at macports.org
Date: 2009-08-05 20:28:26 -0700 (Wed, 05 Aug 2009)
Log Message:
-----------
cleanup destroot section per comments from ryan
Modified Paths:
--------------
trunk/dports/devel/libftd2xx/Portfile
Modified: trunk/dports/devel/libftd2xx/Portfile
===================================================================
--- trunk/dports/devel/libftd2xx/Portfile 2009-08-06 03:06:13 UTC (rev 55022)
+++ trunk/dports/devel/libftd2xx/Portfile 2009-08-06 03:28:26 UTC (rev 55023)
@@ -5,6 +5,7 @@
name libftd2xx
version 0.1.6
+revision 1
categories devel
maintainers gmail.com:ranauei
description FTDI D2xx Driver
@@ -22,14 +23,8 @@
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
+ xinstall ${worksrcpath}/D2XX/bin/${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"
}
-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"
-}
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090805/d386dc14/attachment.html>
More information about the macports-changes
mailing list