# ex:ts=8
# Ports collection makefile for:	tdb
# Date created:			Oct 12, 2002
# Whom:				ijliao
#
# $FreeBSD: ports/databases/tdb/Makefile,v 1.4 2003/02/20 17:00:24 knu Exp $
#

PORTNAME=	tdb
PORTVERSION=	1.0.6
CATEGORIES=	databases
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Trivial Database

LIB_DEPENDS=	gdbm:${PORTSDIR}/databases/gdbm

USE_LIBTOOL=	yes
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"
INSTALLS_SHLIB=	yes

MAN3=	tdb.3 tdb_chainlock.3 tdb_close.3 tdb_delete.3 tdb_error.3 \
	tdb_exists.3 tdb_fetch.3 tdb_firstkey.3 tdb_open.3 tdb_store.3 \
	tdb_traverse.3

.include <bsd.port.mk>
