aboutsummaryrefslogtreecommitdiffstats
path: root/mail/getmail/Makefile
blob: d835bec662dd1fc71ad6fc7db548d18538debdeb (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
# Created by: Yukihiro Nakai <nakai@FreeBSD.org>
# $FreeBSD$

PORTNAME=   getmail
PORTVERSION=    4.54.0
CATEGORIES= mail python
MASTER_SITES=   http://pyropus.ca/software/getmail/old-versions/

MAINTAINER= jrm@FreeBSD.org
COMMENT=    POP3/IMAP4 mail retriever with Maildir and command delivery

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/docs/COPYING

USES=       python:2
USE_PYTHON= distutils
NO_ARCH=    yes

PORTDOCS=   README BUGS CHANGELOG THANKS TODO *.txt *.html *.css

OPTIONS_DEFINE= DOCS EXAMPLES

post-install:
    @${CHMOD} -R 644 ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/getmailcore/*

post-install-EXAMPLES-on:
    @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
    ${INSTALL_DATA} ${WRKSRC}/docs/getmailrc-examples ${STAGEDIR}${EXAMPLESDIR}

post-install-DOCS-on:
    @${CP} ${WRKSRC}/README ${WRKSRC}/docs/
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/docs/,} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>