aboutsummaryrefslogtreecommitdiffstats
path: root/mail/getmail/Makefile
blob: 0fbcbd5203331dfb8a4450897c748e6bf283a5a9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# New ports collection makefile for:   getmail
# Date created:        06 May 2001
# Whom:                Yukihiro Nakai <nakai@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   getmail
PORTVERSION=    4.32.0
CATEGORIES= mail python
MASTER_SITES=   http://pyropus.ca/software/getmail/old-versions/ \
        http://mirrors.closedsrc.org/getmail/

MAINTAINER= question+fbsdports@closedsrc.org
COMMENT=    POP3/IMAP4 mail retriever with Maildir and command delivery

LICENSE=    GPLv2

USE_PYTHON=     yes
USE_PYDISTUTILS=    yes

MAN1=       getmail.1 getmail_fetch.1 getmail_maildir.1 getmail_mbox.1
PORTDOCS=   README BUGS CHANGELOG THANKS TODO *.txt *.html *.css

post-install:
    @${CHMOD} -R 644 ${PYTHON_SITELIBDIR}/getmailcore/*
    @${CP} ${WRKSRC}/README ${WRKSRC}/docs/
    @${MKDIR} ${EXAMPLESDIR}
    ${INSTALL_DATA} ${WRKSRC}/docs/getmailrc-examples ${EXAMPLESDIR}
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for docs in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/docs/${docs} ${DOCSDIR}
.endfor
.endif
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>