12e31ea24f
- USE_REINPLACE - pass maintainership to submitter Submitted by: Anders Andersson <anders@hack.org>
39 lines
976 B
Makefile
39 lines
976 B
Makefile
# New ports collection makefile for: getmail
|
|
# Date created: 06 May 2001
|
|
# Whom: Yukihiro Nakai <nakai@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= getmail
|
|
PORTVERSION= 2.3.9
|
|
CATEGORIES= mail python
|
|
MASTER_SITES= http://www.qcc.sk.ca/~charlesc/software/getmail-2.0/%SUBDIR%/
|
|
MASTER_SITE_SUBDIR= . old-versions
|
|
|
|
MAINTAINER= anders@hack.org
|
|
|
|
USE_PYTHON= yes
|
|
USE_REINPLACE= yes
|
|
NO_BUILD= yes
|
|
|
|
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} ${PREFIX}/share/examples/getmail
|
|
${INSTALL_DATA} ${WRKSRC}/getmailrc-example \
|
|
${PREFIX}/share/examples/getmail
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for file in CHANGELOG docs.txt faq.txt getmail.txt
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|