Changeset 98337


Ignore:
Timestamp:
Oct 3, 2012, 1:59:00 AM (12 years ago)
Author:
ryandesign@…
Message:

tin-recent: whitespace changes; reformatting; add modeline

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/news/tin-recent/Portfile

    r92837 r98337  
     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
     
    6970#   1.9.6  =  1.8.0  + patches 001 to 021 and U001 to U025.
    7071
    71 # Note: Portfile reformatted according to portstyle(7).
    72 
    73 PortSystem 1.0
     72PortSystem          1.0
    7473
    7574name                tin-recent
     
    7978platforms           darwin
    8079maintainers         nomaintainer
    81 homepage            http://www.tin.org/
     80
    8281description         A Usenet newsreader
    8382
     
    9291
    9392set tindir tin/v[strsed ${version} {/\.[0-9]*$//}]/
     93homepage            http://www.tin.org/
    9494master_sites        ftp://ftp.tin.org/pub/news/clients/${tindir} \
    9595                    ftp://ftp.cuhk.edu.hk/pub/packages/news/${tindir}
    9696
     97distname            tin-${version}
    9798use_bzip2           yes
     99
    98100checksums           md5     f08018dbbdc4d227f6bbd7012f92b217 \
    99101                    sha1    a5d843ab938f6380a9d92fa95b5a2267999f958b \
    100102                    rmd160  284fe48668dfe3e20dd69b82834405792ec50aae
    101 
    102 distname            tin-${version}
    103103
    104104livecheck.type      regex
     
    145145    xinstall -d "${destroot}${prefix}/etc/tin"
    146146    xinstall -m 644 -v -W "${worksrcpath}/doc" \
    147       auth.txt CHANGES config-anomalies filtering good-netkeeping-seal \
    148       iso2asc.txt keymap.sample mailcap.sample pgp.txt reading-mail.txt \
    149       TODO umlaute.txt umlauts.txt WHATSNEW \
    150       "${destroot}${prefix}/share/doc/${name}"
     147        auth.txt CHANGES config-anomalies filtering good-netkeeping-seal \
     148        iso2asc.txt keymap.sample mailcap.sample pgp.txt reading-mail.txt \
     149        TODO umlaute.txt umlauts.txt WHATSNEW \
     150        "${destroot}${prefix}/share/doc/${name}"
    151151    file copy "${worksrcpath}/doc/tin.defaults" \
    152       "${destroot}${prefix}/etc/tin/tin.defaults-${version}"
     152        "${destroot}${prefix}/etc/tin/tin.defaults-${version}"
    153153}
    154154
    155155post-destroot {
    156156    xinstall -m 755 -v -W "${worksrcpath}/tools" \
    157       expiretover tinews.pl tinlock "${destroot}${prefix}/bin"
    158    # mutt-devel also installs these man pages, so removing here (since they
    159    # describe mail formats, makes a little more sense to be in the mail app)
    160    # ticket #11475
    161    delete ${destroot}${prefix}/share/man/man5/mbox.5
    162    delete ${destroot}${prefix}/share/man/man5/mmdf.5
     157        expiretover tinews.pl tinlock \
     158        "${destroot}${prefix}/bin"
     159    # mutt-devel also installs these man pages, so removing here (since they
     160    # describe mail formats, makes a little more sense to be in the mail app)
     161    # ticket #11475
     162    delete ${destroot}${prefix}/share/man/man5/mbox.5
     163    delete ${destroot}${prefix}/share/man/man5/mmdf.5
    163164}
    164165
     
    166167    set f "${prefix}/etc/tin/tin.defaults"
    167168    if {![file exists ${f}]} {
    168       file copy ${f}-${version} ${f}
     169        file copy ${f}-${version} ${f}
    169170    }
    170171}
    171172
    172173variant gpg description {GnuPG support} {
    173     depends_run bin:gpg:gnupg
    174     configure.args-delete --disable-pgp-gpg
    175     configure.args-append --with-gpg=${prefix}/bin/gpg \
    176                           --without-pgp \
    177                           --without-pgpk
     174    depends_run             bin:gpg:gnupg
     175    configure.args-delete   --disable-pgp-gpg
     176    configure.args-append   --with-gpg=${prefix}/bin/gpg \
     177                            --without-pgp \
     178                            --without-pgpk
    178179}
    179180
    180181variant pgp5 description {PGPK support} {
    181     depends_run bin:pgpk:pgp
    182     configure.args-delete --disable-pgp-gpg
    183     configure.args-append --with-pgpk=${prefix}/bin/pgpk \
    184                           --without-gpg \
    185                           --without-pgp
     182    depends_run             bin:pgpk:pgp
     183    configure.args-delete   --disable-pgp-gpg
     184    configure.args-append   --with-pgpk=${prefix}/bin/pgpk \
     185                            --without-gpg \
     186                            --without-pgp
    186187}
    187188
    188189variant ispell description {Ispell support} {
    189     depends_run bin:ispell:ispell
    190     configure.args-delete --without-ispell
    191     configure.args-append --with-ispell=${prefix}/bin/ispell
     190    depends_run             bin:ispell:ispell
     191    configure.args-delete   --without-ispell
     192    configure.args-append   --with-ispell=${prefix}/bin/ispell
    192193}
Note: See TracChangeset for help on using the changeset viewer.