[84629] trunk/dports/graphics/shapelib/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Sep 28 23:00:29 PDT 2011


Revision: 84629
          http://trac.macports.org/changeset/84629
Author:   ryandesign at macports.org
Date:     2011-09-28 23:00:29 -0700 (Wed, 28 Sep 2011)
Log Message:
-----------
shapelib: simplify destroot

Modified Paths:
--------------
    trunk/dports/graphics/shapelib/Portfile

Modified: trunk/dports/graphics/shapelib/Portfile
===================================================================
--- trunk/dports/graphics/shapelib/Portfile	2011-09-29 05:54:49 UTC (rev 84628)
+++ trunk/dports/graphics/shapelib/Portfile	2011-09-29 06:00:29 UTC (rev 84629)
@@ -39,10 +39,8 @@
 destroot.target
 
 post-destroot {
-    xinstall -m 755 -d ${destroot}${prefix}/include
-    xinstall -m 755 -d ${destroot}${prefix}/lib
     xinstall -m 644 -c -W ${worksrcpath} shapefil.h ${destroot}${prefix}/include
     xinstall -m 644 -c -W ${worksrcpath} libshp.${version}.dylib ${destroot}${prefix}/lib
-    system "ln -sf libshp.${version}.dylib ${destroot}${prefix}/lib/libshp.${libver}.dylib"
-    system "ln -sf libshp.${version}.dylib ${destroot}${prefix}/lib/libshp.dylib"
+    ln -s libshp.${version}.dylib ${destroot}${prefix}/lib/libshp.${libver}.dylib
+    ln -s libshp.${version}.dylib ${destroot}${prefix}/lib/libshp.dylib
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110928/711882f3/attachment.html>


More information about the macports-changes mailing list