freebsd-ports/mail/getmail/Makefile
Cheng-Lung Sung adbdaf6e37 - Update mail/getmail to 4.6.3 which includes several bugfixes.
- Also manually set chmod on the getmailcore library files to 644 as
  the Python dist installer uses root's umask to install files.
  Executable files were already set with proper chmod during install.

PR:		99492
Submitted by:	maintainer (Linh Pham)
2006-06-27 01:15:42 +00:00

34 lines
954 B
Makefile

# New ports collection makefile for: getmail
# Date created: 06 May 2001
# Whom: Yukihiro Nakai <nakai@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= getmail
PORTVERSION= 4.6.3
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
USE_PYTHON= yes
USE_PYDISTUTILS= yes
MAN1= getmail.1 getmail_fetch.1 getmail_maildir.1 getmail_mbox.1
DOCS= ../README BUGS CHANGELOG THANKS TODO *.txt *.html *.css
post-install:
@${CHMOD} -R 644 ${PYTHON_SITELIBDIR}/getmailcore/*
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/docs/getmailrc-examples ${EXAMPLESDIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC}/docs && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>