blob: ffb83e3e8c8c3efe9d023f72b0002b6c8e6856b4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
# Created by: Anton Berezin <tobez@tobez.org>
# $FreeBSD$
PORTNAME= Log-Dispatch
PORTVERSION= 2.41
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Suite of OO modules for logging messages to multiple outputs
LICENSE= ART20
BUILD_DEPENDS= p5-Class-Load>=0:${PORTSDIR}/devel/p5-Class-Load \
p5-Dist-CheckConflicts>=0.02:${PORTSDIR}/devel/p5-Dist-CheckConflicts \
p5-Params-Validate>=0.15:${PORTSDIR}/devel/p5-Params-Validate
RUN_DEPENDS:= ${BUILD_DEPENDS}
OPTIONS_DEFINE= APACHELOG MIMELITE MAILSEND MAILSENDER MAILSENDMAIL DOCS
OPTIONS_DEFAULT=MAILSENDMAIL
APACHELOG_DESC= Apache::Log support
MIMELITE_DESC= MIME::Lite support
MAILSEND_DESC= Mail::Send support
MAILSENDER_DESC= Mail::Sender support
MAILSENDMAIL_DESC= Mail::Sendmail support
USES= perl5
USE_PERL5= configure
MAN3= Log::Dispatch.3 \
Log::Dispatch::ApacheLog.3 \
Log::Dispatch::Base.3 \
Log::Dispatch::Code.3 \
Log::Dispatch::Conflicts.3 \
Log::Dispatch::Email.3 \
Log::Dispatch::Email::MIMELite.3 \
Log::Dispatch::Email::MailSend.3 \
Log::Dispatch::Email::MailSender.3 \
Log::Dispatch::Email::MailSendmail.3 \
Log::Dispatch::File.3 \
Log::Dispatch::File::Locked.3 \
Log::Dispatch::Handle.3 \
Log::Dispatch::Null.3 \
Log::Dispatch::Output.3 \
Log::Dispatch::Screen.3 \
Log::Dispatch::Syslog.3
PORTDOCS= Changes README
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MAPACHELOG}
RUN_DEPENDS+= ${APACHE_PKGNAMEPREFIX}mod_perl2>=0:${PORTSDIR}/www/mod_perl2
USE_APACHE_RUN= 22+
.endif
.if ${PORT_OPTIONS:MMIMELITE}
RUN_DEPENDS+= p5-MIME-Lite>=0:${PORTSDIR}/mail/p5-MIME-Lite
.endif
.if ${PORT_OPTIONS:MMAILSEND}
RUN_DEPENDS+= p5-Mail-Tools>=0:${PORTSDIR}/mail/p5-Mail-Tools
.endif
.if ${PORT_OPTIONS:MMAILSENDER}
RUN_DEPENDS+= p5-Mail-Sender>=0:${PORTSDIR}/mail/p5-Mail-Sender
.endif
.if ${PORT_OPTIONS:MMAILSENDMAIL}
RUN_DEPENDS+= p5-Mail-Sendmail>=0:${PORTSDIR}/mail/p5-Mail-Sendmail
.endif
post-install:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}/
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.endif
.include <bsd.port.mk>
|