Ticket #5296: Portfile

File Portfile, 1.4 KB (added by joe@…, 19 years ago)

Squirrelmail 1.4.5 Portfile

Line 
1PortSystem              1.0
2
3name                    squirrelmail
4version                 1.4.5
5categories              mail
6maintainers             joe@netmusician.org
7
8description             A webmail system which accesses mail over IMAP
9long_description        SquirrelMail is a standards-based webmail package written in PHP4. It \
10                        includes built-in pure PHP support for the IMAP and SMTP protocols, and \
11                        all pages render in pure HTML 4.0 (with no Javascript) for maximum \
12                        compatibility across browsers. It has very few requirements and is very \
13                        easy to configure and install. SquirrelMail has a all the functionality \
14                        you would want from an email client, including strong MIME support, \
15                        address books, and folder manipulation \
16homepage                http://www.squirrelmail.org
17master_sites            sourceforge
18distname                squirrelmail-${version}
19checksums               md5 2e2836bd7390cbf5f81f08ee55682116
20platforms               darwin freebsd
21                       
22default_variants        +apache +php4
23
24variant apache conflicts apache2 {
25        depends_lib-append      port:apache
26}
27
28variant apache2 conflicts apache {
29        depends_lib-append      port:apache2
30}
31
32variant php4 conflicts php5 {
33        depends_lib-append      port:php4
34}
35
36variant php5 conflicts php4 {
37        depends_lib-append      port:php5
38}
39
40use_configure   no
41configure       {}
42build           {}
43
44
45set docpath ${destroot}${prefix}/www/data/squirrelmail
46     
47destroot {
48        xinstall -m 755 -d ${destroot}${prefix}/www/data/squirrelmail
49        eval file copy [glob ${workpath}/${distname}/*] ${docpath}
50}