summaryrefslogtreecommitdiff
path: root/www/p5-libwww/Makefile
blob: 49c563a65a8dc724438943ac7066101f0532c78e (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
# New ports collection makefile for:	p5-libwww
# Version required:			5.03
# Date created:				September 30th 1996
# Whom:	      				James FitzGibbon <jfitz@FreeBSD.org>
#
#   $Id: Makefile,v 1.2 1996/10/24 09:59:16 jfitz Exp $
#

DISTNAME=	libwww-perl-5.03
PKGNAME=	p5-libwww-5.03
CATEGORIES=	www
MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR=	URI

MAINTAINER=	jfitz@FreeBSD.ORG

BUILD_DEPENDS= 	perl5.003:${PORTSDIR}/lang/perl5 \
		${PREFIX}/lib/perl5/site_perl/MD5.pm:${PORTSDIR}/security/p5-MD5 \
		${PREFIX}/lib/perl5/site_perl/Net/FTP.pm:${PORTSDIR}/net/p5-Net
RUN_DEPENDS=	perl5.003:${PORTSDIR}/lang/perl5

MAN3=		File::CounterFile.3 File::Listing.3 Font::AFM.3 \
		HTML::AsSubs.3 HTML::Element.3 HTML::Entities.3 \
		HTML::FormatPS.3 HTML::FormatText.3 HTML::Formatter.3 \
		HTML::HeadParser.3 HTML::LinkExtor.3 HTML::Parse.3 \
		HTML::Parser.3 HTML::TreeBuilder.3 HTTP::Date.3 \
		HTTP::Headers.3 HTTP::Message.3 HTTP::Negotiate.3 \
		HTTP::Request.3 HTTP::Response.3 HTTP::Status.3 LWP.3 \
		LWP::Debug.3 LWP::IO.3 LWP::MediaTypes.3 \
		LWP::MemberMixin.3 LWP::Protocol.3 LWP::RobotUA.3 \
		LWP::Simple.3 LWP::Socket.3 LWP::TkIO.3 LWP::UserAgent.3 \
		MIME::Base64.3 MIME::QuotedPrint.3 URI::Escape.3 \
		URI::URL.3 WWW::RobotRules.3 \
		WWW::RobotRules::AnyDBM_File.3 lwpcook.3
MANPREFIX=	${PREFIX}/lib/perl5

do-configure:
		@ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/perl Makefile.PL

post-install:
.if !defined(NOMANCOMPRESS)
		@ for file in lwp-mirror lwp-request lwp-rget; do \
			gzip -9nf ${PREFIX}/man/man1/$$file.1; \
		done
.endif

.include <bsd.port.mk>