summaryrefslogtreecommitdiff
path: root/mail/getmail/Makefile
blob: 415b9856b40edfdd60715f79dd49076589bf2a2d (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
# $NetBSD: Makefile,v 1.1.1.1 2001/03/05 20:56:44 jtb Exp $
#

DISTNAME=	getmail-2.0.18
CATEGORIES=	mail
MASTER_SITES=	http://www.qcc.sk.ca/~charlesc/software/getmail-2.0/

MAINTAINER=	zuntum@eik.pl
HOMEPAGE=	http://www.qcc.sk.ca/~charlesc/software/getmail-2.0/
COMMENT=	POP3 mail retriever with reliable Maildir and mbox delivery

DEPENDS+=	python>=1.52:../../lang/python

NO_CONFIGURE=	YES
NO_BUILD=	YES

post-patch:
	${SED} "s,@PREFIX@,${PREFIX}," ${WRKSRC}/getmail		\
		> ${WRKSRC}/getmail.done
	${MV} ${WRKSRC}/getmail.done ${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_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 "../../mk/bsd.pkg.mk"