source: trunk/dports/mail/perfect_maildir/Portfile @ 116118

Last change on this file since 116118 was 116118, checked in by jmr@…, 5 years ago

perfect_maildir: use perl 5.16, mark noarch

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 116118 2014-01-19 04:02:24Z jmr@macports.org $
2
3PortSystem          1.0
4
5name                perfect_maildir
6version             0.3
7revision            2
8categories          mail
9platforms           darwin
10supported_archs     noarch
11license             GPL-2+
12maintainers         nomaintainer
13description         Simple but Perfect mbox to Maildir converter
14long_description    ${description} by Philip Mak.
15
16homepage            http://perfectmaildir.home-dn.net/
17master_sites        ${homepage}/${name}/
18checksums           md5 a5e52b2c12ded8e5670db7e46bfaebb1 \
19                    sha1 6e0beadfcefe232fd89dbed2d3a5f2e454421ff7 \
20                    rmd160 f076ea65732d1c49996f68c19956aa33b2eaaed3
21distfiles           ${name}.pl
22
23depends_lib         port:perl5.16 \
24                    port:p5.16-timedate
25
26extract {
27    file mkdir ${worksrcpath}
28    file copy ${distpath}/${distfiles} ${worksrcpath}
29}
30
31patch {
32    reinplace "s|/usr/bin/perl|${prefix}/bin/perl5.16|g" ${worksrcpath}/${name}.pl
33}
34
35use_configure       no
36
37build {}
38
39destroot {
40    xinstall ${worksrcpath}/${name}.pl ${destroot}${prefix}/bin/${name}
41}
42
43livecheck.type      regex
44livecheck.url       ${master_sites}CHANGES
45livecheck.regex     {v(\d+(?:\.\d+)*)}
Note: See TracBrowser for help on using the repository browser.