diff options
author | danfe <danfe@FreeBSD.org> | 2013-08-06 20:32:40 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2013-08-06 20:32:40 +0800 |
commit | 4d94cb2674679413667ae2ea62a450f709cfdc5d (patch) | |
tree | 4373527789ae5a66c46cf64f85e482144f6244a0 | |
parent | c84ebf2e1541e7c3b4f665072f5f5684540785a8 (diff) | |
download | freebsd-ports-gnome-4d94cb2674679413667ae2ea62a450f709cfdc5d.tar.gz freebsd-ports-gnome-4d94cb2674679413667ae2ea62a450f709cfdc5d.tar.zst freebsd-ports-gnome-4d94cb2674679413667ae2ea62a450f709cfdc5d.zip |
Linux fuser(1) is incompatible with FreeBSD one, do not look for it. While
here: trim the header, adjust CATEGORIES and COMMENT, employ USES for perl5,
add LICENSE (GPLv2), install handful or docs, and update port description.
PR: ports/178024
Submitted by: koitsu
Approved by: maintainer timeout (since April 21st)
-rw-r--r-- | mail/archmbox/Makefile | 33 | ||||
-rw-r--r-- | mail/archmbox/pkg-descr | 35 |
2 files changed, 43 insertions, 25 deletions
diff --git a/mail/archmbox/Makefile b/mail/archmbox/Makefile index a9465411be5a..73e2d5034c83 100644 --- a/mail/archmbox/Makefile +++ b/mail/archmbox/Makefile @@ -1,23 +1,38 @@ -# New ports collection makefile for: archmbox -# Date created: 4 April 2004 -# Whom: Talal Al-Dik <tad@vif.com> -# +# Created by: Talal Al-Dik <tad@vif.com> # $FreeBSD$ -# PORTNAME= archmbox PORTVERSION= 4.10.0 -CATEGORIES= mail +PORTREVISION= 1 +CATEGORIES= mail perl5 MASTER_SITES= SF/adc-${PORTNAME}/${PORTNAME}/${PORTVERSION} MAINTAINER= tad@vif.com -COMMENT= Email archiver written in perl; parses mailboxes and performs actions +COMMENT= Email archiver that parses mailboxes and performs actions +LICENSE= GPLv2 + +USES= perl5 GNU_CONFIGURE= yes -USE_PERL5= yes -CONFIGURE_ENV+= PERL=${PERL} +CONFIGURE_ENV= PERL="${PERL}" MAN1= archmbox.1 PLIST_FILES= bin/archmbox +PORTDOCS= ChangeLog NEWS README THANKS TODO + +OPTIONS_DEFINE= DOCS + +.include <bsd.port.options.mk> + +post-patch: +# Linux fuser(1) is incompatible with FreeBSD one, do not look for it + @${REINPLACE_CMD} -e '/for ac_prog in/s, fuser,,' \ + ${WRKSRC}/configure + +post-install: +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} +.endif .include <bsd.port.mk> diff --git a/mail/archmbox/pkg-descr b/mail/archmbox/pkg-descr index 110572425c53..cf5910de364f 100644 --- a/mail/archmbox/pkg-descr +++ b/mail/archmbox/pkg-descr @@ -1,20 +1,23 @@ -Archmbox is a simple email archiver written in perl: -- parses one or more mailboxes -- selects some or all messages -- performs specific actions on the selected messages. -At this time archmbox supports mbox and mbx mailbox formats. - -Three different modes are available: -- list mode, which is useful to list all selected messages -- kill mode, if messages should be deleted from the mailbox(es) -- archive mode, to archive the selected messages in a different mailbox +Archmbox is a simple email archiver written in Perl; it parses one or more +mailboxes, selects some or all messages and then performs specific actions +on the selected messages. Archmbox supports mbox and mbx mailbox formats. -Messages selection is based upon: -- date criteria -- absolute date -- days offset +Four different modes are available: -It is also possible to refine the selection using regex on the header fields. -The archive mailbox can be saved in gz or bz2 compressed format as well. + - List mode, which is useful to list all selected messages before + archmbox performs the real operations (archiving or deleting) + - Kill mode, if messages should be deleted from the mailbox(es) rather + than archived + - Archive mode, to archive the selected messages in a different mailbox + - Copy mode, to copy the selected messages from the source mailbox + +Messages selection is based upon a date criteria; an absolute date or days +offset can be specified. It is also possible to refine the selection using +regular expressions on the header fields of the message. + +All archived messages are stored in a new mailbox with the same name of the +original one plus .archived as extension (this is the default, but can be +changed); the archive mailbox can be saved in gz or bz2 compressed format +as well. WWW: http://adc-archmbox.sourceforge.net/ |