Changeset 31453


Ignore:
Timestamp:
Nov 24, 2007, 2:39:33 PM (10 years ago)
Author:
simon@…
Message:

mail/t-prot: Updated to version 2.5, took maintainership.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/mail/t-prot/Portfile

    r31448 r31453  
    44
    55name                t-prot
    6 version             2.1.1
     6version             2.5
    77categories          mail
    88platforms           darwin
    9 maintainers         nomaintainer
     9maintainers         simon
    1010description         TOFU protection script (MUA display filter)
    1111long_description    You know these misformatted mail or news messages, with \
     
    1414                    That's what this script is for.
    1515
    16 homepage            http://www.escape.de/users/tolot/mutt/
    17 master_sites        http://www.escape.de/users/tolot/mutt/t-prot/downloads/
    18 checksums           md5 79d2223e03257ab7627f7fcbcde2cfac
     16homepage            http://www.escape.de/~tolot/mutt/
     17master_sites        ${homepage}t-prot/downloads/
     18checksums           md5 2ff61e5a823c9eea9f04f4e6a1e5e8ed \
     19                    sha1 c0987d1bbcb0c8ca1156204510ae68765f5e7588 \
     20                    rmd160 8568da171a75510af309a0375a626bbfc910c9a9
    1921
    2022depends_lib         port:p5-getopt-mixed \
    2123                    port:p5-locale-gettext
    2224
    23 use_configure no
     25use_configure       no
    2426
    2527build {
     
    2830
    2931destroot {
     32    # install t-prot and its man page:
    3033    xinstall -m 755 ${worksrcpath}/t-prot ${destroot}${prefix}/bin
    31     xinstall -m 644 ${worksrcpath}/t-prot.1 \
    32         ${destroot}${prefix}/share/man/man1
    33     xinstall -m 755 -d ${destroot}${prefix}/share/${name}
    34     xinstall -m 644 -W ${worksrcpath}/contrib README.examples \
    35     t-prot-r1.238-gpg126.diff README.patches t-prot-r1.246-mutt1511.diff \
    36     filter_innd.pl t-prot.sl muttrc.t-prot ${destroot}${prefix}/share/${name}/
     34    xinstall -m 644 ${worksrcpath}/t-prot.1 ${destroot}${prefix}/share/man/man1
     35
     36    # install additional files:
     37    xinstall -d ${destroot}${prefix}/share/${name}
     38    foreach file [glob ${worksrcpath}/contrib/*] {
     39        xinstall -m 644 $file ${destroot}${prefix}/share/${name}
     40    }
    3741}
    3842
    3943post-install {
    40     ui_msg ""
    41     ui_msg "to start TOFU protection, add this to your ~/.muttrc:"
    42     ui_msg "source ${prefix}/share/t-prot/muttrc.t-prot"
    43     ui_msg ""
    44     ui_msg "..and switch it off and on with Esc-0, Esc-1"
    45     ui_msg ""
     44    ui_msg "***************************************************************"
     45    ui_msg "* To use t-prot with mutt, add this to your ~/.muttrc:        *"
     46    ui_msg "* source ${prefix}/share/${name}/muttrc.t-prot                *"
     47    ui_msg "*                                                             *"
     48    ui_msg "* You can switch it off and on with Esc-0 and Esc-1.          *"
     49    ui_msg "*                                                             *"
     50    ui_msg "* If you use muttrc.t-prot you have to make sure the          *"
     51    ui_msg "* following directories exist (they can be empty):            *"
     52    ui_msg "* ~/.mutt/mlfooters                                           *"
     53    ui_msg "* ~/.mutt/adfooters                                           *"
     54    ui_msg "***************************************************************"
    4655}
    4756
    4857platform darwin {
    49     patch {
     58    post-patch {
    5059        reinplace "s|use strict;|use strict; use Locale\:\:gettext;|g" \
    5160            ${worksrcpath}/t-prot
Note: See TracChangeset for help on using the changeset viewer.