blob: e1d6c0bc9aaf00e6b34b9273aa2de131b9b6e17a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# $NetBSD: Makefile,v 1.7 2002/01/18 15:57:42 drochner Exp $
#
DISTNAME= getmail-2.1.3
CATEGORIES= mail
MASTER_SITES= http://www.qcc.sk.ca/~charlesc/software/getmail-2.0/
MAINTAINER= zuntum@netbsd.org
HOMEPAGE= http://www.qcc.sk.ca/~charlesc/software/getmail-2.0/
COMMENT= POP3 mail retriever with reliable Maildir and mbox delivery
NO_CONFIGURE= YES
NO_BUILD= YES
PYTHON_PATCH_SCRIPTS= ConfParser.py getmail.py
post-patch:
${SED} "s,/usr/lib,${PREFIX}/libexec," ${WRKSRC}/getmail \
> ${WRKSRC}/getmail.done1
${SED} "s,\`which python\`,${PYTHONBIN}," <${WRKSRC}/getmail.done1 \
> ${WRKSRC}/getmail.done2
${MV} ${WRKSRC}/getmail.done2 ${WRKSRC}/getmail
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/getmail
cd ${WRKSRC} && \
${INSTALL_DATA} TODO BUGS CHANGELOG getmailrc-example faq.txt \
getmail.txt docs.txt COPYING ${PREFIX}/share/doc/getmail
${INSTALL_DATA} ${WRKSRC}/getmailrc-example \
${PREFIX}/share/examples/getmailrc
${INSTALL_SCRIPT_DIR} ${PREFIX}/libexec/getmail
cd ${WRKSRC} && \
${INSTALL_SCRIPT} ConfParser.py timeoutsocket.py getmail.py \
${PREFIX}/libexec/getmail
${INSTALL_SCRIPT} ${WRKSRC}/getmail ${PREFIX}/bin
.include "../../lang/python/application.buildlink.mk"
.include "../../mk/bsd.pkg.mk"
|