aboutsummaryrefslogtreecommitdiffstats
path: root/databases/ruby-dbi/Makefile.common
blob: 9812ce187ff32150c16815a5314a8373d8cf124c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# $FreeBSD$

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

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

RUBY_DBI_WRKSRC?=   ${WRKDIR}/ruby-dbi

MD5_FILE?=      ${RUBY_DBI_PORTDIR}/distinfo

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