[137281] trunk/dports/sysutils/pstree/Portfile

ryandesign at macports.org ryandesign at macports.org
Sun Jun 7 19:13:53 PDT 2015


Revision: 137281
          https://trac.macports.org/changeset/137281
Author:   ryandesign at macports.org
Date:     2015-06-07 19:13:53 -0700 (Sun, 07 Jun 2015)
Log Message:
-----------
pstree: use "extract.mkdir yes" instead of doing it manually

Modified Paths:
--------------
    trunk/dports/sysutils/pstree/Portfile

Modified: trunk/dports/sysutils/pstree/Portfile
===================================================================
--- trunk/dports/sysutils/pstree/Portfile	2015-06-08 02:09:58 UTC (rev 137280)
+++ trunk/dports/sysutils/pstree/Portfile	2015-06-08 02:13:53 UTC (rev 137281)
@@ -19,13 +19,13 @@
 
 installs_libs       no
 
+extract.mkdir       yes
+
 variant universal   {}
 
-pre-extract {
-    file mkdir ${worksrcpath}
+post-extract {
     xinstall -m 755 ${filespath}/configure ${worksrcpath}
 }
-extract.dir    ${worksrcpath}
 
 destroot {
     xinstall -s ${worksrcpath}/pstree ${destroot}${prefix}/bin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150607/6acc82bf/attachment-0001.html>


More information about the macports-changes mailing list