freebsd-ports/mail/p5-Sendmail-Milter/Makefile
Baptiste Daroussin b8b0a09b5e Support stage
Fix test for perl threads
2014-04-08 07:10:52 +00:00

27 lines
614 B
Makefile

# Created by: 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
.include <bsd.port.pre.mk>
.if exists(${PERL5})
PERLTHREADS!= ${PERL} -V::usethreads
.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>