aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornakai <nakai@FreeBSD.org>2001-08-06 04:29:57 +0800
committernakai <nakai@FreeBSD.org>2001-08-06 04:29:57 +0800
commit8df548f0af1d576d91a575c8f5bf7e20d69f6b27 (patch)
tree2d9967914cb9f712a5f2f090baffb3e1d9b8cc64
parent68454c528151feb309550cffa9992b9b3ad11ee4 (diff)
downloadfreebsd-ports-gnome-8df548f0af1d576d91a575c8f5bf7e20d69f6b27.tar.gz
freebsd-ports-gnome-8df548f0af1d576d91a575c8f5bf7e20d69f6b27.tar.zst
freebsd-ports-gnome-8df548f0af1d576d91a575c8f5bf7e20d69f6b27.zip
Update to 2.1.3
Change MAINTAINER PR: ports/29373 Submitted by: Pete Fritchman <petef@databits.net>
-rw-r--r--mail/getmail/Makefile29
-rw-r--r--mail/getmail/distinfo2
-rw-r--r--mail/getmail/files/patch-aa11
-rw-r--r--mail/getmail/pkg-descr3
-rw-r--r--mail/getmail/pkg-plist8
5 files changed, 30 insertions, 23 deletions
diff --git a/mail/getmail/Makefile b/mail/getmail/Makefile
index 01ef837bf8e7..43e83122c121 100644
--- a/mail/getmail/Makefile
+++ b/mail/getmail/Makefile
@@ -6,21 +6,32 @@
#
PORTNAME= getmail
-PORTVERSION= 2.0.19
-CATEGORIES= mail
+PORTVERSION= 2.1.3
+CATEGORIES= mail python
MASTER_SITES= http://www.qcc.sk.ca/~charlesc/software/getmail-2.0/
-MAINTAINER= nakai@FreeBSD.org
+MAINTAINER= petef@databits.net
-RUN_DEPENDS= python:${PORTSDIR}/lang/python
+USE_PYTHON= yes
NO_BUILD= yes
+post-patch:
+ @${PERL} -pi -e 's!/usr/lib/getmail!${DATADIR}!; \
+ s!`which python`!${PYTHON_CMD}!' ${WRKSRC}/getmail
+
do-install:
- ${MKDIR} ${PREFIX}/share/getmail
- ${INSTALL_SCRIPT} ${WRKSRC}/getmail ${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/*.py ${PREFIX}/share/getmail
- ${INSTALL_DATA} ${WRKSRC}/getmailrc-example \
- ${PREFIX}/share/getmail
+ ${INSTALL_SCRIPT} ${WRKSRC}/getmail ${PREFIX}/bin
+ @${MKDIR} ${DATADIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/*.py ${DATADIR}
+ @${MKDIR} ${PREFIX}/share/examples/getmail
+ ${INSTALL_DATA} ${WRKSRC}/getmailrc-example \
+ ${PREFIX}/share/examples/getmail
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for file in CHANGELOG docs.txt faq.txt getmail.txt
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.endfor
+.endif
.include <bsd.port.mk>
diff --git a/mail/getmail/distinfo b/mail/getmail/distinfo
index 403ffeae5267..b4b25363156d 100644
--- a/mail/getmail/distinfo
+++ b/mail/getmail/distinfo
@@ -1 +1 @@
-MD5 (getmail-2.0.19.tar.gz) = 4c3474e8cab3bd28eb7c0df963056164
+MD5 (getmail-2.1.3.tar.gz) = 3f2480d3a1ed66b5293a60ed5bf841b4
diff --git a/mail/getmail/files/patch-aa b/mail/getmail/files/patch-aa
deleted file mode 100644
index 986eaaf6a1f8..000000000000
--- a/mail/getmail/files/patch-aa
+++ /dev/null
@@ -1,11 +0,0 @@
---- getmail.orig Sun May 6 08:33:52 2001
-+++ getmail Sun May 6 08:33:57 2001
-@@ -1,7 +1,7 @@
- #!/bin/sh
-
- # Change this to your getmail directory; defaults to /usr/lib/getmail
--GETMAILPATH="/usr/local/lib/getmail"
-+GETMAILPATH="/usr/local/share/getmail"
-
- OLDPYTHONPATH=${PYTHONPATH}
- PYTHONPATH="${GETMAILPATH}:${PYTHONPATH}"
diff --git a/mail/getmail/pkg-descr b/mail/getmail/pkg-descr
index adf635a17705..604a7e0c7166 100644
--- a/mail/getmail/pkg-descr
+++ b/mail/getmail/pkg-descr
@@ -1,3 +1,4 @@
-POP3 mail retriever written in Python
+POP3 mail retriever written in Python. maildrop includes many features
+similiar to fetchmail and intends to be a complete replacement.
WWW: http://www.qcc.sk.ca/~charlesc/software/getmail-2.0/
diff --git a/mail/getmail/pkg-plist b/mail/getmail/pkg-plist
index 68c0f6ed1400..f2f2c20e3e31 100644
--- a/mail/getmail/pkg-plist
+++ b/mail/getmail/pkg-plist
@@ -1,6 +1,12 @@
bin/getmail
+%%PORTDOCS%%share/doc/getmail/CHANGELOG
+%%PORTDOCS%%share/doc/getmail/docs.txt
+%%PORTDOCS%%share/doc/getmail/faq.txt
+%%PORTDOCS%%share/doc/getmail/getmail.txt
+share/examples/getmail/getmailrc-example
share/getmail/ConfParser.py
share/getmail/getmail.py
-share/getmail/getmailrc-example
share/getmail/timeoutsocket.py
@dirrm share/getmail
+@dirrm share/examples/getmail
+%%PORTDOCS%%@dirrm share/doc/getmail