1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/mail/p5-Sendmail-Milter/Makefile
Mark Linimon 0105d52fe9 Set to require perl built with threads to save from deprecation. I don't
know of any better way to detect this.

PR:		ports/104928
Submitted by:	marc@pilgerer.org (new maintainer)
2006-12-10 17:49:59 +00:00

32 lines
724 B
Makefile

# 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= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Sendmail
PKGNAMEPREFIX= p5-
MAINTAINER= marc@pilgerer.org
COMMENT= Module to write mail filters in Perl using sendmail's mail filter API
PERL_CONFIGURE= yes
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
.endif
.include <bsd.port.post.mk>