summaryrefslogtreecommitdiff
path: root/mail/getmail/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/getmail/Makefile')
-rw-r--r--mail/getmail/Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/mail/getmail/Makefile b/mail/getmail/Makefile
new file mode 100644
index 00000000000..415b9856b40
--- /dev/null
+++ b/mail/getmail/Makefile
@@ -0,0 +1,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"