1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/mail/getmail/Makefile
2014-02-21 13:37:56 +00:00

41 lines
1004 B
Makefile

# Created by: Yukihiro Nakai <nakai@FreeBSD.org>
# $FreeBSD$
PORTNAME= getmail
PORTVERSION= 4.43.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= 2
USE_PYDISTUTILS=yes
MAN1= getmail.1 getmail_fetch.1 getmail_maildir.1 getmail_mbox.1
PORTDOCS= README BUGS CHANGELOG THANKS TODO *.txt *.html *.css
NO_STAGE= yes
OPTIONS_DEFINE= DOCS EXAMPLES
.include <bsd.port.options.mk>
post-install:
@${CHMOD} -R 644 ${PYTHON_SITELIBDIR}/getmailcore/*
.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/docs/getmailrc-examples ${EXAMPLESDIR}
.endif
.if ${PORT_OPTIONS:MDOCS}
@${CP} ${WRKSRC}/README ${WRKSRC}/docs/
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/docs/,} ${DOCSDIR}
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>