diff options
Diffstat (limited to 'mail/getmail/Makefile')
-rw-r--r-- | mail/getmail/Makefile | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/mail/getmail/Makefile b/mail/getmail/Makefile index 5aec32d42c0c..39ea57fffebf 100644 --- a/mail/getmail/Makefile +++ b/mail/getmail/Makefile @@ -6,34 +6,38 @@ # PORTNAME= getmail -PORTVERSION= 3.1.0 +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= ports@FreeBSD.org -COMMENT= POP3 mail retriever written in Python +MAINTAINER= sergei@kolobov.com +COMMENT= POP3 mail retriever with reliable Maildir and command delivery USE_PYTHON= yes USE_REINPLACE= yes NO_BUILD= yes -DOCS= CHANGELOG docs.txt faq.txt getmail.txt +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: - @${REINPLACE_CMD} -e 's!/usr/lib/getmail!${DATADIR}!' \ - -e 's!`which python`!${PYTHON_CMD}!' ${WRKSRC}/getmail + @cd ${WRKSRC} && \ + ${REINPLACE_CMD} -e 's!/usr/lib/getmail!${DATADIR}!' \ + -e 's!/usr/bin/python!${PYTHON_CMD}!' ${SCRIPTS} do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/getmail ${PREFIX}/bin + 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} -.for file in ${DOCS} - ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} -.endfor + cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} .endif .include <bsd.port.mk> |