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

Last change on this file since 10662 was 10662, checked in by rshaw, 15 years ago

Added description line about sqlite3.
Adjusted dependency to require sqlite 2.x properly (so it does not
pick up sqlite3 instead).

  • Property svn:eol-style set to native
File size: 1.3 KB
Line 
1# $Id: Portfile,v 1.17 2005/01/27 01:02:47 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             rshaw@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.