Changeset 153857


Ignore:
Timestamp:
Oct 14, 2016, 1:38:41 AM (4 years ago)
Author:
khindenburg@…
Message:

tin-recent: replaced_by tin-devel

File:
1 edited

Legend:

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

    r139469 r153857  
    22# $Id$
    33
    4 # The Tin development model is based on patchsets, as indicated in
    5 # the doc/CHANGES file.  There are:
    6 #  * stable patches, numbered ddd (001, 002, and so on), which are
    7 #    applied to the current stable branch, and in general, to the
    8 #    unstable branch too (i.e. when there is one and when this makes
    9 #    sense);
    10 #  * unstable patches (new features), numbered Uddd (U001, U002,
    11 #    and so on), which are applied to the unstable branch only.
    12 # In general, at some point in the time, there are two currently
    13 # supported branches: a stable branch (e.g. 1.6) and an unstable
    14 # branch (e.g. 1.7).  At some later point (i.e. after a feature
    15 # freeze?), the development line (coming from the unstable branch)
    16 # is regarded as stable; this leads to a new stable release (e.g.
    17 # 1.8.0) and a new stable branch (e.g. 1.8).  At this point, the
    18 # old stable branch (e.g. 1.6) is abandonned.  Then the new stable
    19 # branch (1.8) gets stable patches as usual (fixes, translation
    20 # updates...), leading to new stable releases (e.g. 1.8.1), which
    21 # correspond to the latest unstable release (e.g. 1.7.10) + bug
    22 # fixes.  As soon as the first unstable patch (U001) needs to be
    23 # applied, a new unstable branch (e.g. 1.9) is created (split from
    24 # the current stable branch).
    25 
    26 # Portfile update policy: Follow the development line as shown on
    27 # <http://www.tin.org/history.html>, preferring unstable versions
    28 # to stable ones when there is a split, i.e. stay on the right.
    29 # The goal of this tin-recent port (as opposed to tin and tin-devel)
    30 # is to have the highest upstream version (regarded as either stable
    31 # or unstable), i.e. with the latest features, using a single port,
    32 # thus benefiting from some port management features, such as those
    33 # provided by "port outdated" and "port upgrade".
    34 
    35 # For instance, if ports are updated as soon as tin versions are
    36 # released:
    37 #    tin   tin-devel   tin-recent
    38 #   1.6.2    1.7.9       1.7.9
    39 #   1.6.2    1.7.10      1.7.10
    40 #   1.8.0    1.7.10      1.8.0
    41 #   1.8.1    1.7.10      1.8.1
    42 #   1.8.1    1.9.0       1.9.0
    43 #   1.8.1    1.9.1       1.9.1
    44 #   1.8.2    1.9.1       1.9.1
    45 #   1.8.3    1.9.2       1.9.2
    46 # where:
    47 #   1.7.9  =  1.7.8  + patches U040 to U045.
    48 #   1.7.10 =  1.7.9  + patches U046 to U052.
    49 #   1.8.0  =  1.7.10 + patches U053 to U056.
    50 #   1.8.1  =  1.8.0  + patches 001 to 006.
    51 #   1.9.0  =  1.8.1  + patches 007, 008 and U001.
    52 #   1.9.1  =  1.9.0  + patches 009 and U002.
    53 #   1.8.2  =  1.8.1  + patches 007 to 011.
    54 #   1.8.3  =  1.8.2  + patches 012 to 018.
    55 #   1.9.2  =  1.9.1  + patches 010 to 018 and U003 to U006.
    56 #   1.9.3  =  1.9.2  + patches 019 to 020 and U007 to U010.
    57 #   1.9.4  =  1.9.3  + patches 021 and U011 to U013.
    58 #   1.9.5  =  1.9.4  + patches U014 to U019.
    59 #   1.9.6  =  1.9.5  + patches U020 to U025.
    60 # Said otherwise:
    61 #   1.8.1  =  1.8.0  + patches 001 to 006.
    62 #   1.9.0  =  1.8.0  + patches 001 to 008 and U001.
    63 #   1.9.1  =  1.8.0  + patches 001 to 009 and U001 to U002.
    64 #   1.8.2  =  1.8.0  + patches 001 to 011.
    65 #   1.8.3  =  1.8.0  + patches 001 to 018.
    66 #   1.9.2  =  1.8.0  + patches 001 to 018 and U001 to U006.
    67 #   1.9.3  =  1.8.0  + patches 001 to 020 and U001 to U010.
    68 #   1.9.4  =  1.8.0  + patches 001 to 021 and U001 to U013.
    69 #   1.9.5  =  1.8.0  + patches 001 to 021 and U001 to U019.
    70 #   1.9.6  =  1.8.0  + patches 001 to 021 and U001 to U025.
    71 
    724PortSystem          1.0
    73 
     5replaced_by         tin-devel
     6PortGroup           obsolete 1.0
    747name                tin-recent
    758version             1.9.6
    76 revision            10
     9revision            11
    7710categories          news
    78 platforms           darwin
    79 maintainers         nomaintainer
    80 
    81 description         A Usenet newsreader
    82 
    83 long_description    TIN is a full-screen easy to use Usenet newsreader. \
    84                     It can read news locally or remotely via a NNTP \
    85                     server. It will automatically utilize NOV \
    86                     newsoverview style index files if available locally \
    87                     or via the NNTP (X)OVER command (RFC2980). \
    88                     Portfile update policy: follow the development line \
    89                     as shown on <http://www.tin.org/history.html>, \
    90                     preferring unstable versions at a split.
    91 
    92 set tindir tin/v[strsed ${version} {/\.[0-9]*$//}]/
    93 homepage            http://www.tin.org/
    94 master_sites        ftp://ftp.tin.org/pub/news/clients/${tindir} \
    95                     ftp://ftp.cuhk.edu.hk/pub/packages/news/${tindir}
    96 
    97 distname            tin-${version}
    98 use_bzip2           yes
    99 
    100 checksums           md5     f08018dbbdc4d227f6bbd7012f92b217 \
    101                     sha1    a5d843ab938f6380a9d92fa95b5a2267999f958b \
    102                     rmd160  284fe48668dfe3e20dd69b82834405792ec50aae
    103 
    104 livecheck.type      regex
    105 livecheck.url       ${homepage}
    106 livecheck.regex     /tin-(\[0-9.\]+)\\.tar\\.gz
    107 
    108 # The libraries libintl, libiconv and libpcre are needed by tin. If the
    109 # MacPorts ones are not used, tin 1.9.1 crashes. I don't know which one is
    110 # the culprit (the PCRE that comes with tin in known to be buggy, but it is
    111 # the same as in MacPorts). However it is recommended to use the libraries
    112 # from MacPorts anyway.
    113 depends_lib         port:gettext \
    114                     port:icu \
    115                     port:libiconv \
    116                     port:libidn \
    117                     port:ncurses \
    118                     port:pcre
    119 
    120 # Do not use the --enable-debug option. See
    121 #   From: Vincent Lefevre <vincent@vinc17.org>
    122 #   Newsgroups: tin.bugs
    123 #   Subject: BUG REPORT tin 1.9.1 release 20060409 ("Benmore") [UNIX]
    124 #   Date: Mon,  6 Nov 2006 02:38:19 +0100 (CET)
    125 #   Message-ID: <20061106012750$653a@prunille.vinc17.org>
    126 configure.args      --enable-break-long-lines \
    127                     --enable-nntp \
    128                     --enable-mh-mail-handling \
    129                     --enable-included-msgs \
    130                     --enable-ipv6 \
    131                     --with-coffee \
    132                     --mandir=${prefix}/share/man \
    133                     --infodir=${prefix}/share/info \
    134                     --datadir=${prefix}/share \
    135                     --sysconfdir=${prefix}/etc \
    136                     --with-defaults-dir=${prefix}/etc/tin \
    137                     --disable-pgp-gpg \
    138                     --without-ispell \
    139                     --with-screen=ncursesw
    140 
    141 build.dir           "${worksrcpath}/src"
    142 
    143 pre-destroot {
    144     xinstall -d "${destroot}${prefix}/share/doc/${name}"
    145     xinstall -d "${destroot}${prefix}/etc/tin"
    146     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}"
    151     file copy "${worksrcpath}/doc/tin.defaults" \
    152         "${destroot}${prefix}/etc/tin/tin.defaults-${version}"
    153 }
    154 
    155 post-destroot {
    156     xinstall -m 755 -v -W "${worksrcpath}/tools" \
    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
    164 }
    165 
    166 post-activate {
    167     set f "${prefix}/etc/tin/tin.defaults"
    168     if {![file exists ${f}]} {
    169         file copy ${f}-${version} ${f}
    170     }
    171 }
    172 
    173 variant gpg description {GnuPG support} {
    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
    179 }
    180 
    181 variant pgp5 description {PGPK support} {
    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
    187 }
    188 
    189 variant ispell description {Ispell support} {
    190     depends_run             bin:ispell:ispell
    191     configure.args-delete   --without-ispell
    192     configure.args-append   --with-ispell=${prefix}/bin/ispell
    193 }
Note: See TracChangeset for help on using the changeset viewer.