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

PORTNAME=   archivemail
PORTVERSION=    0.8.0
CATEGORIES= mail
MASTER_SITES=   SF

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

USE_PYTHON= 2.3+
NO_BUILD=   yes

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

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

.include <bsd.port.mk>