Changeset 98337
- Timestamp:
- Oct 3, 2012, 1:59:00 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/news/tin-recent/Portfile
r92837 r98337 1 # -*- 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 1 2 # $Id$ 2 3 … … 69 70 # 1.9.6 = 1.8.0 + patches 001 to 021 and U001 to U025. 70 71 71 # Note: Portfile reformatted according to portstyle(7). 72 73 PortSystem 1.0 72 PortSystem 1.0 74 73 75 74 name tin-recent … … 79 78 platforms darwin 80 79 maintainers nomaintainer 81 homepage http://www.tin.org/ 80 82 81 description A Usenet newsreader 83 82 … … 92 91 93 92 set tindir tin/v[strsed ${version} {/\.[0-9]*$//}]/ 93 homepage http://www.tin.org/ 94 94 master_sites ftp://ftp.tin.org/pub/news/clients/${tindir} \ 95 95 ftp://ftp.cuhk.edu.hk/pub/packages/news/${tindir} 96 96 97 distname tin-${version} 97 98 use_bzip2 yes 99 98 100 checksums md5 f08018dbbdc4d227f6bbd7012f92b217 \ 99 101 sha1 a5d843ab938f6380a9d92fa95b5a2267999f958b \ 100 102 rmd160 284fe48668dfe3e20dd69b82834405792ec50aae 101 102 distname tin-${version}103 103 104 104 livecheck.type regex … … 145 145 xinstall -d "${destroot}${prefix}/etc/tin" 146 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}"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 151 file copy "${worksrcpath}/doc/tin.defaults" \ 152 "${destroot}${prefix}/etc/tin/tin.defaults-${version}"152 "${destroot}${prefix}/etc/tin/tin.defaults-${version}" 153 153 } 154 154 155 155 post-destroot { 156 156 xinstall -m 755 -v -W "${worksrcpath}/tools" \ 157 expiretover tinews.pl tinlock "${destroot}${prefix}/bin" 158 # mutt-devel also installs these man pages, so removing here (since they 159 # describe mail formats, makes a little more sense to be in the mail app) 160 # ticket #11475 161 delete ${destroot}${prefix}/share/man/man5/mbox.5 162 delete ${destroot}${prefix}/share/man/man5/mmdf.5 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 163 164 } 164 165 … … 166 167 set f "${prefix}/etc/tin/tin.defaults" 167 168 if {![file exists ${f}]} { 168 file copy ${f}-${version} ${f}169 file copy ${f}-${version} ${f} 169 170 } 170 171 } 171 172 172 173 variant gpg description {GnuPG support} { 173 depends_run bin:gpg:gnupg174 configure.args-delete --disable-pgp-gpg175 configure.args-append --with-gpg=${prefix}/bin/gpg \176 --without-pgp \177 --without-pgpk174 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 178 179 } 179 180 180 181 variant pgp5 description {PGPK support} { 181 depends_run bin:pgpk:pgp182 configure.args-delete --disable-pgp-gpg183 configure.args-append --with-pgpk=${prefix}/bin/pgpk \184 --without-gpg \185 --without-pgp182 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 186 187 } 187 188 188 189 variant ispell description {Ispell support} { 189 depends_run bin:ispell:ispell190 configure.args-delete --without-ispell191 configure.args-append --with-ispell=${prefix}/bin/ispell190 depends_run bin:ispell:ispell 191 configure.args-delete --without-ispell 192 configure.args-append --with-ispell=${prefix}/bin/ispell 192 193 }
Note: See TracChangeset
for help on using the changeset viewer.