[143415] trunk/dports/science/perlprimer/Portfile

mojca at macports.org mojca at macports.org
Sat Dec 12 10:50:47 PST 2015


Revision: 143415
          https://trac.macports.org/changeset/143415
Author:   mojca at macports.org
Date:     2015-12-12 01:51:58 -0800 (Sat, 12 Dec 2015)
Log Message:
-----------
perlprimer: switch to perl5.22 using the perl5 portgroup (#48365), dependencies are runtime

Modified Paths:
--------------
    trunk/dports/science/perlprimer/Portfile

Modified: trunk/dports/science/perlprimer/Portfile
===================================================================
--- trunk/dports/science/perlprimer/Portfile	2015-12-12 09:51:12 UTC (rev 143414)
+++ trunk/dports/science/perlprimer/Portfile	2015-12-12 09:51:58 UTC (rev 143415)
@@ -2,21 +2,22 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           perl5 1.0
 
 name                perlprimer
 version             1.1.21
-set perl_version    5.16
+revision            1
+perl5.branches      5.22
 categories          science perl
 license             GPL-2+
 maintainers         nomaintainer
 supported_archs     noarch
 
 description         Perl-based primer designer
-long_description \
-   PerlPrimer is a free, open-source GUI application written in Perl that \
-   designs primers for standard PCR, bisulphite PCR, real-time PCR (QPCR) \
-   and sequencing. It aims to automate and simplify the process of primer \
-   design.
+long_description    PerlPrimer is a free, open-source GUI application written in Perl that \
+                    designs primers for standard PCR, bisulphite PCR, real-time PCR (QPCR) \
+                    and sequencing. It aims to automate and simplify the process of primer \
+                    design.
 
 platforms           darwin
 
@@ -24,8 +25,8 @@
 master_sites        sourceforge
 use_bzip2           yes
 
-depends_lib         port:p${perl_version}-libwww-perl \
-                    port:p${perl_version}-tk
+depends_run         port:p${perl5.major}-libwww-perl \
+                    port:p${perl5.major}-tk
 
 checksums           rmd160  5e96efc1c8a6a792b4333b5e4c4218506870c74b \
                     sha256  19fe2202c18ad65a05d7b90ef642103e9db8e6993fe76d87c7c7cc3586e4fd20
@@ -37,7 +38,7 @@
 destroot {
     xinstall -m 755 -W ${worksrcpath} perlprimer.pl ${destroot}${prefix}/bin
     ln -s perlprimer.pl ${destroot}${prefix}/bin/perlprimer
-    reinplace -locale C "s|#!/usr/bin/perl|#!${prefix}/bin/perl${perl_version}|g" \
+    reinplace -locale C "s|#!/usr/bin/perl|#!${perl5.bin}|g" \
         ${destroot}${prefix}/bin/perlprimer.pl
     xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
     xinstall -m 644 -W ${worksrcpath} Changelog ReadMe ReadMe.txt gcg.603 \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/bfc62b6e/attachment.html>


More information about the macports-changes mailing list