source: trunk/dports/devel/quickfix/Portfile

Last change on this file was 144358, checked in by ryandesign@…, 19 months ago

quickfix: requires C++11

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