# $FreeBSD: ports/databases/ruby-dbi/Makefile.common,v 1.17 2003/01/14 10:06:00 knu Exp $

RUBY_DBI_PORTNAME=	dbi
# Don't forget to clear PORTREVISION's on update
RUBY_DBI_VERSION=	0.0.18
RUBY_DBI_PORTVERSION=	${RUBY_DBI_VERSION}
RUBY_DBI_MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
RUBY_DBI_MASTER_SITE_SUBDIR=	ruby-dbi
RUBY_DBI_DISTNAME=	ruby-${RUBY_DBI_PORTNAME}-all-${PORTVERSION}

RUBY_DBI_PORTDIR=	${PORTSDIR}/databases/ruby-${RUBY_DBI_PORTNAME}

RUBY_DBI_WRKSRC?=	${WRKDIR}/ruby-${RUBY_DBI_PORTNAME}-all

MD5_FILE?=		${RUBY_DBI_PORTDIR}/distinfo

.if ${PORTNAME} == dbi
RUBY_MODNAME?=		${RUBY_DBI_PORTNAME}
.else
RUBY_MODNAME?=		${RUBY_DBI_PORTNAME}/${PORTNAME}
.endif
