source: trunk/dports/mail/perfect_maildir/Portfile

Last change on this file was 151868, checked in by mojca@…, 15 months ago

perfect_maildir: switch to perl5.24 (#52081)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 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 151868 2016-08-23 12:37:29Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           perl5 1.0
6
7name                perfect_maildir
8version             0.3
9revision            4
10categories          mail
11platforms           darwin
12supported_archs     noarch
13license             GPL-2+
14maintainers         nomaintainer
15description         Simple but Perfect mbox to Maildir converter
16long_description    ${description} by Philip Mak.
17
18homepage            http://perfectmaildir.home-dn.net/
19master_sites        ${homepage}/${name}/
20checksums           rmd160  f076ea65732d1c49996f68c19956aa33b2eaaed3 \
21                    sha256  e053602aacffee6f871d0610c0b6329bb8af6c915e4a6d80fde880b052ee7109
22
23distfiles           ${name}.pl
24
25perl5.branches      5.24
26
27depends_run         port:perl${perl5.major} \
28                    port:p${perl5.major}-timedate
29
30extract {
31    file mkdir ${worksrcpath}
32    file copy ${distpath}/${distfiles} ${worksrcpath}
33}
34
35patch {
36    reinplace "s|/usr/bin/perl|${perl5.bin}|g" ${worksrcpath}/${name}.pl
37}
38
39use_configure       no
40
41build {}
42
43destroot {
44    xinstall ${worksrcpath}/${name}.pl ${destroot}${prefix}/bin/${name}
45}
46
47livecheck.type      regex
48livecheck.url       ${master_sites}CHANGES
49livecheck.regex     {v(\d+(?:\.\d+)*)}
Note: See TracBrowser for help on using the repository browser.