Tin-recent version 1.9.4 - How to Download and Install on Mac OS X
Sunday the 22nd of November, 2009

    tin-recent  most recent diff


    version 1.9.4

      View the most recent changes for the tin-recent port at: tin-recent.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for tin-recent.
      The raw portfile for tin-recent 1.9.4 is located here:
      http://tin-recent.darwinports.com/dports/news/tin-recent/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/tin-recent


      The tin-recent Portfile 57375 2009-09-10 08:16:41Z ryandesign macports.org $

      # The Tin development model is based on patchsets, as indicated in
      # the doc/CHANGES file. There are:
      # * stable patches, numbered ddd (001, 002, and so on), which are
      # applied to the current stable branch, and in general, to the
      # unstable branch too (i.e. when there is one and when this makes
      # sense);
      # * unstable patches (new features), numbered Uddd (U001, U002,
      # and so on), which are applied to the unstable branch only.
      # In general, at some point in the time, there are two currently
      # supported branches: a stable branch (e.g. 1.6) and an unstable
      # branch (e.g. 1.7). At some later point (i.e. after a feature
      # freeze?), the development line (coming from the unstable branch)
      # is regarded as stable; this leads to a new stable release (e.g.
      # 1.8.0) and a new stable branch (e.g. 1.8). At this point, the
      # old stable branch (e.g. 1.6) is abandonned. Then the new stable
      # branch (1.8) gets stable patches as usual (fixes, translation
      # updates...), leading to new stable releases (e.g. 1.8.1), which
      # correspond to the latest unstable release (e.g. 1.7.10) + bug
      # fixes. As soon as the first unstable patch (U001) needs to be
      # applied, a new unstable branch (e.g. 1.9) is created (split from
      # the current stable branch).

      # Portfile update policy: Follow the development line as shown on
      # <http://www.tin.org/history.html>, preferring unstable versions
      # to stable ones when there is a split, i.e. stay on the right.
      # The goal of this tin-recent port (as opposed to tin and tin-devel)
      # is to have the highest upstream version (regarded as either stable
      # or unstable), i.e. with the latest features, using a single port,
      # thus benefiting from some port management features, such as those
      # provided by "port outdated" and "port upgrade".

      # For instance, if ports are updated as soon as tin versions are
      # released:
      # tin tin-devel tin-recent
      # 1.6.2 1.7.9 1.7.9
      # 1.6.2 1.7.10 1.7.10
      # 1.8.0 1.7.10 1.8.0
      # 1.8.1 1.7.10 1.8.1
      # 1.8.1 1.9.0 1.9.0
      # 1.8.1 1.9.1 1.9.1
      # 1.8.2 1.9.1 1.9.1
      # 1.8.3 1.9.2 1.9.2
      # where:
      # 1.7.9 = 1.7.8 + patches U040 to U045.
      # 1.7.10 = 1.7.9 + patches U046 to U052.
      # 1.8.0 = 1.7.10 + patches U053 to U056.
      # 1.8.1 = 1.8.0 + patches 001 to 006.
      # 1.9.0 = 1.8.1 + patches 007, 008 and U001.
      # 1.9.1 = 1.9.0 + patches 009 and U002.
      # 1.8.2 = 1.8.1 + patches 007 to 011.
      # 1.8.3 = 1.8.2 + patches 012 to 018.
      # 1.9.2 = 1.9.1 + patches 010 to 018 and U003 to U006.
      # 1.9.3 = 1.9.2 + patches 019 to 020 and U007 to U010.
      # 1.9.4 = 1.9.3 + patches 021 and U011 to U013.
      # Said otherwise:
      # 1.8.1 = 1.8.0 + patches 001 to 006.
      # 1.9.0 = 1.8.0 + patches 001 to 008 and U001.
      # 1.9.1 = 1.8.0 + patches 001 to 009 and U001 to U002.
      # 1.8.2 = 1.8.0 + patches 001 to 011.
      # 1.8.3 = 1.8.0 + patches 001 to 018.
      # 1.9.2 = 1.8.0 + patches 001 to 018 and U001 to U006.
      # 1.9.3 = 1.8.0 + patches 001 to 020 and U001 to U010.
      # 1.9.4 = 1.8.0 + patches 001 to 021 and U001 to U013.

      # Note: Portfile reformatted according to portstyle(7).

      PortSystem 1.0

      Name: tin-recent
      Version: 1.9.4
      Revision: 1
      Category: news
      Platform: darwin
      Maintainers: vinc17
      Homepage: http://www.tin.org/
      Description: A Usenet newsreader

      Long Description: TIN is a full-screen easy to use Usenet newsreader. It can read news locally or remotely via a NNTP server. It will automatically utilize NOV newsoverview style index files if available locally or via the NNTP (X)OVER command (RFC2980). Portfile update policy: follow the development line as shown on <http://www.tin.org/history.html>, preferring unstable versions at a split.

      set tindir tin/v[strsed ${version} {/\.[0-9]*$//}]/
      Master Sites: ftp://ftp.tin.org/pub/news/clients/${tindir} ftp://ftp.cuhk.edu.hk/pub/packages/news/${tindir}

      use_bzip2 yes
      Checksums: md5 6b851dd45723bbf23bfb2e134e74e75a sha1 e1f5ff2f04923137f43119b144f8a20e733eea23 rmd160 6a85e47ea06f2e86f2b8f688df137432ecb7c4e9

      distname tin-${version}

      livecheck.type regex
      livecheck.url ${homepage}
      livecheck.regex /tin-(\[0-9.\]+)\\.tar\\.gz

      # The libraries libintl, libiconv and libpcre are needed by tin. If the
      # MacPorts ones are not used, tin 1.9.1 crashes. I don't know which one is
      # the culprit (the PCRE that comes with tin in known to be buggy, but it is
      # the same as in MacPorts). However it is recommended to use the libraries
      # from MacPorts anyway.
      depends_lib port:gettext port:libiconv port:ncursesw port:pcre

      # Do not use the --enable-debug option. See
      # From: Vincent Lefevre vinc17.org>
      # Newsgroups: tin.bugs
      # Subject: BUG REPORT tin 1.9.1 release 20060409 ("Benmore") [UNIX]
      # Date: Mon, 6 Nov 2006 02:38:19 +0100 (CET)
      # Message-ID: <20061106012750$653a prunille.vinc17.org>
      configure.args --enable-break-long-lines --enable-nntp --enable-mh-mail-handling --enable-included-msgs --enable-ipv6 --with-coffee --mandir=${prefix}/share/man --infodir=${prefix}/share/info --datadir=${prefix}/share --sysconfdir=${prefix}/etc --disable-pgp-gpg --without-ispell --with-screen=ncursesw

      build.dir "${worksrcpath}/src"

      pre-destroot {
      xinstall -d "${destroot}${prefix}/share/doc/${name}"
      xinstall -d "${destroot}${prefix}/etc/tin"
      xinstall -m 644 -v -W "${worksrcpath}/doc" auth.txt CHANGES config-anomalies filtering good-netkeeping-seal iso2asc.txt keymap.sample mailcap.sample pgp.txt reading-mail.txt TODO umlaute.txt umlauts.txt WHATSNEW "${destroot}${prefix}/share/doc/${name}"
      file copy "${worksrcpath}/doc/tin.defaults" "${destroot}${prefix}/etc/tin/tin.defaults-${version}"
      }

      post-destroot {
      xinstall -m 755 -v -W "${worksrcpath}/tools" expiretover tinews.pl tinlock "${destroot}${prefix}/bin"
      # mutt-devel also installs these man pages, so removing here (since they
      # describe mail formats, makes a little more sense to be in the mail app)
      # ticket #11475
      delete ${destroot}${prefix}/share/man/man5/mbox.5
      delete ${destroot}${prefix}/share/man/man5/mmdf.5
      }

      post-activate {
      set f "${prefix}/etc/tin/tin.defaults"
      if {![file exists ${f}]} {
      file copy ${f}-${version} ${f}
      }
      }

      Variant: gpg description {GnuPG support} {
      depends_run bin:gpg:gnupg
      configure.args-delete --disable-pgp-gpg
      configure.args-append --with-gpg=${prefix}/bin/gpg --without-pgp --without-pgpk
      }

      Variant: pgp5 description {PGPK support} {
      depends_run bin:pgpk:pgp
      configure.args-delete --disable-pgp-gpg
      configure.args-append --with-pgpk=${prefix}/bin/pgpk --without-gpg --without-pgp
      }

      Variant: ispell description {Ispell support} {
      depends_run bin:ispell:ispell
      configure.args-delete --without-ispell
      configure.args-append --with-ispell=${prefix}/bin/ispell
      }

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/tin-recent
      % sudo port install tin-recent
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching tin-recent
      ---> Verifying checksum for tin-recent
      ---> Extracting tin-recent
      ---> Configuring tin-recent
      ---> Building tin-recent with target all
      ---> Staging tin-recent into destroot
      ---> Installing tin-recent
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using tin-recent with these commands:
      %  man tin-recent
      % apropos tin-recent
      % which tin-recent
      % locate tin-recent

     Where to find more information:

    Darwin Ports



    Lightbox this page.