1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/mail/getmail/Makefile
Yen-Ming Lee 9c35c7498b update to latest version 3.1.0
PR:		48585
Submitted by:	Anders Andersson <anders@andersa.net>
2003-02-23 10:48:48 +00:00

40 lines
964 B
Makefile

# New ports collection makefile for: getmail
# Date created: 06 May 2001
# Whom: Yukihiro Nakai <nakai@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= getmail
PORTVERSION= 3.1.0
CATEGORIES= mail python
MASTER_SITES= http://www.qcc.ca/~charlesc/software/getmail-3.0/%SUBDIR%/
MAINTAINER= anders@andersa.net
COMMENT= POP3 mail retriever written in Python
USE_PYTHON= yes
USE_REINPLACE= yes
NO_BUILD= yes
DOCS= CHANGELOG docs.txt faq.txt getmail.txt
post-patch:
@${REINPLACE_CMD} -e 's!/usr/lib/getmail!${DATADIR}!' \
-e 's!`which python`!${PYTHON_CMD}!' ${WRKSRC}/getmail
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/getmail ${PREFIX}/bin
@${MKDIR} ${DATADIR}
${INSTALL_SCRIPT} ${WRKSRC}/*.py ${DATADIR}
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/getmailrc-example ${EXAMPLESDIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>