# New ports collection makefile for:	p5-Yahoo-BBAuth
# Date created:		2007-07-06
# Whom:			Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD: ports/security/p5-Yahoo-BBAuth/Makefile,v 1.2 2008/05/19 13:12:02 araujo Exp $
#

PORTNAME=	Yahoo-BBAuth
PORTVERSION=	0.50
CATEGORIES=	security www perl5
MASTER_SITES=	CPAN
MASTER_SITE_SUBDIR=	Yahoo
PKGNAMEPREFIX=	p5-

MAINTAINER=	gslin@gslin.org
COMMENT=	Perl interface to the Yahoo! Browser-Based Authentication

RUN_DEPENDS=	${SITE_PERL}/Class/Accessor.pm:${PORTSDIR}/devel/p5-Class-Accessor \
		${SITE_PERL}/JSON.pm:${PORTSDIR}/converters/p5-JSON \
		${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww

PERL_CONFIGURE=	yes

MAN3=		Yahoo::BBAuth.3

post-install:
	${MKDIR} ${WWWDIR}/cgi-bin
	${INSTALL_SCRIPT} ${WRKSRC}/eg/* ${WWWDIR}/cgi-bin

.include <bsd.port.mk>
