06348bc6d8
Changes: -fix the "blank lines output, even in quiet mode" problem which caused cron to send email every time getmail was run. Thanks to Errol Casey for finding the cause. -Handle user aborting getmail better. -Remove dead parameter from message_add_info() -move file locking to separate functions -add file locking around handling of oldmail file -move regular expression objects into a dictionary -add ability to deliver to a command (pipe delivery) like maildrop or procmail. getmail won't do this if it's running as root.
35 lines
1.1 KiB
Makefile
35 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.5 2001/06/26 16:02:17 zuntum Exp $
|
|
#
|
|
|
|
DISTNAME= getmail-2.1.0
|
|
CATEGORIES= mail
|
|
MASTER_SITES= http://www.qcc.sk.ca/~charlesc/software/getmail-2.0/
|
|
|
|
MAINTAINER= zuntum@netbsd.org
|
|
HOMEPAGE= http://www.qcc.sk.ca/~charlesc/software/getmail-2.0/
|
|
COMMENT= POP3 mail retriever with reliable Maildir and mbox delivery
|
|
|
|
DEPENDS+= python>=1.52:../../lang/python
|
|
|
|
NO_CONFIGURE= YES
|
|
NO_BUILD= YES
|
|
|
|
post-patch:
|
|
${SED} "s,/usr/local,${PREFIX}," ${WRKSRC}/getmail \
|
|
> ${WRKSRC}/getmail.done
|
|
${MV} ${WRKSRC}/getmail.done ${WRKSRC}/getmail
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/getmail
|
|
cd ${WRKSRC} && \
|
|
${INSTALL_DATA} TODO BUGS CHANGELOG getmailrc-example faq.txt \
|
|
getmail.txt docs.txt COPYING ${PREFIX}/share/doc/getmail
|
|
${INSTALL_DATA} ${WRKSRC}/getmailrc-example \
|
|
${PREFIX}/share/examples/getmailrc
|
|
${INSTALL_SCRIPT_DIR} ${PREFIX}/libexec/getmail
|
|
cd ${WRKSRC} && \
|
|
${INSTALL_SCRIPT} ConfParser.py timeoutsocket.py getmail.py \
|
|
${PREFIX}/libexec/getmail
|
|
${INSTALL_SCRIPT} ${WRKSRC}/getmail ${PREFIX}/bin
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|