a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 21687 2007-02-02 18:06:05Z jmpp@macports.org $
PortSystem 1.0
name lurker
version 1.2
set mimelib_release 3.1.1
categories mail
platforms darwin
maintainers jmpp@macports.org openmaintainer@macports.org
description Not just another mailing list archiver.
long_description After being subscribed to interesting mailing lists, lurker archives \
all incoming mail into a database. Old mail can also be imported. \
Once mail is in the database, lurker can help you search the \
unending noise for those gems you need to read. A web-browser \
is used to interact with lurker. This makes lurker useful for \
mailing list administrators, who can deploy lurker on the host \
of several related lists. Among some of the interesting features \
lurker offers you can find: full keyword search by body, subject, \
author, ...\; a graphical representation of message relationships\; \
charts of the current activity about a topic\; searching lists or \
queries around an estimated time\; signature verification to confirm \
the author\; messages markup to find related information\; etc.
homepage http://lurker.sourceforge.net/
master_sites sourceforge
distfiles-append mimelib-${mimelib_release}${extract.suffix}
checksums ${distname}${extract.suffix} md5 393391e4c2489fb1c76c5f7c8e9bb099 \
mimelib-${mimelib_release}${extract.suffix} md5 f50d492e9bae694b449033a188afb770
depends_lib lib:libiconv:libiconv \
lib:libxslt.1:libxslt
post-extract { file rename ${workpath}/mimelib ${workpath}/${distname} }
configure.args --mandir=${prefix}/share/man --with-mimelib-local
build.args CXXFLAGS="-DDW_UNIX"
destroot.keepdirs ${destroot}${prefix}/var/lib/lurker \
${destroot}${prefix}/var/www/${name}/attach \
${destroot}${prefix}/var/www/${name}/list \
${destroot}${prefix}/var/www/${name}/mbox \
${destroot}${prefix}/var/www/${name}/message \
${destroot}${prefix}/var/www/${name}/mindex \
${destroot}${prefix}/var/www/${name}/search \
${destroot}${prefix}/var/www/${name}/splash \
${destroot}${prefix}/var/www/${name}/thread
post-destroot {
xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
file copy ${worksrcpath}/lurker.conf ${destroot}${prefix}/etc
xinstall -m 644 -v -W ${worksrcpath} INSTALL FAQ \
${destroot}${prefix}/share/doc/${name}/
reinplace "s|/usr/local|${prefix}|g" ${destroot}${prefix}/share/doc/${name}/INSTALL
reinplace "s|/etc|${prefix}/etc|g" ${destroot}${prefix}/share/doc/${name}/INSTALL
reinplace "s|${prefix}${prefix}/etc|${prefix}/etc|" \
${destroot}${prefix}/share/doc/${name}/INSTALL
}
post-activate {
ui_msg "\nLurker configuration is currently left entirely up to the user installing the port.\n \
Read ${prefix}/share/doc/${name}/INSTALL for information."
}