Changeset 143415


Ignore:
Timestamp:
Dec 12, 2015, 9:51:58 AM (3 years ago)
Author:
mojca@…
Message:

perlprimer: switch to perl5.22 using the perl5 portgroup (#48365), dependencies are runtime

File:
1 edited

Legend:

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

    r123269 r143415  
    33
    44PortSystem          1.0
     5PortGroup           perl5 1.0
    56
    67name                perlprimer
    78version             1.1.21
    8 set perl_version    5.16
     9revision            1
     10perl5.branches      5.22
    911categories          science perl
    1012license             GPL-2+
     
    1315
    1416description         Perl-based primer designer
    15 long_description \
    16    PerlPrimer is a free, open-source GUI application written in Perl that \
    17    designs primers for standard PCR, bisulphite PCR, real-time PCR (QPCR) \
    18    and sequencing. It aims to automate and simplify the process of primer \
    19    design.
     17long_description    PerlPrimer is a free, open-source GUI application written in Perl that \
     18                    designs primers for standard PCR, bisulphite PCR, real-time PCR (QPCR) \
     19                    and sequencing. It aims to automate and simplify the process of primer \
     20                    design.
    2021
    2122platforms           darwin
     
    2526use_bzip2           yes
    2627
    27 depends_lib         port:p${perl_version}-libwww-perl \
    28                     port:p${perl_version}-tk
     28depends_run         port:p${perl5.major}-libwww-perl \
     29                    port:p${perl5.major}-tk
    2930
    3031checksums           rmd160  5e96efc1c8a6a792b4333b5e4c4218506870c74b \
     
    3839    xinstall -m 755 -W ${worksrcpath} perlprimer.pl ${destroot}${prefix}/bin
    3940    ln -s perlprimer.pl ${destroot}${prefix}/bin/perlprimer
    40     reinplace -locale C "s|#!/usr/bin/perl|#!${prefix}/bin/perl${perl_version}|g" \
     41    reinplace -locale C "s|#!/usr/bin/perl|#!${perl5.bin}|g" \
    4142        ${destroot}${prefix}/bin/perlprimer.pl
    4243    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
Note: See TracChangeset for help on using the changeset viewer.