Ignore:
Timestamp:
Dec 1, 2015, 1:39:46 PM (4 years ago)
Author:
ryandesign@…
Message:

naturaldocs: update to 1.52 and use perl 5.20 explicitly (#46515)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/textproc/naturaldocs/Portfile

    r142995 r142997  
    55
    66name                    naturaldocs
    7 version                 1.5
    8 revision        3
     7version         1.52
    98categories              textproc devel
    109license                 AGPL-3
     
    2120
    2221homepage                http://www.naturaldocs.org/
    23 master_sites    sourceforge
     22master_sites    sourceforge:project/naturaldocs/Stable%20Releases/${version}/
    2423distname        NaturalDocs-${version}
    2524use_zip         yes
    2625extract.mkdir   yes
    2726
    28 checksums       md5     0c6fc5b424e672350c9ae510cabdeca5 \
    29                 sha1    e506e2759f7436467d4b8dcb7b37300401d07008 \
    30                 rmd160  3c571a080090d02e90e84013c864608376a7fd7e
     27checksums       rmd160  92b6420cd4450f787bb7170e39cfe8e56b27bfb2 \
     28                sha256  3f13c99e15778afe6c5555084a083f856e93567b31b08acd1fd81afb10082681
    3129
    32 depends_lib     path:bin/perl:perl5
     30perl5.branches  5.20
    3331
    34 use_configure no
     32depends_lib     port:perl${perl5.major}
    3533
    3634post-patch {
    37     reinplace -locale C s|/usr/bin/perl|${prefix}/bin/perl|g ${worksrcpath}/NaturalDocs
    38     system "chmod +x \"${worksrcpath}/NaturalDocs\""
     35    reinplace -locale C s|/usr/bin/perl|${perl5.bin}|g ${worksrcpath}/NaturalDocs
     36    file attributes ${worksrcpath}/NaturalDocs -permissions +x
    3937}
     38
     39use_configure   no
    4040
    4141build {}
Note: See TracChangeset for help on using the changeset viewer.