Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Aug 2013 12:32:40 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r324312 - head/mail/archmbox
Message-ID:  <201308061232.r76CWeS2091718@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Tue Aug  6 12:32:40 2013
New Revision: 324312
URL: http://svnweb.freebsd.org/changeset/ports/324312

Log:
  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)

Modified:
  head/mail/archmbox/Makefile
  head/mail/archmbox/pkg-descr

Modified: head/mail/archmbox/Makefile
==============================================================================
--- head/mail/archmbox/Makefile	Tue Aug  6 12:06:19 2013	(r324311)
+++ head/mail/archmbox/Makefile	Tue Aug  6 12:32:40 2013	(r324312)
@@ -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>

Modified: head/mail/archmbox/pkg-descr
==============================================================================
--- head/mail/archmbox/pkg-descr	Tue Aug  6 12:06:19 2013	(r324311)
+++ head/mail/archmbox/pkg-descr	Tue Aug  6 12:32:40 2013	(r324312)
@@ -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/



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