source: trunk/dports/mail/pine/Portfile @ 76784

Last change on this file since 76784 was 76784, checked in by raimue@…, 9 years ago

mail/pine: Add license, see #22178

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 76784 2011-03-08 15:55:38Z raimue@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
20distname        ${name}${version}
21extract.suffix  .tar.Z
22
23use_configure   no
24
25build.cmd       sh ${worksrcpath}/build
26build.target    osx
27
28variant ssl_plain       { build.args SSLTYPE=unix }
29
30platform darwin 9 {
31    macosx_deployment_target 10.4
32}
33
34pre-fetch {
35        if {${os.platform} == "darwin" && ${os.major} >= 10} {
36                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."
37                return -code error "incompatible Mac OS X version"
38        }
39}
40
41destroot        { xinstall -m 755 -d \
42                        ${destroot}${prefix}/share/doc/${name}
43                xinstall -m 755 -W ${worksrcpath}/bin pine pico pilot rpdump \
44                        rpload ${destroot}${prefix}/bin
45                xinstall -m 644 -W ${worksrcpath}/doc pico.1 pilot.1 pine.1 \
46                        rpdump.1 rpload.1 ${destroot}${prefix}/share/man/man1
47                xinstall -m 644 -W ${worksrcpath}/doc/tech-notes \
48                        background.html cmd-line.html config-notes.html \
49                        config.html index.html installation.html \
50                        introduction.html low-level.html porting.html \
51                        ${destroot}${prefix}/share/doc/${name}
52                system "${destroot}${prefix}/bin/pine -conf > ${destroot}${prefix}/etc/pine.conf" }
53
Note: See TracBrowser for help on using the repository browser.