1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/mail/getmail/Makefile
Dmitry Marakasov 5c01c51d07 - Update to 4.51.0
- While here, add LICENSE_FILE, switch to options helpers and fix PYTHON_SITELIBDIR/PYTHONPREFIX_SITELIBDIR misuse

PR:		212602
Submitted by:	jrm@ftfl.ca (maintainer)
2016-09-13 19:16:27 +00:00

36 lines
900 B
Makefile

# Created by: Yukihiro Nakai <nakai@FreeBSD.org>
# $FreeBSD$
PORTNAME= getmail
PORTVERSION= 4.51.0
CATEGORIES= mail python
MASTER_SITES= http://pyropus.ca/software/getmail/old-versions/
MAINTAINER= jrm@ftfl.ca
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>