1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/mail/p5-Sendmail-Milter/Makefile
Marcelo Araujo 4aaab89f57 - Take advantage of CPAN macro from bsd.sites.mk, change ${MASTER_SITE_PERL_CPAN} to CPAN.
PR:		ports/122674
Submitted by:	Philip M. Gollucci <pgollucci@p6m7g8.com>
Reworked by:	araujo (myself)
Approved by:	portmgr (pav)
2008-04-17 14:30:31 +00:00

33 lines
758 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= CPAN
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
.else
IGNORE= requires an existing installation of perl, built with -DWITH_THREADS
.endif
.include <bsd.port.post.mk>