2013-02-19 17:18:01 +01:00
|
|
|
# Created by: Alan Eldridge <alane@FreeBSD.org>
|
2002-05-19 21:46:43 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= archivemail
|
2011-10-23 18:04:04 +02:00
|
|
|
PORTVERSION= 0.9.0
|
2013-02-19 17:18:01 +01:00
|
|
|
PORTREVISION= 1
|
2002-05-19 21:46:43 +02:00
|
|
|
CATEGORIES= mail
|
2011-10-23 18:04:04 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/
|
2002-05-19 21:46:43 +02:00
|
|
|
|
2009-01-31 21:55:16 +01:00
|
|
|
MAINTAINER= miwi@FreeBSD.org
|
2007-03-21 17:43:07 +01:00
|
|
|
COMMENT= Archive or delete mail older than N days
|
2002-05-19 21:46:43 +02:00
|
|
|
|
2011-10-23 18:04:04 +02:00
|
|
|
USE_PYTHON= 2.5+
|
2006-09-22 10:08:12 +02:00
|
|
|
NO_BUILD= yes
|
2002-05-19 21:46:43 +02:00
|
|
|
|
2013-02-19 17:18:01 +01:00
|
|
|
MAN1= archivemail.1
|
2011-10-23 18:04:04 +02:00
|
|
|
DOCS= CHANGELOG FAQ NEWS README TODO
|
2010-09-11 13:17:03 +02:00
|
|
|
EXAMPLES= test_archivemail examples/archivemail_all
|
2002-09-16 16:41:31 +02:00
|
|
|
|
2013-09-20 21:59:12 +02:00
|
|
|
NO_STAGE= yes
|
2013-02-19 17:18:01 +01:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2006-09-22 10:08:12 +02:00
|
|
|
do-install:
|
2007-03-21 17:43:07 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/archivemail ${PREFIX}/bin/archivemail
|
2013-02-19 17:18:01 +01:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/archivemail.1 ${MANPREFIX}/man/man1
|
|
|
|
.if ${PORT_OPTIONS:MEXAMPLES}
|
2002-09-16 16:41:31 +02:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
2010-09-11 13:17:03 +02:00
|
|
|
cd ${WRKSRC} && ${INSTALL_SCRIPT} ${EXAMPLES} ${EXAMPLESDIR}
|
|
|
|
.endif
|
2013-02-19 17:18:01 +01:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2002-09-16 16:41:31 +02:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2006-09-22 10:08:12 +02:00
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
|
2002-09-16 16:41:31 +02:00
|
|
|
.endif
|
2002-05-19 21:46:43 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|