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

ryandesign at macports.org ryandesign at macports.org
Sat Dec 12 08:07:20 PST 2015


Revision: 142997
          https://trac.macports.org/changeset/142997
Author:   ryandesign at macports.org
Date:     2015-12-01 05:39:46 -0800 (Tue, 01 Dec 2015)
Log Message:
-----------
naturaldocs: update to 1.52 and use perl 5.20 explicitly (#46515)

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

Modified: trunk/dports/textproc/naturaldocs/Portfile
===================================================================
--- trunk/dports/textproc/naturaldocs/Portfile	2015-12-01 13:37:08 UTC (rev 142996)
+++ trunk/dports/textproc/naturaldocs/Portfile	2015-12-01 13:39:46 UTC (rev 142997)
@@ -4,8 +4,7 @@
 PortGroup 	perl5 1.0
 
 name			naturaldocs
-version			1.5
-revision        3
+version         1.52
 categories		textproc devel
 license			AGPL-3
 maintainers		nomaintainer
@@ -20,24 +19,25 @@
 supported_archs noarch
 
 homepage		http://www.naturaldocs.org/
-master_sites    sourceforge
+master_sites    sourceforge:project/naturaldocs/Stable%20Releases/${version}/
 distname        NaturalDocs-${version}
 use_zip         yes
 extract.mkdir   yes
 
-checksums       md5     0c6fc5b424e672350c9ae510cabdeca5 \
-                sha1    e506e2759f7436467d4b8dcb7b37300401d07008 \
-                rmd160  3c571a080090d02e90e84013c864608376a7fd7e
+checksums       rmd160  92b6420cd4450f787bb7170e39cfe8e56b27bfb2 \
+                sha256  3f13c99e15778afe6c5555084a083f856e93567b31b08acd1fd81afb10082681
 
-depends_lib     path:bin/perl:perl5
+perl5.branches  5.20
 
-use_configure no
+depends_lib     port:perl${perl5.major}
 
 post-patch {
-    reinplace -locale C s|/usr/bin/perl|${prefix}/bin/perl|g ${worksrcpath}/NaturalDocs
-    system "chmod +x \"${worksrcpath}/NaturalDocs\""
+    reinplace -locale C s|/usr/bin/perl|${perl5.bin}|g ${worksrcpath}/NaturalDocs
+    file attributes ${worksrcpath}/NaturalDocs -permissions +x
 }
 
+use_configure   no
+
 build {}
 
 destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/65a9c344/attachment-0001.html>


More information about the macports-changes mailing list