1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/mail/getmail/Makefile

38 lines
975 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.7
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
.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>