aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-Text-Query/Makefile
blob: 112270d4205a96fafd0bbd5e57efcbc3bf78acbe (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
# New ports collection makefile for:    textproc/p5-Text-Query
# Date created:             31 December 2000
# Whom:                 Anton Berezin <tobez@tobez.org>
#
# $FreeBSD$
#

PORTNAME=   Text-Query
PORTVERSION=    0.07
CATEGORIES= textproc perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Text
PKGNAMEPREFIX=  p5-

MAINTAINER= tobez@FreeBSD.org

PERL_CONFIGURE= yes

MAN3=       Text::Query.3 Text::Query::Build.3 \
        Text::Query::BuildAdvancedString.3 \
        Text::Query::BuildSimpleString.3 Text::Query::Optimize.3 \
        Text::Query::Parse.3 Text::Query::ParseAdvanced.3 \
        Text::Query::ParseSimple.3 Text::Query::Solve.3 \
        Text::Query::SolveAdvancedString.3 \
        Text::Query::SolveSimpleString.3
MANPREFIX=  ${PREFIX}/lib/perl5/${PERL_VERSION}

pre-patch:
    @${PERL} -pi -e 's/factor\(\$$self\)/\&factor(\$$self)/' \
        ${WRKSRC}/lib/Text/Query/ParseAdvanced.pm

.include <bsd.port.mk>