source: trunk/dports/ruby/rb-sqlite/Portfile @ 13471

Last change on this file since 13471 was 13471, checked in by rshaw, 14 years ago

No longer maintaining these ports.

  • Property svn:eol-style set to native
File size: 1.3 KB
Line 
1# $Id: Portfile,v 1.18 2005/08/11 21:33:35 rshaw Exp $
2PortSystem              1.0
3PortGroup               ruby 1.0
4
5ruby.setup              {sqlite sqlite-ruby} 2.2.2 basic_install.rb \
6                                {TODO ChangeLog api doc} \
7                                rubyforge:1901
8maintainers             darwinports@opendarwin.org
9description             Interface to the SQLite DB engine from Ruby
10long_description        Provides an interface for the SQLite DB engine. This \
11                                        differs from the 'ruby-sqlite' project (also on RAA) \
12                                        in that it is more complete, and from the ruby DBI \
13                                        version of SQLite in that it is SQLite specific, so \
14                                        you can do things that would otherwise be more \
15                                        difficult via DBI. If you want portability between \
16                                        backends, use DBI. If you want ease of use with \
17                                        SQLite, use this. \
18                                        Note that this module is NOT compatible with SQLite3.
19categories-append       databases
20use_bzip2               yes
21checksums               md5 274e30cab90f4941984ea5b3273ef058
22platforms               darwin
23
24depends_lib-append              lib:libsqlite.0:sqlite
25
26post-patch {
27        reinplace "s|ruby extconf.rb|${ruby.bin} -rvendor-specific extconf.rb|" \
28                ${worksrcpath}/install.rb
29        reinplace "s|make install|& DESTDIR=${destroot}|" \
30                ${worksrcpath}/install.rb
31        reinplace "s|make|& RUBY=${ruby.bin}|" \
32                ${worksrcpath}/install.rb
33}
34
35test.run                yes
36test.dir                ${worksrcpath}/test
37test.cmd                ${ruby.bin}
38test.target             tests.rb
39
Note: See TracBrowser for help on using the repository browser.