blob: 6335169c349060d38e58be675ac4393e2ec415a2 (
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
|
# $NetBSD: Makefile,v 1.4 2007/04/01 09:10:34 obache Exp $
DISTNAME= sqlite3-ruby-1.2.1
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/-ruby//}
CATEGORIES= databases ruby
MASTER_SITES= http://rubyforge.org/frs/download.php/17096/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= obache@NetBSD.org
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 "../../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"
|