# New ports collection makefile for:	p5-Algorithm-SVMLight
# Date created:		2006-07-18
# Whom:			Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD: ports/science/p5-Algorithm-SVMLight/Makefile,v 1.1 2006/08/03 07:29:03 clsung Exp $
#

PORTNAME=	Algorithm-SVMLight
PORTVERSION=	0.05
CATEGORIES=	science perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR=	Algorithm
PKGNAMEPREFIX=	p5-

MAINTAINER=	gslin@gslin.org
COMMENT=	Perl interface to SVMLight Machine-Learning Package

BUILD_DEPENDS=	svmlight>=6.01_2:${PORTSDIR}/science/svmlight
LIB_DEPENDS=	svmlight:${PORTSDIR}/science/svmlight

PERL_MODBUILD=	yes

MAN3=		Algorithm::SVMLight.3

post-patch:
	@${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE},g" \
		${WRKSRC}/Build.PL

.include <bsd.port.mk>
