summaryrefslogtreecommitdiff
path: root/databases/ruby-sqlite3/Makefile
blob: d79cbbc35f6cd13e9d8a3d887d535ea36c9711a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $NetBSD: Makefile,v 1.2 2006/04/05 15:18:34 minskim Exp $

DISTNAME=	sqlite3-ruby-1.1.0
PKGNAME=	${RUBY_PKGPREFIX}-${DISTNAME:S/-ruby//}
PKGREVISION=	1
CATEGORIES=	databases ruby
MASTER_SITES=	http://rubyforge.org/frs/download.php/3089/
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	obata@lins.jp
HOMEPAGE=	http://sqlite-ruby.rubyforge.org/
COMMENT=	Ruby interface for the SQLite database engine

RUBY_HAS_ARCHLIB=	yes
USE_RUBY_SETUP=		yes

DOCS=	ChangeLog LICENSE README

.include "../../databases/sqlite3/buildlink3.mk"
.include "../../devel/swig/buildlink3.mk"
.include "../../lang/ruby/modules.mk"

post-install:
	${INSTALL_DATA_DIR} ${RUBY_DOCDIR:Q}/sqlite3/api
.for f in ${DOCS}
	${INSTALL_DATA} ${WRKSRC:Q}/${f:Q} ${RUBY_DOCDIR:Q}/sqlite3/
.endfor
	cd ${WRKSRC:Q}/doc && ${PAX} -rw -pp * ${RUBY_DOCDIR:Q}/sqlite3
	cd ${WRKSRC:Q}/api && ${PAX} -rw -pp * ${RUBY_DOCDIR:Q}/sqlite3/api

.include "../../mk/bsd.pkg.mk"