Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Aug 2001 20:03:29 -0400 (EDT)
From:      Pete Fritchman <petef@databits.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/29373: Update mail/getmail to 2.1.2
Message-ID:  <200108020003.f7203T467032@entropy.databits.net>

next in thread | raw e-mail | index | archive | help

>Number:         29373
>Category:       ports
>Synopsis:       Update mail/getmail to 2.1.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 01 16:50:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Pete Fritchman
>Release:        FreeBSD 4.3-STABLE i386
>Organization:
Databits Network Services, Inc.
>Environment:
System: FreeBSD entropy.databits.net 4.3-STABLE FreeBSD 4.3-STABLE #1: Tue Jul 31 08:19:43 EDT 2001 petef@entropy.databits.net:/usr/obj/usr/src/sys/ENTROPY i386

>Description:

- update to version 2.1.2
- add python to CATEGORIES
- RUN_DEPENDS= python... -> USE_PYTHON
- replace patch-aa with a regexp
- ^I^I -> ^I
- install getmailrc-example in ${PREFIX}/share/examples/getmail instead of
  ${PREFIX}/share/getmail
- use ${DATADIR}
- install documentation
- make pkg-descr better

>How-To-Repeat:

>Fix:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/mail/getmail/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- Makefile	2001/05/05 23:38:06	1.1
+++ Makefile	2001/08/01 23:25:17
@@ -6,21 +6,32 @@
 #
 
 PORTNAME=	getmail
-PORTVERSION=	2.0.19
-CATEGORIES=	mail
+PORTVERSION=	2.1.2
+CATEGORIES=	mail python
 MASTER_SITES=	http://www.qcc.sk.ca/~charlesc/software/getmail-2.0/
 
 MAINTAINER=	nakai@FreeBSD.org
 
-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>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/mail/getmail/distinfo,v
retrieving revision 1.1
diff -u -r1.1 distinfo
--- distinfo	2001/05/05 23:38:06	1.1
+++ distinfo	2001/08/01 22:59:23
@@ -1 +1 @@
-MD5 (getmail-2.0.19.tar.gz) = 4c3474e8cab3bd28eb7c0df963056164
+MD5 (getmail-2.1.2.tar.gz) = 861f3e93ae22eb9fbaeef81493b933ba
Index: pkg-descr
===================================================================
RCS file: /home/ncvs/ports/mail/getmail/pkg-descr,v
retrieving revision 1.1
diff -u -r1.1 pkg-descr
--- pkg-descr	2001/05/05 23:38:06	1.1
+++ pkg-descr	2001/08/01 23:22:14
@@ -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/
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/mail/getmail/pkg-plist,v
retrieving revision 1.1
diff -u -r1.1 pkg-plist
--- pkg-plist	2001/05/05 23:38:06	1.1
+++ pkg-plist	2001/08/01 23:19:50
@@ -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
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108020003.f7203T467032>