mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
940a48e669
- Reword COMMENT and rewrite and update pkg-descr - Install additional documentation - Use macros in pkg-plist - Take maintainership PR: 53547 Submitted by: Sergei Kolobov <sergei@kolobov.com>
44 lines
1.2 KiB
Makefile
44 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= 3.1.7
|
|
CATEGORIES= mail python
|
|
MASTER_SITES= http://www.qcc.ca/~charlesc/software/getmail-3.0/%SUBDIR%/
|
|
MASTER_SITE_SUBDIR= . old-versions
|
|
|
|
MAINTAINER= sergei@kolobov.com
|
|
COMMENT= POP3 mail retriever with reliable Maildir and command delivery
|
|
|
|
USE_PYTHON= yes
|
|
USE_REINPLACE= yes
|
|
NO_BUILD= yes
|
|
|
|
SCRIPTS= getmail getmail_maildir getmail_mbox
|
|
MAN1= getmail.1
|
|
DOCS= CHANGELOG THANKS TODO docs.txt faq.txt getmail.txt \
|
|
docs.html faq.html
|
|
|
|
post-patch:
|
|
@cd ${WRKSRC} && \
|
|
${REINPLACE_CMD} -e 's!/usr/lib/getmail!${DATADIR}!' \
|
|
-e 's!/usr/bin/python!${PYTHON_CMD}!' ${SCRIPTS}
|
|
|
|
do-install:
|
|
cd ${WRKSRC} && ${INSTALL_SCRIPT} ${SCRIPTS} ${PREFIX}/bin
|
|
cd ${WRKSRC} && ${INSTALL_MAN} ${MAN1} ${MANPREFIX}/man/man1
|
|
@${MKDIR} ${DATADIR}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/*.py ${DATADIR}
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/getmailrc-example ${EXAMPLESDIR}
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|