aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-W3C-LogValidator/Makefile
blob: 537b7e99e7d2b55f16a241d5096e6ef457fff6a3 (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
# New ports collection makefile for:    p5-W3C-LogValidator
# Date created:         Jun 24, 2004
# Whom:             toni.viemero@iki.fi
#
# $FreeBSD$
#

PORTNAME=   W3C-LogValidator
PORTVERSION=    1.06
CATEGORIES= www perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= W3C
PKGNAMEPREFIX=  p5-

MAINTAINER= toni.viemero@iki.fi
COMMENT=    A comprehensive validation tool for webmasters and web developers

BUILD_DEPENDS=  ${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww \
        ${SITE_PERL}/URI/Escape.pm:${PORTSDIR}/net/p5-URI \
        ${SITE_PERL}/Config/General.pm:${PORTSDIR}/devel/p5-Config-General \
        ${SITE_PERL}/Mail/Sendmail.pm:${PORTSDIR}/mail/p5-Mail-Sendmail \
        ${SITE_PERL}/WebService/Validator/CSS/W3C.pm:${PORTSDIR}/www/p5-webservice-validator-css-w3c \
        ${SITE_PERL}/WebService/Validator/HTML/W3C.pm:${PORTSDIR}/www/p5-webservice-validator-html-w3c \
        ${LOCALBASE}/bin/checklink:${PORTSDIR}/www/p5-W3C-LinkChecker
RUN_DEPENDS=    ${BUILD_DEPENDS}

PERL_CONFIGURE= yes

MAN3=   W3C::LogValidator.3 \
    W3C::LogValidator::Basic.3 \
    W3C::LogValidator::CSSValidator.3 \
    W3C::LogValidator::Config.3 \
    W3C::LogValidator::HTMLValidator.3 \
    W3C::LogValidator::Output::HTML.3 \
    W3C::LogValidator::Output::Mail.3 \
    W3C::LogValidator::Output::Raw.3 \
    W3C::LogValidator::SurveyEngine.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500802 # inherited from www/p5-webservice-validator-css-w3c
IGNORE= requires at least Perl 5.8.2.  Please install lang/perl5.8 and try again
.endif

.ifndef (NOPORTDOCS)
post-install:
    @${MKDIR} ${EXAMPLESDIR}
    @${INSTALL_DATA} ${WRKSRC}/samples/NewModule.pm ${EXAMPLESDIR}
    @${INSTALL_DATA} ${WRKSRC}/samples/NewOutputModule.pm ${EXAMPLESDIR}
    @${INSTALL_DATA} ${WRKSRC}/samples/logprocess.conf ${EXAMPLESDIR}
.endif

.include <bsd.port.post.mk>