[153858] trunk/dports/news/tin/Portfile
khindenburg at macports.org
khindenburg at macports.org
Fri Oct 14 04:26:17 CEST 2016
Revision: 153858
https://trac.macports.org/changeset/153858
Author: khindenburg at macports.org
Date: 2016-10-13 19:26:17 -0700 (Thu, 13 Oct 2016)
Log Message:
-----------
tin: copy of tin-devel Portfile + update version and livecheck
Modified Paths:
--------------
trunk/dports/news/tin/Portfile
Modified: trunk/dports/news/tin/Portfile
===================================================================
--- trunk/dports/news/tin/Portfile 2016-10-14 01:38:41 UTC (rev 153857)
+++ trunk/dports/news/tin/Portfile 2016-10-14 02:26:17 UTC (rev 153858)
@@ -1,95 +1,101 @@
+# -*- 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
# $Id$
-PortSystem 1.0
-name tin
-version 1.8.3
-revision 3
-categories news
-platforms darwin
-maintainers nomaintainer
-homepage http://www.tin.org/
-description A threaded NNTP and spool based UseNet newsreader
+PortSystem 1.0
-long_description tin is a full-screen easy to use Usenet reader. It can read news \
- locally or remotely via a NNTP (Network News Transport Protocol) \
- server. It will automatically utilize NOV (News OVerview) style \
- index files if available locally or via the NNTP XOVER command.
+name tin
+conflicts tin-devel tin-recent
+version 2.4.0
+categories news
+license BSD
+platforms darwin
+maintainers nomaintainer
-master_sites ftp://ftp.tin.org/${name}/v1.8/ \
- ftp://ftp.cuhk.edu.hk/pub/packages/news/${name}/v1.8/ \
- ftp://ftp.lip6.fr/pub/unix/news/readers/tin-unoff/ \
- ftp://ftp.stikman.com/pub/${name}/v1.8/
-
-use_bzip2 yes
+homepage http://www.tin.org/
+description A threaded NNTP and spool based UseNet newsreader
-checksums md5 e6ed45205020665c097556822b0d575b \
- sha1 3822e7281d22433862075270b06bfa6b82226b0e \
- rmd160 7e165eccb099cfc8aae073781a5642266321dd3e
+long_description tin is a full-screen easy to use Usenet reader. It can read news \
+ locally or remotely via a NNTP (Network News Transport Protocol) \
+ server. It will automatically utilize NOV (News OVerview) style \
+ index files if available locally or via the NNTP XOVER command.
-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 \
- --with-defaults-dir=${prefix}/etc/${name} \
- --disable-pgp-gpg
+master_sites ftp://ftp.tin.org/pub/news/clients/tin/stable
-build.dir ${worksrcpath}/src
+checksums rmd160 6006eefdf6274b7aefb10c25d4c25d18751917be \
+ sha256 26ee20980c88308f225c0bae55b6db12365ced3398dbea0621992dff0e74cbb6
-configure.cppflags-append -DSIGWINCH=28
+depends_lib port:icu \
+ port:libiconv \
+ port:libidn \
+ port:ncurses \
+ port:pcre
-pre-destroot { file mkdir ${destroot}${prefix}/share/doc/${name}
- file mkdir ${destroot}${prefix}/etc/${name}
- 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}
- }
+distname tin-${version}
-destroot.keepdirs ${destroot}${prefix}/etc/${name}
+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 \
+ --with-defaults-dir=${prefix}/etc/${name} \
+ --disable-pgp-gpg \
+ --without-ispell \
+ --with-screen=ncursesw
-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
- }
+build.dir "${worksrcpath}/src"
-post-activate { set f tin.defaults
- if {![file exists ${prefix}/etc/${name}/${f}]} {
- file copy ${worksrcpath}/doc/${f} \
- ${prefix}/etc/${name}/${f}
- }
- }
+pre-destroot {
+ xinstall -d "${destroot}${prefix}/share/doc/${name}"
+ xinstall -d "${destroot}${prefix}/etc/${name}"
+ 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/${name}/tin.defaults-${version}"
+}
-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
- }
+post-destroot {
+ xinstall -m 755 -v -W "${worksrcpath}/tools" \
+ expiretover tinews.pl tinlock \
+ "${destroot}${prefix}/bin"
-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
- }
+ # 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
+}
-variant ncurses { configure.args-append --with-screen=ncurses }
+post-activate {
+ set f "${prefix}/etc/${name}/tin.defaults"
+ if {![file exists ${f}]} {
+ file copy ${f}-${version} ${f}
+ }
+}
-variant ispell { depends_build bin:ispell:ispell
- configure.args-append --enable-ispell
- }
+variant gpg description {GnuPG support} {
+ depends_run bin:gpg:gnupg2
+ configure.args-delete --disable-pgp-gpg
+ configure.args-append --with-gpg=${prefix}/bin/gpg2 \
+ --without-pgp \
+ --without-pgpk
+}
+
+variant ispell description {Ispell/Aspell support} {
+ depends_run bin:ispell:aspell
+ configure.args-delete --without-ispell
+ configure.args-append --with-ispell=${prefix}/bin/ispell
+}
+
+livecheck.type regex
+livecheck.url ${homepage}
+livecheck.regex {([0-9.]+)</A> \(stable}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-changes/attachments/20161013/0db4f3bb/attachment-0002.html>
More information about the macports-changes
mailing list