Changeset 143357 for trunk/dports


Ignore:
Timestamp:
Dec 11, 2015, 7:55:00 AM (3 years ago)
Author:
mojca@…
Message:

mb2md: whitespace and first line only

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/mail/mb2md/Portfile

    r116126 r143357  
     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
    12# $Id$
    23
    3 PortSystem              1.0
     4PortSystem          1.0
    45
    5 name                    mb2md
    6 version                 3.20
    7 revision        2
    8 categories              mail
    9 license                 public-domain
    10 maintainers             nomaintainer
    11 description             Script for converting Mbox mailboxes to Maildir format
    12 long_description        Perl script that takes one or more Mbox format \
    13                                         mailbox files in a directory and convert them to \
    14                                         Maildir format mailboxes.  It also converts the \
    15                                         mailspool file.  It is smart enough to not transfer \
    16                                         a dummy message such as the UW IMAPD puts at the \
    17                                         start of Mbox mailboxes - and you could add your own \
    18                                         search terms into the script to make it ignore other \
    19                                         forms of dummy first message.
    20 homepage                http://batleth.sapienti-sat.org/projects/${name}
    21 master_sites    ${homepage}
    22 distfiles               ${name}-${version}.pl.gz
    23 checksums               md5 b47eaa6ae4231a42f4a15564a08eb439
    24 platforms               darwin
    25 supported_archs noarch
     6name                mb2md
     7version             3.20
     8revision            2
     9categories          mail
     10license             public-domain
     11maintainers         nomaintainer
     12description         Script for converting Mbox mailboxes to Maildir format
     13long_description    Perl script that takes one or more Mbox format \
     14                    mailbox files in a directory and convert them to \
     15                    Maildir format mailboxes.  It also converts the \
     16                    mailspool file.  It is smart enough to not transfer \
     17                    a dummy message such as the UW IMAPD puts at the \
     18                    start of Mbox mailboxes - and you could add your own \
     19                    search terms into the script to make it ignore other \
     20                    forms of dummy first message.
     21homepage            http://batleth.sapienti-sat.org/projects/${name}
     22master_sites        ${homepage}
     23distfiles           ${name}-${version}.pl.gz
     24checksums           md5 b47eaa6ae4231a42f4a15564a08eb439
     25platforms           darwin
     26supported_archs     noarch
    2627
    27 depends_run             port:perl5.16 \
    28                                 port:p5.16-timedate
     28depends_run         port:perl5.16 \
     29                    port:p5.16-timedate
    2930
    30 pre-extract             { file mkdir ${worksrcpath} }
    31 extract.post_args       ">${worksrcpath}/${name}-${version}.pl"
     31pre-extract {
     32    file mkdir ${worksrcpath}
     33}
    3234
    33 patchfiles              patch-${name}
     35extract.post_args   ">${worksrcpath}/${name}-${version}.pl"
    3436
    35 use_configure   no
     37patchfiles          patch-${name}
     38
     39use_configure       no
    3640
    3741build {
    38         file copy ${worksrcpath}/${name}-${version}.pl ${worksrcpath}/${name}
    39         reinplace "s|^#!.*perl|#!${prefix}/bin/perl5.16|" ${worksrcpath}/${name}
     42    file copy ${worksrcpath}/${name}-${version}.pl ${worksrcpath}/${name}
     43    reinplace "s|^#!.*perl|#!${prefix}/bin/perl5.16|" ${worksrcpath}/${name}
    4044}
    4145
    4246destroot {
    43         xinstall -d -m 0755 ${destroot}${prefix}/bin
    44         xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin
     47    xinstall -d -m 0755 ${destroot}${prefix}/bin
     48    xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin
    4549}
Note: See TracChangeset for help on using the changeset viewer.