[98337] trunk/dports/news/tin-recent/Portfile
ryandesign at macports.org
ryandesign at macports.org
Tue Oct 2 18:59:00 PDT 2012
Revision: 98337
http://trac.macports.org//changeset/98337
Author: ryandesign at macports.org
Date: 2012-10-02 18:59:00 -0700 (Tue, 02 Oct 2012)
Log Message:
-----------
tin-recent: whitespace changes; reformatting; add modeline
Modified Paths:
--------------
trunk/dports/news/tin-recent/Portfile
Modified: trunk/dports/news/tin-recent/Portfile
===================================================================
--- trunk/dports/news/tin-recent/Portfile 2012-10-03 01:53:59 UTC (rev 98336)
+++ trunk/dports/news/tin-recent/Portfile 2012-10-03 01:59:00 UTC (rev 98337)
@@ -1,3 +1,4 @@
+# -*- 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$
# The Tin development model is based on patchsets, as indicated in
@@ -68,17 +69,15 @@
# 1.9.5 = 1.8.0 + patches 001 to 021 and U001 to U019.
# 1.9.6 = 1.8.0 + patches 001 to 021 and U001 to U025.
-# Note: Portfile reformatted according to portstyle(7).
+PortSystem 1.0
-PortSystem 1.0
-
name tin-recent
version 1.9.6
revision 4
categories news
platforms darwin
maintainers nomaintainer
-homepage http://www.tin.org/
+
description A Usenet newsreader
long_description TIN is a full-screen easy to use Usenet newsreader. \
@@ -91,16 +90,17 @@
preferring unstable versions at a split.
set tindir tin/v[strsed ${version} {/\.[0-9]*$//}]/
+homepage http://www.tin.org/
master_sites ftp://ftp.tin.org/pub/news/clients/${tindir} \
ftp://ftp.cuhk.edu.hk/pub/packages/news/${tindir}
+distname tin-${version}
use_bzip2 yes
+
checksums md5 f08018dbbdc4d227f6bbd7012f92b217 \
sha1 a5d843ab938f6380a9d92fa95b5a2267999f958b \
rmd160 284fe48668dfe3e20dd69b82834405792ec50aae
-distname tin-${version}
-
livecheck.type regex
livecheck.url ${homepage}
livecheck.regex /tin-(\[0-9.\]+)\\.tar\\.gz
@@ -144,49 +144,50 @@
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}"
+ 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}"
+ "${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
+ 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}
+ 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
+ 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
+ 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
+ depends_run bin:ispell:ispell
+ configure.args-delete --without-ispell
+ configure.args-append --with-ispell=${prefix}/bin/ispell
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121002/75184b95/attachment.html>
More information about the macports-changes
mailing list