source: trunk/dports/devel/quickfix/Portfile @ 144357

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

quickfix: new maintainer (#49773)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.9 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 144357 2016-01-07 03:07:06Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                quickfix
7version             1.14.3
8license             Permissive
9# http://www.quickfixengine.org/quickfix/doc/html/license.html
10categories          devel finance
11platforms           darwin
12maintainers         gmail.com:rstachowiak openmaintainer
13
14description         FIX engine implementation
15
16long_description    QuickFIX is a full-featured open source FIX engine, \
17                    currently compatible with the FIX 4.0-4.4 spec.
18
19homepage            http://www.quickfixengine.org/
20master_sites        sourceforge:project/quickfix/quickfix/${version}
21worksrcdir          ${name}
22
23checksums           rmd160  369d5bf7044fa4c90d2d74e4470e50c0ad82951b \
24                    sha256  f6e8bdb004eaf45e50f63005b8c2611cb0afd42cf70f110f600c852aa572342d
25
26depends_lib         port:libxml2
27
28patchfiles          patch-UnitTest++-Makefile.diff
29
30post-patch {
31    reinplace "s|@CXX@|${configure.cxx}|g" ${worksrcpath}/UnitTest++/Makefile
32    reinplace "s|@ARCHFLAGS@|[get_canonical_archflags cxx]|g" ${worksrcpath}/UnitTest++/Makefile
33}
34
35configure.args      --with-java \
36                    --with-mysql-config=false \
37                    --without-postgresql \
38                    --without-python \
39                    --without-ruby
40configure.env       "JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home"
41
42post-destroot {
43    xinstall -m 755 -d ${destroot}${prefix}/share/${name}/sql
44    copy ${worksrcpath}/src/sql/postgresql ${destroot}${prefix}/share/${name}/sql
45}
46
47variant postgresql84 conflicts postgresql90 description {Include PostgreSQL 8.4 support} {
48    depends_lib-append      port:postgresql84
49    configure.args-replace  --without-postgresql --with-postgresql=${prefix}/lib/postgresql84/bin/pg_config
50}
51
52variant postgresql90 conflicts postgresql84 description {Include PostgreSQL 9.0 support} {
53    depends_lib-append      port:postgresql90
54    configure.args-replace  --without-postgresql --with-postgresql=${prefix}/lib/postgresql90/bin/pg_config
55}
56
57# To be removed after January 2017
58variant python requires python27 description {Legacy compatibility variant} {}
59
60variant python27 conflicts python34 python35 description {Include Python 2.7 support} {
61    depends_lib-append      port:python27
62    configure.python        ${prefix}/bin/python2.7
63    configure.args-replace  --without-python --with-python
64}
65
66variant python34 conflicts python27 python35 description {Include Python 3.4 support} {
67    depends_lib-append      port:python34
68    configure.python        ${prefix}/bin/python3.4
69    configure.args-replace  --without-python --with-python
70}
71
72variant python35 conflicts python27 python34 description {Include Python 3.5 support} {
73    depends_lib-append      port:python35
74    configure.python        ${prefix}/bin/python3.5
75    configure.args-replace  --without-python --with-python
76}
Note: See TracBrowser for help on using the repository browser.