# -*- 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
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/
checksums rmd160 65565776556847cd317672d9014d5b4aadd5b34c \
sha256 619938b0cf54eae786f36ef237f106ef7bff7a5c69904ca32afd8d47bf1605d1
patchfiles patch-Makefile.in.diff \
# Rename INSTALL as make gets confused otherwise (on HFS+ where INSTALL and
# install are the same file)
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
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}
configure.args-delete --without-gdbm
configure.args-append --with-gdbm=${prefix}
livecheck.regex ${name}-(\[0-9.\]+)\\.tar