/
Portfile
102 lines (74 loc) · 3.38 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
# -*- 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
PortSystem 1.0
name aqbanking5
version 5.8.2
revision 1
# this is specific to this port and *version* for downloading it
set release 107
checksums rmd160 ce40afdce3d98a6cae7e709582399a28f761e97f \
sha256 93ca523fe175e72042db75f8c3fc6255ab058cf82caf52796e15f030809fb15e \
size 3824997
categories devel net finance
maintainers {dports @drkp} openmaintainer
platforms darwin
license {GPL-2 GPL-3 OpenSSLException}
description a generic online banking interface
long_description aqbanking is a generic online banking interface mainly \
supporting Home Banking Computer Interface, a standard \
used for German checking accounts, but also suitable \
for OFX as used in several other countries. \
Note that the YellowNet backend (for Suisse Postfinance) \
is not available for OS X (upstream only has a Linux binary).
homepage https://aquamaniac.de/rdm/projects/aqbanking
conflicts aqbanking5 aqbanking5-gtk aqbanking5
depends_lib port:ktoblzcheck \
port:libofx \
port:gmp \
path:lib/pkgconfig/gnutls.pc:gnutls
depends_build port:pkgconfig
universal_variant no
conflicts-delete $subport
if {$subport == $name} {
depends_lib-append port:gwenhywfar4 \
port:qt4-mac
}
subport aqbanking5-gtk {
depends_lib-append port:gwenhywfar4-gtk
}
subport aqbanking5-gtk3 {
depends_lib-append port:gwenhywfar4-gtk3
}
patchfiles patch-aqbanking-config.cmake.in.diff
if {$subport eq $name} {
depends_lib-append port:gwenhywfar4
}
master_sites https://aquamaniac.de/rdm/attachments/download/${release}/
distname aqbanking-${version}
configure.cppflags-append "-L${prefix}/lib"
configure.cflags-append "-L${prefix}/lib"
configure.ldflags-append "-Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib"
configure.env PKG_CONFIG=${prefix}/bin/pkg-config QTDIR=${prefix}
configure.args-append \
--enable-static \
--disable-dependency-tracking \
--with-backends="aqhbci aqofxconnect aqnone aqpaypal"
variant enable_local_install description "Enable local installation mode (plugins, data, locale and config are located relatively to the binary)" {
configure.args-append --enable-local-install
}
variant debug description "Enable debug." {
configure.args-append --enable-debug
}
use_parallel_build no
# Allow gtk3 version to replace any gtk2 version if it is installed
# This will conflicts during gnucash upgrade.
if {$subport == "aqbanking5-gtk3" } {
conflicts-delete aqbanking5-gtk
pre-activate {
if { ![catch {set vers [lindex [registry_active aqbanking5-gtk] 0]}] } {
registry_deactivate_composite aqbanking5-gtk "" [list ports_nodepcheck 1]
}
}
}
livecheck.type regex
livecheck.url https://aquamaniac.de/rdm/projects/aqbanking/files
livecheck.regex aqbanking-(5\\.\[0-9.\]*)\\.tar