[71529] trunk/dports/textproc/naturaldocs/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Sep 15 13:03:47 PDT 2010


Revision: 71529
          http://trac.macports.org/changeset/71529
Author:   ryandesign at macports.org
Date:     2010-09-15 13:03:45 -0700 (Wed, 15 Sep 2010)
Log Message:
-----------
naturaldocs: use "extract.mkdir yes" instead of reinventing it

Modified Paths:
--------------
    trunk/dports/textproc/naturaldocs/Portfile

Modified: trunk/dports/textproc/naturaldocs/Portfile
===================================================================
--- trunk/dports/textproc/naturaldocs/Portfile	2010-09-15 19:26:29 UTC (rev 71528)
+++ trunk/dports/textproc/naturaldocs/Portfile	2010-09-15 20:03:45 UTC (rev 71529)
@@ -20,7 +20,7 @@
 master_sites    sourceforge:${name}/Stable%20Releases/${version}
 distname        NaturalDocs-${version}
 use_zip         yes
-extract.dir     ${worksrcpath}
+extract.mkdir   yes
 
 checksums       md5     0c6fc5b424e672350c9ae510cabdeca5 \
                 sha1    e506e2759f7436467d4b8dcb7b37300401d07008 \
@@ -29,11 +29,6 @@
 depends_lib    bin:perl:perl5
 use_configure no
 
-pre-extract {
-    # The zip file extracts the files without a containing directory, so we create it here.
-    file mkdir ${worksrcpath}
-}
-
 post-patch {
     reinplace s|/usr/bin/perl|${prefix}/bin/perl|g ${worksrcpath}/NaturalDocs
     system "chmod +x \"${worksrcpath}/NaturalDocs\""
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100915/27862142/attachment.html>


More information about the macports-changes mailing list