source: trunk/dports/math/octave-database/Portfile @ 58230

Last change on this file since 58230 was 58230, checked in by ryandesign@…, 11 years ago

rewrite mysql5 dependency so mysql5-devel can satisfy it

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 58230 2009-09-24 16:45:22Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                octave-database
6version             1.0.4
7categories          math science
8platforms           darwin
9maintainers         and.damore alakazam
10description         These are bindings that allow SQL queries and other database \
11                    operations on postgres, mysql, sqlite, and standard ODBC \
12                    databases from within Octave.
13long_description    ${description}  A simplified interface that is uniform \
14                    across all database types is provided, as well as the \
15                    entire C client API for each database (libpq, libmysqlclient, etc).
16
17homepage            http://octave.sourceforge.net/
18master_sites        sourceforge:octave
19
20distname            database-$version
21
22checksums           md5     3de89d16ad1c5945ebcb90f8759803b0 \
23                    sha1    ee62edd5c213bc18a9be0a5696ab418b1887b2de \
24                    rmd160  6e768f1633e5f1f53c0224956135028459b0a505
25
26patchfiles          patch-sqlite3_wrap.cpp.diff patch-odbc_wrap.cpp.diff
27
28depends_lib-append  port:octave port:swig port:postgresql82 path:bin/mysql_config5:mysql5 port:sqlite3 port:unixODBC
29
30post-destroot {
31    move ${destroot}${prefix}/share/octave/octave_packages ${destroot}${prefix}/share/octave/octave_packages_${name}
32}
33
34post-activate {
35    system "octave --eval \"pkg rebuild\""
36}
37
38livecheck.type  regex
39livecheck.url   http://octave.sourceforge.net/packages.html
40livecheck.regex http://downloads\.sourceforge\.net/octave/database-(\\d+(\\.\\d+)*)\.tar\.gz
Note: See TracBrowser for help on using the repository browser.