summaryrefslogtreecommitdiff
path: root/mail/p5-Sendmail-Milter/Makefile
blob: d51d727386a26a76b9694737a51b2b74b4f267ab (plain)
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:	Sendmail::Milter
# Date created:				25 March 2003
# Whom:					Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	Sendmail-Milter
PORTVERSION=	0.18
CATEGORIES=	mail perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	marc@pilgerer.org
COMMENT=	Module to write mail filters in Perl using sendmail's mail filter API

USES=		perl5
USE_PERL5=	configure

MAN3=		Sendmail::Milter.3

.include <bsd.port.pre.mk>

.if exists(${PERL5})
PERLTHREADS!=	${PERL5} -V:usethreads | ${AWK} '/define/ { print "define"; exit }'
.if ${PERLTHREADS} != "define"
IGNORE=	requires perl to be built with -DWITH_THREADS
.endif
.else
IGNORE=	requires an existing installation of perl, built with -DWITH_THREADS
.endif

.include <bsd.port.post.mk>