aboutsummaryrefslogtreecommitdiff
path: root/mail/archivemail
diff options
context:
space:
mode:
authorSergei Kolobov <sergei@FreeBSD.org>2006-09-22 08:08:12 +0000
committerSergei Kolobov <sergei@FreeBSD.org>2006-09-22 08:08:12 +0000
commitfeaba1c5d80eed6f7053ccd80f974c50c3d9f2f5 (patch)
tree706ddf648e127bbb528f514b57024d7445520c76 /mail/archivemail
parent357ccbe2f093d911ab0abbd8692ba7b7f69b2f93 (diff)
downloadports-feaba1c5d80eed6f7053ccd80f974c50c3d9f2f5.tar.gz
ports-feaba1c5d80eed6f7053ccd80f974c50c3d9f2f5.zip
Notes
Diffstat (limited to 'mail/archivemail')
-rw-r--r--mail/archivemail/Makefile19
-rw-r--r--mail/archivemail/distinfo6
-rw-r--r--mail/archivemail/files/patch-archivemail11
-rw-r--r--mail/archivemail/pkg-plist2
4 files changed, 13 insertions, 25 deletions
diff --git a/mail/archivemail/Makefile b/mail/archivemail/Makefile
index 5b4929d7e463..67caf522d554 100644
--- a/mail/archivemail/Makefile
+++ b/mail/archivemail/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= archivemail
-PORTVERSION= 0.6.1
-PORTREVISION= 1
+PORTVERSION= 0.6.2
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -16,20 +15,18 @@ MAINTAINER= sergei@FreeBSD.org
COMMENT= Search mailbox files and archive or delete mail older than N days
USE_PYTHON= yes
-USE_PYDISTUTILS=yes
+NO_BUILD= yes
-MAN1= archivemail.1
-DOCS= CHANGELOG FAQ README TODO
+DOCS= CHANGELOG FAQ Makefile README TODO archivemail.sgml
+EXAMPLES= test_archivemail.py examples/archivemail_all
-post-install:
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/archivemail.py ${PREFIX}/bin/archivemail
@${MKDIR} ${EXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/examples/archivemail_all ${EXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/test_archivemail.py ${EXAMPLESDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
-.for file in ${DOCS}
- ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
-.endfor
+ cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/mail/archivemail/distinfo b/mail/archivemail/distinfo
index caf082447dc4..51ae44e966a2 100644
--- a/mail/archivemail/distinfo
+++ b/mail/archivemail/distinfo
@@ -1,3 +1,3 @@
-MD5 (archivemail-0.6.1.tar.gz) = aaf071effc9576cc14f3b0eee1d2321e
-SHA256 (archivemail-0.6.1.tar.gz) = a2f7fa9cf021ca266850f9ef2700fe7d8d01550f17930f479d17e304b94c610a
-SIZE (archivemail-0.6.1.tar.gz) = 34874
+MD5 (archivemail-0.6.2.tar.gz) = 1675f76b6415b046b85cff4e7ce69a3d
+SHA256 (archivemail-0.6.2.tar.gz) = 70d44fef33290679b461b5475445ab33e55f8700e1d20d842b861eddb845d359
+SIZE (archivemail-0.6.2.tar.gz) = 34995
diff --git a/mail/archivemail/files/patch-archivemail b/mail/archivemail/files/patch-archivemail
deleted file mode 100644
index 95a3c1a1daac..000000000000
--- a/mail/archivemail/files/patch-archivemail
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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 82cb9eece6a1..d066e41472cc 100644
--- a/mail/archivemail/pkg-plist
+++ b/mail/archivemail/pkg-plist
@@ -2,8 +2,10 @@
bin/archivemail
%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG
%%PORTDOCS%%%%DOCSDIR%%/FAQ
+%%PORTDOCS%%%%DOCSDIR%%/Makefile
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/TODO
+%%PORTDOCS%%%%DOCSDIR%%/archivemail.sgml
%%PORTDOCS%%@dirrm %%DOCSDIR%%
%%EXAMPLESDIR%%/archivemail_all
%%EXAMPLESDIR%%/test_archivemail.py