summaryrefslogtreecommitdiff
path: root/mail/rmoldmail/Makefile
blob: 88adc0571d6d3d5471481b59e02cef75bfd26092 (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
# New ports collection makefile for:	rmoldmail
# Date created:				7 June 2001
# Whom:					petef@FreeBSD.org
#
# $FreeBSD$
#

PORTNAME=	rmoldmail
PORTVERSION=	0.1.0
CATEGORIES=	mail
MASTER_SITES=	http://probiers.net/projects/rmoldmail/

MAINTAINER=	petef@FreeBSD.org
COMMENT=	Prune a mailbox of messages older than a set number of days

RUN_DEPENDS=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Date/Calc.pm:${PORTSDIR}/devel/p5-Date-Calc

NO_BUILD=	yes

USE_PERL5=	yes

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/rmoldmail.RUNconfigure.pl \
		${PREFIX}/sbin/rmoldmail
.if !defined(NOPORTDOCS)
	@${MKDIR} ${PREFIX}/share/doc/rmoldmail
	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/rmoldmail
.endif

.include <bsd.port.mk>