a7c9e58a08
Submitted by Nikolay Sturm <sturm@sec.informatik.tu-darmstadt.de>. getmail is a POP3 mail retriever, with support for both ordinary and domain (or multidrop) POP3 mailboxes. It is written in Python.
41 lines
1.0 KiB
Makefile
41 lines
1.0 KiB
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2002/09/21 19:07:34 naddy Exp $
|
|
|
|
COMMENT= "POP3 mail retriever"
|
|
|
|
DISTNAME= getmail-2.3.9
|
|
CATEGORIES= mail
|
|
|
|
HOMEPAGE= http://www.qcc.ca/~charlesc/software/getmail-2.0/
|
|
|
|
MAINTAINER= Nikolay Sturm <sturm@sec.informatik.tu-darmstadt.de>
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ${HOMEPAGE}
|
|
|
|
PYTHON_VER= 2.2
|
|
RUN_DEPENDS= :python-${PYTHON_VER}*:lang/python/${PYTHON_VER}
|
|
|
|
NO_BUILD= Yes
|
|
|
|
DOCDIR= ${PREFIX}/share/doc/getmail
|
|
|
|
post-patch:
|
|
@perl -i -p -e "s#/usr/lib/getmail#${PREFIX}/share/getmail#" ${WRKDIST}/getmail
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/getmail
|
|
${INSTALL_DATA_DIR} ${DOCDIR}
|
|
${INSTALL_SCRIPT} ${WRKDIST}/getmail ${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKDIST}/*.py ${PREFIX}/share/getmail
|
|
${INSTALL_DATA} ${WRKDIST}/docs.txt ${DOCDIR}
|
|
${INSTALL_DATA} ${WRKDIST}/faq.txt ${DOCDIR}
|
|
${INSTALL_DATA} ${WRKDIST}/getmailrc-example ${DOCDIR}
|
|
${INSTALL_DATA} ${WRKDIST}/getmail.1 ${PREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|