aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-WWW-Search/Makefile
blob: 8c05954224837bda2efb22b53cb90fd4feacb563 (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
# New ports collection makefile for:    p5-WWW-Search
# Date created:             June 26th 1997
# Whom:                     James FitzGibbon <jfitz@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   WWW-Search
PORTVERSION=    2.499
CATEGORIES= www perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= clsung@FreeBSD.org
COMMENT=    A perl5 module for WWW searches

RUN_DEPENDS=    ${SITE_PERL}/${PERL_ARCH}/File/Spec.pm:${PORTSDIR}/devel/p5-PathTools \
        ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp \
        ${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww \
        ${SITE_PERL}/HTML/TreeBuilder.pm:${PORTSDIR}/www/p5-HTML-Tree \
        ${SITE_PERL}/Date/Manip.pm:${PORTSDIR}/devel/p5-Date-Manip \
        ${SITE_PERL}/URI.pm:${PORTSDIR}/net/p5-URI \
        ${SITE_PERL}/MIME/Lite.pm:${PORTSDIR}/mail/p5-MIME-Lite \
        ${SITE_PERL}/Test/Inline.pm:${PORTSDIR}/devel/p5-Test-Inline \
        ${SITE_PERL}/User.pm:${PORTSDIR}/sysutils/p5-User \
        ${SITE_PERL}/Getopt/Long.pm:${PORTSDIR}/devel/p5-Getopt-Long \
        ${SITE_PERL}/LWP/UserAgent.pm:${PORTSDIR}/www/p5-libwww \
        p5-IO-Capture>0:${PORTSDIR}/devel/p5-IO-Capture \
        p5-Test-File>0:${PORTSDIR}/devel/p5-Test-File
BUILD_DEPENDS=  ${RUN_DEPENDS}

PERL_CONFIGURE= yes

MAN1=       AutoSearch.1 \
        WebSearch.1
MAN3=       WWW::Search.3 \
        WWW::SearchResult.3 \
        WWW::Search::Null.3 \
        WWW::Search::Null::Count.3 \
        WWW::Search::Null::Empty.3 \
        WWW::Search::Null::Error.3 \
        WWW::Search::Null::NoVersion.3 \
        WWW::Search::Result.3 \
        WWW::Search::Simple.3 \
        WWW::Search::Test.3

post-patch:
    ${FIND} ${WRKSRC} -name "*.pm" | ${XARGS} ${PERL} -pi.orig -e 's/\r//g'
    ${FIND} ${WRKSRC} -name "*.orig" -delete

.include <bsd.port.mk>