source: trunk/dports/mail/pine/Portfile

Last change on this file was 114325, checked in by ryandesign@…, 4 years ago

use eq and ne instead of == and != when comparing ${os.platform} and ${os.subplatform}

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Portfile 114325 2013-12-05 09:20:31Z ryandesign@macports.org $
2
3PortSystem 1.0
4name            pine
5version         4.64
6categories      mail
7license         {UW's Pine License}
8maintainers     nomaintainer
9description     Pine - a Program for Internet News and Email
10homepage        http://www.washington.edu/pine/
11platforms       darwin
12
13long_description Pine is a tool for reading, sending, and managing \
14                 electronic messages that was designed with novice \
15                 users in mind.
16
17master_sites    ftp://ftp.cac.washington.edu/pine/ \
18                ftp://ftp.cac.washington.edu/pine/old/
19checksums   md5    75af127948cc0c701d424d22d621f792 \
20            sha1   ff73928c51bfd3786cd6b49d84120e12ab5d5c1c \
21            rmd160 e72c46f7e3b70cc25bf98a78bca75f4bea6f089d
22distname        ${name}${version}
23extract.suffix  .tar.Z
24
25use_configure   no
26
27build.cmd       sh ${worksrcpath}/build
28build.target    osx
29
30variant ssl_plain       { build.args SSLTYPE=unix }
31
32platform darwin 9 {
33    macosx_deployment_target 10.4
34}
35
36pre-fetch {
37        if {${os.platform} eq "darwin" && ${os.major} >= 10} {
38                ui_error "Pine development ended with version 4.64 and evolved into the upwards-compatible replacement Alpine.  Also, this version does not build on Snow Leopard."
39                return -code error "incompatible Mac OS X version"
40        }
41}
42
43destroot        { xinstall -m 755 -d \
44                        ${destroot}${prefix}/share/doc/${name}
45                xinstall -m 755 -W ${worksrcpath}/bin pine pico pilot rpdump \
46                        rpload ${destroot}${prefix}/bin
47                xinstall -m 644 -W ${worksrcpath}/doc pico.1 pilot.1 pine.1 \
48                        rpdump.1 rpload.1 ${destroot}${prefix}/share/man/man1
49                xinstall -m 644 -W ${worksrcpath}/doc/tech-notes \
50                        background.html cmd-line.html config-notes.html \
51                        config.html index.html installation.html \
52                        introduction.html low-level.html porting.html \
53                        ${destroot}${prefix}/share/doc/${name}
54                system "${destroot}${prefix}/bin/pine -conf > ${destroot}${prefix}/etc/pine.conf" }
55
Note: See TracBrowser for help on using the repository browser.