1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name TOra |
---|
7 | version 2.1.1 |
---|
8 | revision 1 |
---|
9 | description GUI tool for Oracle, PostgreSQL, and MySQL |
---|
10 | long_description Database developer/DBA frontend for varous DB servers. |
---|
11 | maintainers scribus.info:petr |
---|
12 | categories aqua databases |
---|
13 | platforms macosx |
---|
14 | homepage http://www.torasql.com |
---|
15 | master_sites sourceforge:tora |
---|
16 | distname tora-${version} |
---|
17 | |
---|
18 | checksums md5 6a25c8f62a70f368f16126103d54be7d \ |
---|
19 | sha1 61a2471fd9bac2578e6fa556f98d90976ea3ef9d \ |
---|
20 | rmd160 1f81d512480fdfba2d66e2cd8665da8ab70d2de3 |
---|
21 | |
---|
22 | #use_bzip2 yes |
---|
23 | |
---|
24 | depends_build port:cmake |
---|
25 | |
---|
26 | # WARNING: pgsql83 is there due qt4's deps on it. It's dangerous to mix |
---|
27 | # libraries version in one binary. It's required to spot Qt4's deps version |
---|
28 | # bumps. |
---|
29 | depends_lib port:postgresql83 \ |
---|
30 | port:qt4-mac \ |
---|
31 | port:qscintilla \ |
---|
32 | port:oracle-instantclient |
---|
33 | |
---|
34 | configure.cmd cmake |
---|
35 | configure.pre_args -DCMAKE_INSTALL_PREFIX=${prefix}/tmprelease/ \ |
---|
36 | -DORACLE_PATH_INCLUDES=${prefix}/lib/oracle/sdk/include \ |
---|
37 | -DORACLE_PATH_LIB=${prefix}/lib/oracle \ |
---|
38 | -DPOSTGRESQL_PATH_INCLUDES=${prefix}/include/postgresql83 \ |
---|
39 | -DPOSTGRESQL_PATH_LIB=${prefix}/lib/postgresql83 \ |
---|
40 | -DWANT_BUNDLE=1 \ |
---|
41 | -DWANT_BUNDLE_STANDALONE=1 \ |
---|
42 | -DWANT_RPM=0 |
---|
43 | configure.args -DQT_QMAKE_EXECUTABLE=${prefix}/libexec/qt4-mac/bin/qmake . |
---|
44 | |
---|
45 | variant nopgsql description {Disable native PostgreSQL support} { |
---|
46 | depends_lib-delete port:postgresql83 |
---|
47 | configure.pre_args-append -DENABLE_PGSQL=0 |
---|
48 | } |
---|
49 | |
---|
50 | variant nooracle description {Disable support for Oracle} { |
---|
51 | depends_lib-delete port:oracle-instantclient |
---|
52 | configure.pre_args-append -DENABLE_ORACLE=0 |
---|
53 | } |
---|
54 | |
---|
55 | variant debug description {provide a debug build in case of difficulties} { |
---|
56 | configure.pre_args-append -DWANT_DEBUG=1 |
---|
57 | } |
---|
58 | |
---|
59 | destroot { |
---|
60 | file copy ${worksrcpath}/src/${name}.app ${destroot}${applications_dir} |
---|
61 | } |
---|
62 | |
---|