aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-CSS-SAC/Makefile
blob: 2a9b0a24c74c2cc51bc6947170cf79b77f22d87b (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
# New ports collection makefile for:    CSS-SAC
# Date created:    07 July 2002
# Whom:        Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD$
#

PORTNAME=   CSS-SAC
PORTVERSION=    0.08
PORTREVISION=   1
CATEGORIES= textproc perl5 www
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= ports@FreeBSD.org
COMMENT=    SAC CSS (Simple API for CSS) parser

RUN_DEPENDS=    p5-Class-ArrayObjects>=0.04:${PORTSDIR}/devel/p5-Class-ArrayObjects
BUILD_DEPENDS=  ${RUN_DEPENDS}

PERL_CONFIGURE= yes

MAN3=       CSS::SAC.3 CSS::SAC::Condition.3 \
        CSS::SAC::Condition::Attribute.3 \
        CSS::SAC::Condition::Combinator.3 \
        CSS::SAC::Condition::Content.3 CSS::SAC::Condition::Lang.3 \
        CSS::SAC::Condition::Negative.3 \
        CSS::SAC::Condition::Positional.3 CSS::SAC::ConditionFactory.3 \
        CSS::SAC::LexicalUnit.3 CSS::SAC::Selector.3 \
        CSS::SAC::Selector::CharacterData.3 \
        CSS::SAC::Selector::Conditional.3 \
        CSS::SAC::Selector::Descendant.3 CSS::SAC::Selector::Element.3 \
        CSS::SAC::Selector::Negative.3 \
        CSS::SAC::Selector::ProcessingInstruction.3 \
        CSS::SAC::Selector::Sibling.3 CSS::SAC::Selector::Simple.3 \
        CSS::SAC::SelectorFactory.3 CSS::SAC::SelectorList.3 \
        CSS::SAC::TestWriter.3 CSS::SAC::Writer.3

# Bareword "_out_" not allowed while "strict subs"
post-patch:
    @${REINPLACE_CMD} -e "s,_out_,'_out_',g" ${WRKSRC}/lib/CSS/SAC/TestWriter.pm
    @${FIND} ${WRKSRC} -name "*.bak" -delete

.include <bsd.port.mk>