aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Log-Log4perl/Makefile
blob: da9dd8de7b6fe1bcae30bf548fed89b21d172898 (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
# New ports collection makefile for:    p5-Log-Log4perl
# Date created:             Sat Oct 19 11:22:09 CEST 2002
# Whom:                 Lars Thegler <lars@thegler.dk>
#
# $FreeBSD$
#

PORTNAME=   Log-Log4perl
PORTVERSION=    1.04
CATEGORIES= devel perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Log
PKGNAMEPREFIX=  p5-

MAINTAINER= lth@FreeBSD.org
COMMENT=    Log4j implementation for Perl

BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable \
        ${SITE_PERL}/${PERL_ARCH}/File/Spec.pm:${PORTSDIR}/devel/p5-PathTools
RUN_DEPENDS=    ${BUILD_DEPENDS}

PERL_CONFIGURE= yes

MAN3=       Log::Log4perl.3 \
        Log::Log4perl::Appender.3 \
        Log::Log4perl::Appender::Buffer.3 \
        Log::Log4perl::Appender::DBI.3 \
        Log::Log4perl::Appender::File.3 \
        Log::Log4perl::Appender::Limit.3 \
        Log::Log4perl::Appender::RRDs.3 \
        Log::Log4perl::Appender::Screen.3 \
        Log::Log4perl::Appender::ScreenColoredLevels.3 \
        Log::Log4perl::Appender::Socket.3 \
        Log::Log4perl::Appender::String.3 \
        Log::Log4perl::Appender::Synchronized.3 \
        Log::Log4perl::Appender::TestArrayBuffer.3 \
        Log::Log4perl::Appender::TestBuffer.3 \
        Log::Log4perl::Appender::TestFileCreeper.3 \
        Log::Log4perl::Config.3 \
        Log::Log4perl::Config::BaseConfigurator.3 \
        Log::Log4perl::Config::DOMConfigurator.3 \
        Log::Log4perl::Config::PropertyConfigurator.3 \
        Log::Log4perl::Config::Watch.3 \
        Log::Log4perl::DateFormat.3 \
        Log::Log4perl::FAQ.3 \
        Log::Log4perl::Filter.3 \
        Log::Log4perl::Filter::Boolean.3 \
        Log::Log4perl::Filter::LevelMatch.3 \
        Log::Log4perl::Filter::LevelRange.3 \
        Log::Log4perl::Filter::StringMatch.3 \
        Log::Log4perl::JavaMap.3 \
        Log::Log4perl::JavaMap::ConsoleAppender.3 \
        Log::Log4perl::JavaMap::FileAppender.3 \
        Log::Log4perl::JavaMap::JDBCAppender.3 \
        Log::Log4perl::JavaMap::NTEventLogAppender.3 \
        Log::Log4perl::JavaMap::RollingFileAppender.3 \
        Log::Log4perl::JavaMap::SyslogAppender.3 \
        Log::Log4perl::JavaMap::TestBuffer.3 \
        Log::Log4perl::Layout.3 \
        Log::Log4perl::Layout::NoopLayout.3 \
        Log::Log4perl::Layout::PatternLayout.3 \
        Log::Log4perl::Layout::SimpleLayout.3 \
        Log::Log4perl::Level.3 \
        Log::Log4perl::Logger.3 \
        Log::Log4perl::MDC.3 \
        Log::Log4perl::NDC.3 \
        Log::Log4perl::Util.3

.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} == 500602
EXTRA_PATCHES=  ${FILESDIR}/500602-patch-lib__Log__Log4perl__Config__DOMConfigurator.pm

post-patch:
    ${RM} ${WRKSRC}/lib/Log/Log4perl/Config/DOMConfigurator.pm.orig
.endif
.include <bsd.port.post.mk>