[29299] trunk/dports/net/adns/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Thu Sep 20 09:13:18 PDT 2007


Revision: 29299
          http://trac.macosforge.org/projects/macports/changeset/29299
Author:   jmpp at macports.org
Date:     2007-09-20 09:13:17 -0700 (Thu, 20 Sep 2007)

Log Message:
-----------
Remove cd command and unnecessary parenthesis wrapping the arguments to the system commands.

Modified Paths:
--------------
    trunk/dports/net/adns/Portfile

Modified: trunk/dports/net/adns/Portfile
===================================================================
--- trunk/dports/net/adns/Portfile	2007-09-20 15:11:33 UTC (rev 29298)
+++ trunk/dports/net/adns/Portfile	2007-09-20 16:13:17 UTC (rev 29299)
@@ -26,13 +26,12 @@
 test.target      check
 
 destroot {
-    cd ${worksrcpath}
-    xinstall -m 555 client/adnslogres client/adnshost \
+    xinstall -W ${worksrcpath} -m 555 client/adnslogres client/adnshost \
         client/adnsresfilter ${destroot}${prefix}/bin
     xinstall -m 444 src/libadns.a ${destroot}${prefix}/lib
     system "ranlib ${destroot}${prefix}/lib/libadns.a"
     xinstall -m 444 src/adns.h ${destroot}${prefix}/include
     xinstall -m 755 dynamic/libadns.dylib.1.1 ${destroot}${prefix}/lib
-    system "(cd ${destroot}${prefix}/lib && ln -s libadns.dylib.1.1 libadns.dylib.1)"
-    system "(cd ${destroot}${prefix}/lib && ln -s libadns.dylib.1.1 libadns.dylib)"
+    system "cd ${destroot}${prefix}/lib && ln -s libadns.dylib.1.1 libadns.dylib.1"
+    system "cd ${destroot}${prefix}/lib && ln -s libadns.dylib.1.1 libadns.dylib"
 }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070920/715f9e3f/attachment.html


More information about the macports-changes mailing list