# New ports collection makefile for:	sqlite3-ruby
# Date created:		26 June 2003
# Whom:			Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD: ports/databases/rubygem-sqlite3/Makefile,v 1.19 2010/01/12 07:18:54 pgollucci Exp $
#

PORTNAME=	sqlite3
PORTVERSION=	1.2.5
CATEGORIES=	databases rubygems
MASTER_SITES=	RUBYFORGE/sqlite-ruby
DISTNAME=	${PORTNAME}-ruby-${PORTVERSION}

MAINTAINER=	ruby@FreeBSD.org
COMMENT=	Ruby interface to the SQLite DB engine version 3

BUILD_DEPENDS=	swig:${PORTSDIR}/devel/swig13
LIB_DEPENDS=	sqlite3.8:${PORTSDIR}/databases/sqlite3

USE_RUBY=	yes
USE_RUBYGEMS=	yes
CONFIGURE_ARGS+=--with-sqlite3-dir=${LOCALBASE}
GEM_NAME=	${DISTNAME}
RUBYGEM_AUTOPLIST=	yes

.include <bsd.port.mk>
