[25830] trunk/dports/news

source_changes at macosforge.org source_changes at macosforge.org
Sun Jun 3 02:00:29 PDT 2007


Revision: 25830
          http://trac.macosforge.org/projects/macports/changeset/25830
Author:   pipping at macports.org
Date:     2007-06-03 02:00:29 -0700 (Sun, 03 Jun 2007)

Log Message:
-----------
 * new port by vinc17 (#8812)

Added Paths:
-----------
    trunk/dports/news/tin-recent/
    trunk/dports/news/tin-recent/Portfile

Added: trunk/dports/news/tin-recent/Portfile
===================================================================
--- trunk/dports/news/tin-recent/Portfile	                        (rev 0)
+++ trunk/dports/news/tin-recent/Portfile	2007-06-03 09:00:29 UTC (rev 25830)
@@ -0,0 +1,135 @@
+# $Id$
+
+# 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 this makes sense);
+#  * unstable patches (new features), numbered Uddd (U001, U002,
+#    and so on), which are applied to the unstable branch only.
+# At some point, the unstable branch is regarded as stable, making
+# a new stable release and a new stable branch.  Then this branch
+# gets stable patches as usual (fixes, translation updates...).
+# A new unstable branch is created (split from the current stable
+# branch) as soon as the first unstable patch (U001) needs to be
+# applied.
+
+# 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.
+# 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".
+
+# Note: Portfile reformatted according to portstyle(7).
+
+PortSystem 1.0
+name                tin-recent
+version             1.9.2
+categories          news
+platforms           darwin
+maintainers         vincent-opdarw at vinc17.org
+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.
+
+master_sites        ftp://ftp.tin.org/pub/news/clients/tin/v1.9/ \
+                    ftp://ftp.stikman.com/pub/tin/v1.9/ \
+                    ftp://ftp.cuhk.edu.hk/pub/packages/news/tin/v1.9/
+
+use_bzip2           yes
+checksums           md5 251094ddf0e2b059227a4b02187c5f3e \
+                    sha1 51ba9fbd3bd4413b2630e86ad2f864ce75bf52aa \
+                    rmd160 e2171a6ac047eff79b07109db40022b047ee06ef
+
+distname            tin-${version}
+
+livecheck.check     regex
+livecheck.url       ${homepage}
+livecheck.regex     /tin-(\[\\d.\]+)\\.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:ncurses port:pcre
+
+# Do not use the --enable-debug option. See
+#   From: Vincent Lefevre <vincent at 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 at prunille.vinc17.org>
+configure.args      --enable-break-long-lines \
+                    --enable-nntp \
+                    --enable-mh-mail-handling \
+                    --enable-included-msgs \
+                    --with-coffee \
+                    --mandir=${prefix}/share/man \
+                    --infodir=${prefix}/share/info \
+                    --datadir=${prefix}/share \
+                    --sysconfdir=${prefix}/etc \
+                    --disable-pgp-gpg \
+                    --with-screen=ncurses
+
+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"
+}
+
+post-activate {
+    set f "${prefix}/etc/tin/tin.defaults"
+    if {![file exists ${f}]} {
+      file copy ${f}-${version} ${f}
+    }
+}
+
+variant ipv6 {
+    configure.args-append --enable-ipv6
+}
+
+variant gpg {
+    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 {
+    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 {
+    depends_build bin:ispell:ispell
+    configure.args-append --enable-ispell
+}


Property changes on: trunk/dports/news/tin-recent/Portfile
___________________________________________________________________
Name: svn:keywords
   + id
Name: svn:eol-style
   + native

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070603/fd5c74db/attachment.html


More information about the macports-changes mailing list