2001-05-20 00:32:07 +02:00
|
|
|
# New ports collection makefile for: devel/p5-Log-Dispatch
|
|
|
|
# Date created: 17 May 2001
|
|
|
|
# Whom: Anton Berezin <tobez@tobez.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= Log-Dispatch
|
2005-08-30 13:44:17 +02:00
|
|
|
PORTVERSION= 2.11
|
2001-05-20 00:32:07 +02:00
|
|
|
CATEGORIES= devel perl5
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
|
|
MASTER_SITE_SUBDIR= Log
|
|
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
|
2004-03-10 19:28:24 +01:00
|
|
|
MAINTAINER= mat@FreeBSD.org
|
2003-03-05 21:13:05 +01:00
|
|
|
COMMENT= A suite of OO modules for logging messages to multiple outputs
|
2001-05-20 00:32:07 +02:00
|
|
|
|
2003-03-05 21:13:05 +01:00
|
|
|
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Params/Validate.pm:${PORTSDIR}/devel/p5-Params-Validate
|
2001-10-30 13:22:06 +01:00
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
2001-05-20 00:32:07 +02:00
|
|
|
|
2004-03-10 19:28:24 +01:00
|
|
|
PERL_MODBUILD= yes
|
2001-05-20 00:32:07 +02:00
|
|
|
|
|
|
|
MAN3= Log::Dispatch.3 \
|
|
|
|
Log::Dispatch::ApacheLog.3 \
|
|
|
|
Log::Dispatch::Base.3 \
|
|
|
|
Log::Dispatch::Email.3 \
|
|
|
|
Log::Dispatch::Email::MIMELite.3 \
|
|
|
|
Log::Dispatch::Email::MailSend.3 \
|
2002-07-01 06:51:07 +02:00
|
|
|
Log::Dispatch::Email::MailSender.3 \
|
2001-05-20 00:32:07 +02:00
|
|
|
Log::Dispatch::Email::MailSendmail.3 \
|
|
|
|
Log::Dispatch::File.3 \
|
2004-03-10 19:28:24 +01:00
|
|
|
Log::Dispatch::File::Locked.3 \
|
2001-05-20 00:32:07 +02:00
|
|
|
Log::Dispatch::Handle.3 \
|
|
|
|
Log::Dispatch::Output.3 \
|
|
|
|
Log::Dispatch::Screen.3 \
|
|
|
|
Log::Dispatch::Syslog.3
|
|
|
|
|
2004-10-25 13:47:19 +02:00
|
|
|
OPTIONS= APACHELOG "Apache::Log support" off \
|
|
|
|
EMAIL_MIMELITE "MIME::Lite support" off \
|
|
|
|
EMAIL_MAILSEND "Mail::Send support" off \
|
|
|
|
EMAIL_MAILSENDMAIL "Mail::Sendmail support" on \
|
|
|
|
MAIL_SENDER "Mail::Sender support" off
|
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
PORTDOCS= Changes README
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
|
|
|
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
|
|
|
|
.endif
|
2001-05-20 00:32:07 +02:00
|
|
|
|
2004-09-26 03:58:58 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2004-10-25 13:47:19 +02:00
|
|
|
.if defined(WITH_APACHELOG)
|
|
|
|
.if defined(WITH_APACHE2)
|
2005-05-17 19:18:23 +02:00
|
|
|
BROKEN= Broken due the new mod_perl2 API
|
2004-10-25 13:47:19 +02:00
|
|
|
BUILD_DEPENDS+= ${LOCALBASE}/libexec/apache2/mod_perl.so:${PORTSDIR}/www/mod_perl2
|
|
|
|
.else
|
|
|
|
BUILD_DEPENDS+= ${LOCALBASE}/libexec/apache/libperl.so:${PORTSDIR}/www/mod_perl
|
|
|
|
.endif
|
2004-09-26 03:58:58 +02:00
|
|
|
.endif
|
|
|
|
|
2004-10-25 13:47:19 +02:00
|
|
|
.if defined(WITH_EMAIL_MIMELITE)
|
|
|
|
BUILD_DEPENDS+= ${SITE_PERL}/MIME/Lite.pm:${PORTSDIR}/mail/p5-MIME-Lite
|
|
|
|
.endif
|
2001-05-20 00:32:07 +02:00
|
|
|
|
2004-10-25 13:47:19 +02:00
|
|
|
.if defined(WITH_EMAIL_MAILSEND)
|
|
|
|
BUILD_DEPENDS+= ${SITE_PERL}/Mail/Send.pm:${PORTSDIR}/mail/p5-Mail-Tools
|
|
|
|
.endif
|
|
|
|
|
2004-12-08 11:29:37 +01:00
|
|
|
.if !defined(WITHOUT_EMAIL_MAILSENDMAIL)
|
2004-10-25 13:47:19 +02:00
|
|
|
BUILD_DEPENDS+= ${SITE_PERL}/Mail/Sendmail.pm:${PORTSDIR}/mail/p5-Mail-Sendmail
|
|
|
|
.endif
|
2001-05-20 00:32:07 +02:00
|
|
|
|
2004-10-25 13:47:19 +02:00
|
|
|
.if defined(WITH_MAIL_SENDER)
|
|
|
|
BUILD_DEPENDS+= ${SITE_PERL}/Mail/Sender.pm:${PORTSDIR}/mail/p5-Mail-Sender
|
2001-05-20 00:32:07 +02:00
|
|
|
.endif
|
|
|
|
|
2004-09-26 03:58:58 +02:00
|
|
|
.include <bsd.port.post.mk>
|