2001-01-04 00:34:17 +01:00
|
|
|
# New ports collection makefile for: Mail-Audit
|
|
|
|
# Date created: Wed Jan 3 12:31:10 2001
|
|
|
|
# Whom: will
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= Mail-Audit
|
2007-02-20 17:50:57 +01:00
|
|
|
PORTVERSION= 2.2.15
|
2001-01-04 00:34:17 +01:00
|
|
|
CATEGORIES= mail perl5
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
|
|
MASTER_SITE_SUBDIR= Mail
|
|
|
|
PKGNAMEPREFIX= p5-
|
2006-07-18 07:16:38 +02:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:C/.([0-9]+)$/\1/}
|
2001-01-04 00:34:17 +01:00
|
|
|
|
2006-09-20 05:13:48 +02:00
|
|
|
MAINTAINER= perl@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Perl module for creating easy mail filters
|
2001-01-04 00:34:17 +01:00
|
|
|
|
2006-07-18 07:16:38 +02:00
|
|
|
BUILD_DEPENDS= ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp \
|
|
|
|
${SITE_PERL}/MIME/Entity.pm:${PORTSDIR}/mail/p5-MIME-Tools \
|
2002-06-13 18:21:39 +02:00
|
|
|
${SITE_PERL}/Mail/Internet.pm:${PORTSDIR}/mail/p5-Mail-Tools \
|
|
|
|
${SITE_PERL}/Mail/ListDetector.pm:${PORTSDIR}/mail/p5-Mail-ListDetector \
|
2006-07-18 07:16:38 +02:00
|
|
|
${SITE_PERL}/Mail/Mailer.pm:${PORTSDIR}/mail/p5-Mail-Tools \
|
|
|
|
${SITE_PERL}/Net/SMTP.pm:${PORTSDIR}/net/p5-Net
|
2001-01-04 00:34:17 +01:00
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
|
2001-05-10 03:20:55 +02:00
|
|
|
MAN3= Mail::Audit.3 \
|
|
|
|
Mail::Audit::KillDups.3 \
|
|
|
|
Mail::Audit::List.3 \
|
2006-07-23 08:41:47 +02:00
|
|
|
Mail::Audit::MAPS.3 \
|
2006-07-18 07:16:38 +02:00
|
|
|
Mail::Audit::MailInternet.3 \
|
|
|
|
Mail::Audit::MimeEntity.3 \
|
2001-12-24 19:21:15 +01:00
|
|
|
Mail::Audit::PGP.3 \
|
2006-07-18 07:16:38 +02:00
|
|
|
Mail::Audit::Razor.3 \
|
2007-02-20 17:50:57 +01:00
|
|
|
Mail::Audit::Util::Tempdir.3 \
|
2006-07-18 07:16:38 +02:00
|
|
|
Mail::Audit::Vacation.3
|
|
|
|
|
2002-09-03 20:40:37 +02:00
|
|
|
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples//${PKGNAMEPREFIX}${PORTNAME}
|
2006-07-18 07:16:38 +02:00
|
|
|
PORTDOCS= Changes FAQ README
|
|
|
|
PORTEXAMPLES= popread proc2ma
|
2001-01-04 00:34:17 +01:00
|
|
|
|
2002-03-25 23:26:04 +01:00
|
|
|
post-patch:
|
2006-07-18 07:16:38 +02:00
|
|
|
@${PERL} -pi -e 's,/var/spool/mail,/var/mail,g' ${WRKSRC}/lib/Mail/Audit.pm
|
2002-03-25 23:26:04 +01:00
|
|
|
|
2001-08-03 06:51:53 +02:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
2006-07-18 07:16:38 +02:00
|
|
|
.for i in ${PORTDOCS}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/${i}
|
2001-08-03 06:51:53 +02:00
|
|
|
.endfor
|
|
|
|
.endif
|
2001-12-24 19:21:15 +01:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
2006-07-18 07:16:38 +02:00
|
|
|
.for i in ${PORTEXAMPLES}
|
|
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/bin/${i} ${EXAMPLESDIR}/${i}
|
2001-08-03 06:51:53 +02:00
|
|
|
.endfor
|
|
|
|
|
2001-01-04 00:34:17 +01:00
|
|
|
.include <bsd.port.mk>
|