aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorsergei <sergei@FreeBSD.org>2004-04-12 05:53:02 +0800
committersergei <sergei@FreeBSD.org>2004-04-12 05:53:02 +0800
commit0b1be733b72c0c858efefeb0f3cc3bb9848c6ee4 (patch)
tree44aa0ed94f6ca6a385a91169f4dde8f78648d4f4 /mail
parenta8f0de8c62bd10a283f99d117b77baf5f20a3cc4 (diff)
downloadfreebsd-ports-gnome-0b1be733b72c0c858efefeb0f3cc3bb9848c6ee4.tar.gz
freebsd-ports-gnome-0b1be733b72c0c858efefeb0f3cc3bb9848c6ee4.tar.zst
freebsd-ports-gnome-0b1be733b72c0c858efefeb0f3cc3bb9848c6ee4.zip
- This fixes the following warning when you run archivemail with Python 2.3:
/usr/local/bin/archivemail:760: SyntaxWarning: assignment to None (None, last_dir) = os.path.split(os.path.dirname(message.fp.name)) The patch was also submitted to upstream (using SF's bug tracking system). PR: ports/64354 Submitted by: Simon Barner <barner@in.tum.de> - Use DOCSDIR/EXAMPLESDIR macros in pkg-plist - Bump PORTREVISION
Diffstat (limited to 'mail')
-rw-r--r--mail/archivemail/Makefile2
-rw-r--r--mail/archivemail/files/patch-archivemail11
-rw-r--r--mail/archivemail/pkg-plist17
3 files changed, 21 insertions, 9 deletions
diff --git a/mail/archivemail/Makefile b/mail/archivemail/Makefile
index bf729b0848ca..5b4929d7e463 100644
--- a/mail/archivemail/Makefile
+++ b/mail/archivemail/Makefile
@@ -7,7 +7,7 @@
PORTNAME= archivemail
PORTVERSION= 0.6.1
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
diff --git a/mail/archivemail/files/patch-archivemail b/mail/archivemail/files/patch-archivemail
new file mode 100644
index 000000000000..95a3c1a1daac
--- /dev/null
+++ b/mail/archivemail/files/patch-archivemail
@@ -0,0 +1,11 @@
+--- archivemail.orig Wed Mar 17 01:31:23 2004
++++ archivemail Wed Mar 17 01:46:48 2004
+@@ -757,7 +757,7 @@
+
+ # files in the maildir 'cur' directory are no longer new,
+ # they are the same as messages with 'Status: O' headers in mbox
+- (None, last_dir) = os.path.split(os.path.dirname(message.fp.name))
++ (foo, last_dir) = os.path.split(os.path.dirname(message.fp.name))
+ if last_dir == "cur":
+ status = status + "O"
+
diff --git a/mail/archivemail/pkg-plist b/mail/archivemail/pkg-plist
index 185972d7dfce..82cb9eece6a1 100644
--- a/mail/archivemail/pkg-plist
+++ b/mail/archivemail/pkg-plist
@@ -1,9 +1,10 @@
+@comment $FreeBSD$
bin/archivemail
-%%PORTDOCS%%share/doc/archivemail/CHANGELOG
-%%PORTDOCS%%share/doc/archivemail/FAQ
-%%PORTDOCS%%share/doc/archivemail/README
-%%PORTDOCS%%share/doc/archivemail/TODO
-%%PORTDOCS%%@dirrm share/doc/archivemail
-share/examples/archivemail/archivemail_all
-share/examples/archivemail/test_archivemail.py
-@dirrm share/examples/archivemail
+%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG
+%%PORTDOCS%%%%DOCSDIR%%/FAQ
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%EXAMPLESDIR%%/archivemail_all
+%%EXAMPLESDIR%%/test_archivemail.py
+@dirrm %%EXAMPLESDIR%%