# $Id: Portfile,v 1.4 2003/10/31 04:21:56 blb Exp $ PortSystem 1.0 name hypermail version 2.1.8 categories mail textproc maintainers blb@pobox.com description Hypermail, mail to cross-referenced HTML converter long_description Hypermail is a program that takes a file of mail \ messages in UNIX mailbox format and generates a set of \ cross-referenced HTML documents. homepage http://www.hypermail.org master_sites ${homepage}/dist/ platforms darwin checksums md5 bacd95589f2f3ca426631461fd9237dd patchfiles patch-src-proto.h # Rename INSTALL as make gets confused otherwise (on HFS+ where INSTALL and # install are the same file) post-patch { system "mv ${worksrcpath}/INSTALL ${worksrcpath}/INSTALL.txt" } configure.env CFLAGS="-no-cpp-precomp -I${prefix}/include -L${prefix}/lib" # enable-static/disable-shared are here as they need to be passed to the # internal PCRE stuff, otherwise it'll build PCRE shared, but not install # which is a bit bad... configure.args --enable-static --disable-shared --without-gdbm \ --mandir=\\\${prefix}/share/man \ --with-cgidir=\\\${prefix}/share/hypermail/cgi-bin \ --with-htmldir=\\\${prefix}/share/doc/hypermail \ destroot.args prefix=${destroot}/${prefix} variant gdbm { depends_lib lib:libgdbm:gdbm configure.args-delete --without-gdbm configure.args-append --with-gdbm=${prefix} }