# New ports collection makefile for:    p5-DBD-Sybase
# Date created:				May 10th 2001
# Whom:	      				Sheldon Hearn <sheldonh@FreeBSD.org>
#
# $FreeBSD: ports/databases/p5-DBD-Sybase/Makefile,v 1.6 2003/03/07 05:58:28 ade Exp $
#

PORTNAME=	DBD-Sybase
PORTVERSION=	0.94
CATEGORIES=	databases perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR=	DBD
PKGNAMEPREFIX=	p5-

MAINTAINER=	sheldonh@FreeBSD.org
COMMENT=	A Sybase DBI driver for Perl 5

BUILD_DEPENDS=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
LIB_DEPENDS=	ct.0:${PORTSDIR}/databases/freetds \
		intl.4:${PORTSDIR}/devel/gettext
RUN_DEPENDS=	${BUILD_DEPENDS}

PERL_CONFIGURE=	yes
CONFIGURE_ENV+=	SYBASE=${LOCALBASE}

MANPREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3=		DBD::Sybase.3

.include <bsd.port.mk>
