1 | # $Id: Portfile,v 1.2 2003/08/05 09:29:18 jkh Exp $ |
---|
2 | PortSystem 1.0 |
---|
3 | name hypermail |
---|
4 | version 2.1.8 |
---|
5 | categories mail textproc |
---|
6 | maintainers blb@pobox.com |
---|
7 | description Hypermail, mail to cross-referenced HTML converter |
---|
8 | long_description Hypermail is a program that takes a file of mail messages in UNIX mailbox \ |
---|
9 | format and generates a set of cross-referenced HTML documents. |
---|
10 | |
---|
11 | homepage http://www.hypermail.org/ |
---|
12 | |
---|
13 | master_sites http://www.hypermail.org/dist/ |
---|
14 | |
---|
15 | platforms darwin |
---|
16 | checksums md5 bacd95589f2f3ca426631461fd9237dd |
---|
17 | |
---|
18 | # Rename INSTALL as make gets confused otherwise (on HFS+ where INSTALL and |
---|
19 | # install are the same file) |
---|
20 | post-patch { |
---|
21 | system "mv ${worksrcpath}/INSTALL ${worksrcpath}/INSTALL.txt" |
---|
22 | } |
---|
23 | |
---|
24 | configure.env CFLAGS="-no-cpp-precomp -I${prefix}/include -L${prefix}/lib" |
---|
25 | # enable-static/disable-shared are here as they need to be passed to the |
---|
26 | # internal PCRE stuff, otherwise it'll build PCRE shared, but not install |
---|
27 | # which is a bit bad... |
---|
28 | configure.args --enable-static --disable-shared --without-gdbm \ |
---|
29 | --mandir=\\\${prefix}/share/man \ |
---|
30 | --with-cgidir=\\\${prefix}/share/hypermail/cgi-bin \ |
---|
31 | --with-htmldir=\\\${prefix}/share/doc/hypermail \ |
---|
32 | |
---|
33 | destroot.args prefix=${destroot}/${prefix} |
---|
34 | |
---|
35 | variant gdbm { depends_lib lib:libgdbm:gdbm |
---|
36 | configure.args-delete --without-gdbm |
---|
37 | configure.args-append --with-gdbm=${prefix} |
---|
38 | } |
---|
39 | |
---|