Ticket #13679: patch-Portfile.diff
File patch-Portfile.diff, 2.7 KB (added by darren.bane@…, 17 years ago) |
---|
-
Portfile
old new 2 2 3 3 PortSystem 1.0 4 4 name tin-devel 5 version 1.7.10 6 revision 1 5 version 1.9.2 7 6 categories news 8 7 platforms darwin 9 8 maintainers nomaintainer … … 15 14 server. It will automatically utilize NOV (News OVerview) style \ 16 15 index files if available locally or via the NNTP XOVER command. 17 16 18 master_sites ftp://ftp.tin.org/tin/v1.7/ \ 19 ftp://ftp.cuhk.edu.hk/pub/packages/news/tin/v1.7/ \ 20 ftp://ftp.stikman.com/pub/tin/v1.7/ 17 master_sites ftp://ftp.tin.org/tin/v1.9/ \ 18 ftp://ftp.cuhk.edu.hk/pub/packages/news/tin/v1.9/ 21 19 22 20 use_bzip2 yes 23 21 24 checksums md5 23473a665d6d39ed4463b77d227cbb28 22 checksums md5 251094ddf0e2b059227a4b02187c5f3e \ 23 sha1 51ba9fbd3bd4413b2630e86ad2f864ce75bf52aa \ 24 rmd160 e2171a6ac047eff79b07109db40022b047ee06ef 25 25 26 26 distname tin-${version} 27 27 28 28 configure.args --enable-break-long-lines \ 29 29 --enable-nntp \ 30 --enable-debug \31 30 --enable-mh-mail-handling \ 32 31 --enable-included-msgs \ 33 32 --with-coffee \ … … 35 34 --infodir=${prefix}/share/info \ 36 35 --datadir=${prefix}/share \ 37 36 --sysconfdir=${prefix}/etc \ 37 --with-defaults-dir=${prefix}/etc/${name} \ 38 38 --disable-pgp-gpg 39 39 40 build.dir ${worksrcpath}/src 40 41 41 build.dir "${worksrcpath}/src" 42 43 pre-destroot { file mkdir "${destroot}${prefix}/share/doc/${name}" 44 file mkdir "${destroot}${prefix}/etc/${name}" 45 xinstall -m 644 -v -W "${worksrcpath}/doc" \ 42 pre-destroot { file mkdir ${destroot}${prefix}/share/doc/${name} 43 file mkdir ${destroot}${prefix}/etc/${name} 44 xinstall -m 644 -v -W ${worksrcpath}/doc \ 46 45 auth.txt CHANGES config-anomalies \ 47 46 filtering good-netkeeping-seal iso2asc.txt \ 48 47 keymap.sample mailcap.sample pgp.txt \ 49 48 reading-mail.txt TODO umlaute.txt umlauts.txt \ 50 49 WHATSNEW \ 51 "${destroot}${prefix}/share/doc/${name}" 52 file copy "${worksrcpath}/doc/tin.defaults" \ 53 "${destroot}${prefix}/etc/${name}" 50 ${destroot}${prefix}/share/doc/${name} 54 51 } 55 52 56 post-destroot { xinstall -m 755 -v -W "${worksrcpath}/tools" \ 53 destroot.keepdirs ${destroot}${prefix}/etc/${name} 54 55 post-destroot { xinstall -m 755 -v -W ${worksrcpath}/tools \ 57 56 expiretover tinews.pl tinlock \ 58 "${destroot}${prefix}/bin" 57 ${destroot}${prefix}/bin 58 } 59 60 post-activate { set f tin.defaults 61 if {![file exists ${prefix}/etc/${name}/${f}]} { 62 file copy ${worksrcpath}/doc/${f} \ 63 ${prefix}/etc/${name}/${f} 64 } 59 65 } 60 66 61 67 variant ipv6 { configure.args-append --enable-ipv6 } … … 79 85 variant ispell { depends_build bin:ispell:ispell 80 86 configure.args-append --enable-ispell 81 87 } 82