Changeset 144222


Ignore:
Timestamp:
Jan 5, 2016, 12:41:40 AM (4 years ago)
Author:
mojca@…
Message:

metar: checksums, minor changes in perl5 handling (#48365)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/science/metar/Portfile

    r123037 r144222  
    2121master_sites        http://www.autistici.org/0xFE/software/releases/metar/
    2222
    23 checksums           md5    c694636e3f402423b8de39eab3e6beec \
    24                     sha1    4e8401f89a3db0434505633d9244e324b953daea \
    25                     rmd160  28644bc6b2507352236b2e2cf8e0975724678b77
     23checksums           rmd160  28644bc6b2507352236b2e2cf8e0975724678b77 \
     24                    sha256  194b17dc559f91c45847b5fdecceb0d8f71b97ce77b989a728a7416406edfdfa
    2625
    27 depends_lib-append  port:p${perl5.default_branch}-libwww-perl
     26perl5.branches      5.22
     27depends_lib-append  port:p${perl5.major}-libwww-perl
    2828worksrcdir          ${name}
    2929
     
    3434destroot.destdir    DEST_DIR=${destroot}${prefix}/bin
    3535
    36 pre-destroot {
    37     reinplace "s|#!/usr/bin/perl|#!${prefix}/bin/perl${perl5.default_branch}|g" ${worksrcpath}/${name}.pl
     36post-patch {
     37    reinplace "s|#!/usr/bin/perl|#!${perl5.bin}|g" ${worksrcpath}/${name}.pl
    3838}
    3939
Note: See TracChangeset for help on using the changeset viewer.