summaryrefslogtreecommitdiffstats
path: root/www/p5-libwww/Makefile
blob: e3ad08ac5f4cc6722d115de698e4c7de4dc90b84 (plain)
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
54
55
56
57
58
59
60
61
62
63
64
# New ports collection makefile for:	p5-libwww
# http://www.linpro.no/lwp/
# Version required:                     5.*
# Date created:				September 30th 1996
# Whom:	      				James FitzGibbon <jfitz@FreeBSD.org>
#
# $FreeBSD$
#

DISTNAME=       libwww-perl-5.47
PKGNAME=        p5-libwww-5.47
CATEGORIES=     www perl5 devel
MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR=     LWP

MAINTAINER=	jfitz@FreeBSD.org

BUILD_DEPENDS=  ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Digest.pm:${PORTSDIR}/security/p5-Digest-MD5 \
		${PREFIX}/lib/perl5/site_perl/${PERL_VER}/URI.pm:${PORTSDIR}/net/p5-URI \
		${PREFIX}/lib/perl5/site_perl/${PERL_VER}/Net/FTP.pm:${PORTSDIR}/net/p5-Net \
		${PREFIX}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 \
		${PREFIX}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/HTML/Parser.pm:${PORTSDIR}/www/p5-HTML-Parser

USE_PERL5=	YES

MAN1=           lwp-download.1 \
		lwp-mirror.1 \
		lwp-request.1 \
		lwp-rget.1
MAN3=           Bundle::LWP.3 \
		File::Listing.3 \
		HTML::Form.3 \
		HTTP::Cookies.3 \
		HTTP::Daemon.3 \
		HTTP::Date.3 \
		HTTP::Headers.3 \
		HTTP::Headers::Util.3 \
		HTTP::Message.3 \
		HTTP::Negotiate.3 \
		HTTP::Request.3 \
		HTTP::Request::Common.3 \
		HTTP::Response.3 \
		HTTP::Status.3 \
		LWP.3 \
		LWP::Debug.3 \
		LWP::MediaTypes.3 \
		LWP::MemberMixin.3 \
		LWP::Protocol.3 \
		LWP::RobotUA.3 \
		LWP::Simple.3 \
		LWP::UserAgent.3 \
		WWW::RobotRules.3 \
		WWW::RobotRules::AnyDBM_File.3 \
		lwpcook.3

MAN3PREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}

do-configure:
		@ cd ${WRKSRC}; \
		${SETENV} ${MAKE_ENV} ${PERL} Makefile.PL PREFIX=${PREFIX} \
				     INSTALLMAN1DIR=${PREFIX}/man/man1 \
				     INSTALLSCRIPT=${PREFIX}/bin

.include <bsd.port.mk>
OpenPOWER on IntegriCloud