1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/mail/getmail/Makefile
Matthias Andree 56b0b62df2 Make previous mail/getmail commit optional, default off, to render authentic
binary packages.

While at it, add LICENSE=GPLv2.
2011-03-18 02:45:59 +00:00

49 lines
1.2 KiB
Makefile

# New ports collection makefile for: getmail
# Date created: 06 May 2001
# Whom: Yukihiro Nakai <nakai@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= getmail
PORTVERSION= 4.20.0
PORTREVISION= 1
CATEGORIES= mail python
MASTER_SITES= http://pyropus.ca/software/getmail/%SUBDIR%/ \
http://mirrors.closedsrc.org/getmail/
MASTER_SITE_SUBDIR= old-versions
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
OPTIONS= NOTSEEN "Do not mark IMAP-retrieved mail \\Seen" OFF
.include <bsd.port.pre.mk>
.ifdef WITH_NOTSEEN
EXTRA_PATCHES+= ${FILESDIR}/diff-getmailcore___retrieverbases.py
.endif
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.post.mk>