2013-09-20 21:59:12 +02:00
|
|
|
# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
|
2003-04-01 14:32:57 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= Sendmail-Milter
|
|
|
|
PORTVERSION= 0.18
|
|
|
|
CATEGORIES= mail perl5
|
2008-04-17 16:30:31 +02:00
|
|
|
MASTER_SITES= CPAN
|
2003-04-01 14:32:57 +02:00
|
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
|
2006-12-10 18:49:59 +01:00
|
|
|
MAINTAINER= marc@pilgerer.org
|
|
|
|
COMMENT= Module to write mail filters in Perl using sendmail's mail filter API
|
2003-05-07 02:12:29 +02:00
|
|
|
|
2013-09-15 10:15:41 +02:00
|
|
|
USES= perl5
|
|
|
|
USE_PERL5= configure
|
2003-04-01 14:32:57 +02:00
|
|
|
|
|
|
|
MAN3= Sendmail::Milter.3
|
|
|
|
|
2013-09-20 21:59:12 +02:00
|
|
|
NO_STAGE= yes
|
2006-12-10 18:49:59 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if exists(${PERL5})
|
2013-10-26 23:33:23 +02:00
|
|
|
PERLTHREADS!= ${PERL5} -V:usethreads | ${AWK} '/define/ { print "define"; exit } END { exit 1 }' || ${ECHO_CMD}
|
2006-12-10 18:49:59 +01:00
|
|
|
.if ${PERLTHREADS} != "define"
|
|
|
|
IGNORE= requires perl to be built with -DWITH_THREADS
|
|
|
|
.endif
|
2007-01-27 00:46:47 +01:00
|
|
|
.else
|
|
|
|
IGNORE= requires an existing installation of perl, built with -DWITH_THREADS
|
2006-12-10 18:49:59 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|