# New ports collection makefile for:	p5-Net-OSCAR
# Date created:				26 Sep 2004
# Whom:					Kelly Cochran <kcochran@trolans.net>
#
# $FreeBSD: ports/net-im/p5-Net-OSCAR/Makefile,v 1.3 2006/06/15 01:13:31 aaron Exp $
#

PORTNAME=	Net-OSCAR
PORTVERSION=	1.925
CATEGORIES=	net-im perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR=	Net
PKGNAMEPREFIX=	p5-

MAINTAINER=	kcochran@trolans.net
COMMENT=	Perl extension for the AOL Instant Messenger OSCAR protocol

PERL_MODBUILD=	yes

MAN3=	Net::OSCAR.3 \
	Net::OSCAR::Buddylist.3 \
	Net::OSCAR::Callbacks.3 \
	Net::OSCAR::Common.3 \
	Net::OSCAR::Connection.3 \
	Net::OSCAR::Connection::Chat.3 \
	Net::OSCAR::Connection::Direct.3 \
	Net::OSCAR::Connection::Server.3 \
	Net::OSCAR::Constants.3 \
	Net::OSCAR::MethodInfo.3 \
	Net::OSCAR::Screenname.3 \
	Net::OSCAR::ServerCallbacks.3 \
	Net::OSCAR::TLV.3 \
	Net::OSCAR::Utility.3 \
	Net::OSCAR::XML.3 \
	Net::OSCAR::_BLInternal.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500800
BUILD_DEPENDS+=	${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
		${SITE_PERL}/${PERL_ARCH}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils
RUN_DEPENDS+=	${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
		${SITE_PERL}/${PERL_ARCH}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils
.if ${PERL_LEVEL} < 500601
IGNORE=	requires perl 5.6.1+, install lang/perl5.8 and try again
.endif
.endif

.include <bsd.port.post.mk>
