source: trunk/dports/devel/soprano/Portfile

Last change on this file was 140960, checked in by michaelld@…, 2 years ago

qt4 various: change qt_dir to ${prefix}/libexec/qt4 to allow for a parallel install with qt5; rev-bump dependencies that are known to work with this change. Addresses the primary issue of #44193. Will address secondary issues down the road.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.4 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 140960 2015-10-06 20:13:45Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           kde4 1.1
6
7name                soprano
8version             2.9.4
9revision            1
10categories          devel
11maintainers         pixilla openmaintainer
12license             GPL-2+ LGPL-2+
13
14description         The Qt-based RDF framework.
15long_description    Soprano is a software library that provides an \
16                    object-oriented C++/Qt4 framework for RDF data.
17platforms           darwin
18homepage            https://projects.kde.org/projects/kdesupport/soprano
19master_sites        sourceforge:soprano
20
21use_bzip2           yes
22
23checksums           rmd160  b5e8db32a77ab9fed5dac74783cb137259d91bb2 \
24                    sha256  64066fbd54e71d7ae4c8a4116997448a72808a2813cff3bb5d2c28f0fce9e0e5
25
26depends_lib-append  port:strigi \
27                    port:raptor2 \
28                    port:redland \
29                    port:libiodbc
30
31depends_run-append  port:virtuoso
32
33#Virtuoso builds only on 64bit, but it is only a runtime dependency,
34#automatically deactivated if not available (ticket #41773)
35depends_skip_archcheck  virtuoso
36
37patchfiles          patch-parsers-raptor-raptorparser.h.diff \
38                    patch-serializers-raptor-raptorserializer.cpp.diff
39
40configure.args-append \
41                    -DSOPRANO_DISABLE_CLUCENE_INDEX=1
42
43pre-configure {
44    if {![file isfile "/System/Library/Frameworks/JavaVM.framework/Headers/jni.h"]} {
45        ui_error "${name} requires the Java for Mac OS X development headers."
46        if {${os.major} == 11} {
47            ui_error "Download the Java Developer Package from: <http://support.apple.com/kb/DL1421>"
48        } elseif {${os.major} == 10} {
49            ui_error "Download the Java Developer Package from: <https://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?bundleID=20719>"
50        } elseif {${os.major} == 9} {
51            ui_error "Download the Java Developer Package from: <https://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?bundleID=20720>"
52        } else {
53            ui_error "Make sure your Xcode installation is complete."
54        }
55        return -code error "missing Java headers"
56    }
57}
58
59livecheck.type      sourceforge
60livecheck.url       http://sourceforge.net/projects/soprano/files/Soprano/
61livecheck.regex     (\\d+(\\.\\d+)+)
Note: See TracBrowser for help on using the repository browser.