source: trunk/dports/science/perlprimer/Portfile

Last change on this file was 151867, checked in by mojca@…, 13 months ago

perlprimer: switch to perl5.24 (#52081)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 151867 2016-08-23 12:36:39Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           perl5 1.0
6
7name                perlprimer
8version             1.1.21
9revision            2
10perl5.branches      5.24
11categories          science perl
12license             GPL-2+
13maintainers         nomaintainer
14supported_archs     noarch
15
16description         Perl-based primer designer
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.
21
22platforms           darwin
23
24homepage            http://perlprimer.sourceforge.net/
25master_sites        sourceforge
26use_bzip2           yes
27
28depends_run         port:p${perl5.major}-libwww-perl \
29                    port:p${perl5.major}-tk
30
31checksums           rmd160  5e96efc1c8a6a792b4333b5e4c4218506870c74b \
32                    sha256  19fe2202c18ad65a05d7b90ef642103e9db8e6993fe76d87c7c7cc3586e4fd20
33
34use_configure       no
35
36build               {}
37
38destroot {
39    xinstall -m 755 -W ${worksrcpath} perlprimer.pl ${destroot}${prefix}/bin
40    ln -s perlprimer.pl ${destroot}${prefix}/bin/perlprimer
41    reinplace -locale C "s|#!/usr/bin/perl|#!${perl5.bin}|g" \
42        ${destroot}${prefix}/bin/perlprimer.pl
43    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
44    xinstall -m 644 -W ${worksrcpath} Changelog ReadMe ReadMe.txt gcg.603 \
45       todo tutorial.html ${destroot}${prefix}/share/doc/${name}
46}
47
48livecheck.type      regex
49livecheck.url       ${homepage}download.html
50livecheck.regex     ${name}-(\[0-9.\]+)\\.
Note: See TracBrowser for help on using the repository browser.