aboutsummaryrefslogtreecommitdiffstats
path: root/mail/archivemail/Makefile
blob: a0d82a621c359b098e655b54ab5c842bf2f98a35 (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
# New ports collection makefile for:    archivemail
# Date created:     2002/04/02
# Whom:         Alan Eldridge <alane@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   archivemail
PORTVERSION=    0.7.2
PORTREVISION=   1
CATEGORIES= mail
MASTER_SITES=   SF

MAINTAINER= miwi@FreeBSD.org
COMMENT=    Archive or delete mail older than N days

USE_PYTHON= yes
NO_BUILD=   yes

DOCS=       CHANGELOG FAQ README TODO archivemail.sgml
EXAMPLES=   test_archivemail.py examples/archivemail_all

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/archivemail ${PREFIX}/bin/archivemail
    @${MKDIR} ${EXAMPLESDIR}
    cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>