Ticket #17989: octave-database-Portfile

File octave-database-Portfile, 1.4 KB (added by alakazam@…, 16 years ago)
Line 
1# $Id:$
2
3PortSystem 1.0
4
5name                octave-database
6version             1.0.1
7categories          math science
8platforms           darwin
9maintainers         andrea.damore alakazam
10description         These are bindings that allow SQL queries and other database operations on postgres, mysql, sqlite, and standard ODBC databases from within Octave. A simplified interface that is uniform across all database types is provided, as well as the entire C client API for each database (libpq, libmysqlclient, etc). 
11long_description    ${description}
12
13homepage            http://octave.sourceforge.net/
14master_sites        sourceforge:octave
15
16distname            database-1.0.1
17
18checksums \
19            database-1.0.1.tar.gz \
20                md5     460b0b3eac92654a63a07b8c95be3880 \
21                sha1    4eefe67c007f71129e6f71f6dc9baf4e29c32862 \
22                rmd160  490fc28735afe6213006e6f403187f1036de677e
23
24depends_lib-append  port:octave port:sqlite3 port:mysql5 port:swig
25
26# port:postgresql82 port:unixODBC port:odbc-postgresql
27
28post-destroot {
29    move ${destroot}${prefix}/share/octave/octave_packages ${destroot}${prefix}/share/octave/octave_packages_${name}
30}
31
32post-activate {
33    system "octave --eval \"pkg rebuild\""
34}
35
36livecheck.check regex
37livecheck.url   http://octave.sourceforge.net/packages.html
38livecheck.regex http://downloads\.sourceforge\.net/octave/database-(\\d+(\\.\\d+)*)\.tar\.gz