aboutsummaryrefslogtreecommitdiff
path: root/mail/archivemail/Makefile
blob: 5b4929d7e4637c7d4204eabb482b2ca961f5ecaa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# New ports collection makefile for:	archivemail
# Date created:		2002/04/02
# Whom:			Alan Eldridge <alane@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	archivemail
PORTVERSION=	0.6.1
PORTREVISION=	1
CATEGORIES=	mail
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	sergei@FreeBSD.org
COMMENT=	Search mailbox files and archive or delete mail older than N days

USE_PYTHON=	yes
USE_PYDISTUTILS=yes

MAN1=		archivemail.1
DOCS=		CHANGELOG FAQ README TODO

post-install:
	@${MKDIR} ${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/examples/archivemail_all ${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/test_archivemail.py ${EXAMPLESDIR}
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
.for file in ${DOCS}
	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>