mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Update to 0.6.2
- Install script via port's Makefile instead of USE_PYDISTUTILS - Manual page is no longer included in the distribution; building it from SGML source requires Jade and docbook2man; in order to avoid adding quite heavy dependecies for this simple utility, we now install SGML and associated Makefile to DOCSDIR for those who want to build the man page manually
This commit is contained in:
parent
357ccbe2f0
commit
feaba1c5d8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=173579
4 changed files with 13 additions and 25 deletions
|
@ -6,8 +6,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= archivemail
|
PORTNAME= archivemail
|
||||||
PORTVERSION= 0.6.1
|
PORTVERSION= 0.6.2
|
||||||
PORTREVISION= 1
|
|
||||||
CATEGORIES= mail
|
CATEGORIES= mail
|
||||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
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
|
COMMENT= Search mailbox files and archive or delete mail older than N days
|
||||||
|
|
||||||
USE_PYTHON= yes
|
USE_PYTHON= yes
|
||||||
USE_PYDISTUTILS=yes
|
NO_BUILD= yes
|
||||||
|
|
||||||
MAN1= archivemail.1
|
DOCS= CHANGELOG FAQ Makefile README TODO archivemail.sgml
|
||||||
DOCS= CHANGELOG FAQ README TODO
|
EXAMPLES= test_archivemail.py examples/archivemail_all
|
||||||
|
|
||||||
post-install:
|
do-install:
|
||||||
|
${INSTALL_SCRIPT} ${WRKSRC}/archivemail.py ${PREFIX}/bin/archivemail
|
||||||
@${MKDIR} ${EXAMPLESDIR}
|
@${MKDIR} ${EXAMPLESDIR}
|
||||||
${INSTALL_DATA} ${WRKSRC}/examples/archivemail_all ${EXAMPLESDIR}
|
cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
|
||||||
${INSTALL_DATA} ${WRKSRC}/test_archivemail.py ${EXAMPLESDIR}
|
|
||||||
.if !defined(NOPORTDOCS)
|
.if !defined(NOPORTDOCS)
|
||||||
@${MKDIR} ${DOCSDIR}
|
@${MKDIR} ${DOCSDIR}
|
||||||
.for file in ${DOCS}
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
|
||||||
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
|
||||||
.endfor
|
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
MD5 (archivemail-0.6.1.tar.gz) = aaf071effc9576cc14f3b0eee1d2321e
|
MD5 (archivemail-0.6.2.tar.gz) = 1675f76b6415b046b85cff4e7ce69a3d
|
||||||
SHA256 (archivemail-0.6.1.tar.gz) = a2f7fa9cf021ca266850f9ef2700fe7d8d01550f17930f479d17e304b94c610a
|
SHA256 (archivemail-0.6.2.tar.gz) = 70d44fef33290679b461b5475445ab33e55f8700e1d20d842b861eddb845d359
|
||||||
SIZE (archivemail-0.6.1.tar.gz) = 34874
|
SIZE (archivemail-0.6.2.tar.gz) = 34995
|
||||||
|
|
|
@ -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"
|
|
||||||
|
|
|
@ -2,8 +2,10 @@
|
||||||
bin/archivemail
|
bin/archivemail
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG
|
%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/FAQ
|
%%PORTDOCS%%%%DOCSDIR%%/FAQ
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/Makefile
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/TODO
|
%%PORTDOCS%%%%DOCSDIR%%/TODO
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/archivemail.sgml
|
||||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||||
%%EXAMPLESDIR%%/archivemail_all
|
%%EXAMPLESDIR%%/archivemail_all
|
||||||
%%EXAMPLESDIR%%/test_archivemail.py
|
%%EXAMPLESDIR%%/test_archivemail.py
|
||||||
|
|
Loading…
Add table
Reference in a new issue