# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id: Portfile 104263 2013-03-22 12:23:20Z ryandesign@macports.org $ PortSystem 1.0 name hypermail version 2.3.0 revision 1 categories mail textproc license GPL-2 maintainers nomaintainer 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-project.org/ master_sites sourceforge platforms darwin checksums rmd160 65565776556847cd317672d9014d5b4aadd5b34c \ sha256 619938b0cf54eae786f36ef237f106ef7bff7a5c69904ca32afd8d47bf1605d1 worksrcdir ${name} patchfiles patch-Makefile.in.diff \ patch-src-proto.h \ patch-src-file.c.diff \ patch-configure.diff \ patch-config.h.in.diff # 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" } # 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 port:gdbm configure.args-delete --without-gdbm configure.args-append --with-gdbm=${prefix} } livecheck.type regex livecheck.regex ${name}-(\[0-9.\]+)\\.tar