# New ports collection makefile for:	Tangram
# Date created:	   08 April 2002
# Whom:		   Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD: ports/databases/p5-Tangram/Makefile,v 1.2 2003/03/07 05:58:29 ade Exp $
#

PORTNAME=	Tangram
PORTVERSION=	2.04
CATEGORIES=	databases perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR=	Tangram
PKGNAMEPREFIX=	p5-

MAINTAINER=	skv@FreeBSD.org
COMMENT=	Orthogonal Object Persistence in Relational Databases

BUILD_DEPENDS=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Set/Object.pm:${PORTSDIR}/devel/p5-Set-Object \
		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
RUN_DEPENDS=	${BUILD_DEPENDS}

PERL_CONFIGURE=	yes

MANPREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3=		Tangram.3 Tangram::Array.3 Tangram::Core.3 Tangram::Cursor.3 \
		Tangram::DateTime.3 Tangram::Deploy.3 Tangram::Dialect.3 \
		Tangram::Expr.3 Tangram::FlatArray.3 Tangram::FlatHash.3 \
		Tangram::IntrArray.3 Tangram::IntrSet.3 Tangram::PerlDump.3 \
		Tangram::Ref.3 Tangram::Relational.3 \
		Tangram::Relational::Mappings.3 Tangram::Remote.3 \
		Tangram::Scalar.3 Tangram::Schema.3 Tangram::Set.3 \
		Tangram::Springfield.3 Tangram::Storage.3 Tangram::Sybase.3 \
		Tangram::Tour.3 Tangram::Type.3 Tangram::Type::Extending.3 \
		Tangram::mysql.3

.include <bsd.port.mk>
