aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-W3C-LogValidator/Makefile
blob: aade6b40efebe625e4f6cfc9529ac6bdada4cff4 (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
# Created by: toni.viemero@iki.fi
# $FreeBSD$

PORTNAME=   W3C-LogValidator
PORTVERSION=    1.4
PORTEPOCH=  1
CATEGORIES= www perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

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

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

USES=       perl5
USE_PERL5=  configure

OPTIONS_DEFINE= EXAMPLES

.include <bsd.port.options.mk>

post-install:
    ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
    ${INSTALL_DATA} ${WRKSRC}/samples/NewModule.pm \
        ${STAGEDIR}${EXAMPLESDIR}/
    ${INSTALL_DATA} ${WRKSRC}/samples/NewOutputModule.pm \
        ${STAGEDIR}${EXAMPLESDIR}/
    ${INSTALL_DATA} ${WRKSRC}/samples/logprocess.conf \
        ${STAGEDIR}${EXAMPLESDIR}/

.include <bsd.port.mk>