freebsd-ports/www/p5-libwww/Makefile
2012-02-29 15:34:40 +00:00

66 lines
1.8 KiB
Makefile

# New ports collection makefile for: p5-libwww
# Date created: September 30th 1996
# Whom: James FitzGibbon <jfitz@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= libwww
PORTVERSION= 6.04
CATEGORIES= www devel perl5
MASTER_SITES= CPAN/LWP
PKGNAMEPREFIX= p5-
DISTNAME= libwww-perl-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Perl5 library for WWW access
BUILD_DEPENDS= p5-Authen-NTLM>=1.02:${PORTSDIR}/security/p5-Authen-NTLM \
p5-Encode-Locale>=0:${PORTSDIR}/converters/p5-Encode-Locale \
p5-File-Listing>=6:${PORTSDIR}/sysutils/p5-File-Listing \
p5-HTML-Parser>=0:${PORTSDIR}/www/p5-HTML-Parser \
p5-HTTP-Cookies>=6:${PORTSDIR}/www/p5-HTTP-Cookies \
p5-HTTP-Daemon>=6:${PORTSDIR}/www/p5-HTTP-Daemon \
p5-HTTP-Date>=6:${PORTSDIR}/www/p5-HTTP-Date \
p5-HTTP-Message>=6:${PORTSDIR}/www/p5-HTTP-Message \
p5-HTTP-Negotiate>=6:${PORTSDIR}/www/p5-HTTP-Negotiate \
p5-LWP-MediaTypes>=6:${PORTSDIR}/www/p5-LWP-MediaTypes \
p5-Net-HTTP>=6:${PORTSDIR}/net/p5-Net-HTTP \
p5-URI>=1.10:${PORTSDIR}/net/p5-URI \
p5-WWW-RobotRules>=6:${PORTSDIR}/www/p5-WWW-RobotRules
RUN_DEPENDS:= ${BUILD_DEPENDS}
OPTIONS= SSL "Enable https support" off
CONFIGURE_ARGS= --aliases
PERL_CONFIGURE= yes
MAN1= GET.1 \
HEAD.1 \
POST.1 \
lwp-download.1 \
lwp-mirror.1 \
lwp-request.1 \
lwp-dump.1
MAN3= LWP.3 \
LWP::Authen::Ntlm.3 \
LWP::ConnCache.3 \
LWP::Debug.3 \
LWP::MemberMixin.3 \
LWP::Protocol.3 \
LWP::RobotUA.3 \
LWP::Simple.3 \
LWP::UserAgent.3 \
lwpcook.3 \
lwptut.3
.include <bsd.port.options.mk>
.if defined(WITH_SSL)
BUILD_DEPENDS+= p5-Crypt-SSLeay>=0:${PORTSDIR}/security/p5-Crypt-SSLeay \
p5-LWP-Protocol-https>=0:${PORTSDIR}/www/p5-LWP-Protocol-https
RUN_DEPENDS+= p5-Crypt-SSLeay>=0:${PORTSDIR}/security/p5-Crypt-SSLeay \
p5-LWP-Protocol-https>=0:${PORTSDIR}/www/p5-LWP-Protocol-https
.endif
.include <bsd.port.mk>