source: trunk/dports/devel/aqbanking5/Portfile @ 118353

Last change on this file since 118353 was 118353, checked in by mk@…, 7 years ago

aqbanking5-devel: update to latest beta

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 4.6 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 118353 2014-03-31 20:54:26Z mk@macports.org $
3
4PortSystem        1.0
5
6name              aqbanking5
7# This port offers the latest stable version (also as a gtk subport)
8# as well as the latest beta version as aqbanking5-devel
9# and the svn version as aqbanking5-svn!
10
11# The package number is unique for aqbanking:
12set package       03
13
14categories        devel net finance
15maintainers       mk dports openmaintainer
16platforms         darwin
17license           {GPL-2 GPL-3 OpenSSLException}
18
19description       a generic online banking interface
20long_description  aqbanking is a generic online banking interface mainly \
21                  supporting Home Banking Computer Interface, a standard \
22                  used for German checking accounts, but also suitable \
23                  for OFX as used in several other countries. \
24                  Note that the YellowNet backend (for Suisse Postfinance) \
25                  is not available for OS X (upstream only has a Linux binary).
26
27homepage          http://www2.aquamaniac.de/sites/aqbanking/index.php
28
29conflicts         aqbanking
30
31depends_lib       port:gwenhywfar4 \
32                  port:ktoblzcheck \
33                  port:libofx \
34                  port:gmp \
35                  port:gnutls
36
37depends_build     port:pkgconfig
38
39universal_variant no
40
41
42if {$subport eq $name} {
43    conflicts-append aqbanking5-devel aqbanking5-gtk aqbanking5-svn
44}
45
46if {$subport eq $name || $subport eq "aqbanking5-gtk"} {
47    version           5.0.25
48    revision          1
49    # this is specific to this port and *version* for downloading it
50    set release       95
51
52    checksums         md5     b238639962128ce25db81870f65173d9 \
53                      sha1    80314a6f6114a0a3f0062161bb38effc0f1f4b62 \
54                      rmd160  6dc5d915e3fda4e2eff7c604ee3fad7ca0e1052d
55}
56
57subport aqbanking5-devel {
58    conflicts-append  aqbanking5 aqbanking5-gtk aqbanking5-svn
59    version             5.4.2beta
60    # this is specific to this port and *version* for downloading it
61    set release         114
62
63    checksums           md5     7adfa200f00c446ef123382f9f416a02 \
64                        sha1    7b9909712b314d3fc699ee1d87f0c4035af4ea7e \
65                        rmd160  1c8df6260075185292618d4ccd52f1791125e14c
66
67    depends_lib-delete  port:gwenhywfar4
68    depends_lib-append  port:gwenhywfar4-devel
69}
70
71subport aqbanking5-svn {
72    conflicts-append  aqbanking5 aqbanking5-gtk aqbanking5-devel
73
74    fetch.type          svn
75    svn.url             http://devel.aqbanking.de/svn/aqbanking/trunk
76    # r2384 is indeed identical to 5.0.32beta
77    svn.revision        2384
78    version             svn-r${svn.revision}
79    worksrcdir          trunk
80
81    use_autoreconf      yes
82    autoreconf.args     -fvi
83    patchfiles          patch-Makefile.am.diff
84
85    depends_lib-delete    port:gwenhywfar4
86    depends_lib-append    port:gwenhywfar4-devel
87}
88
89if {$subport ne "aqbanking5-svn"} {
90    master_sites      http://www2.aquamaniac.de/sites/download/download.php?package=${package}&release=${release}&file=01&dummy=
91}
92
93distname          aqbanking-${version}
94# This is only to be used in case the dist was directly created from git
95#distname          aqbanking-${version}.0-git
96
97subport aqbanking5-gtk {
98    conflicts-append    aqbanking5 aqbanking5-devel
99    depends_lib-delete  port:gwenhywfar4 port:qt4-mac
100    depends_lib-append  port:gwenhywfar4-gtk
101}
102
103configure.cppflags-append "-L${prefix}/lib"
104configure.cflags-append   "-L${prefix}/lib"
105configure.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"
106configure.env             PKG_CONFIG=${prefix}/bin/pkg-config QTDIR=${prefix}
107configure.args-append \
108                          --enable-static \
109                          --disable-dependency-tracking \
110                          --with-backends="aqhbci aqofxconnect aqnone aqpaypal"
111
112variant enable_local_install description "Enable local installation mode (plugins, data, locale and config are located relatively to the binary)" {
113    configure.args-append   --enable-local-install
114}
115
116variant debug description "Enable debug." {
117    configure.args-append --enable-debug
118}
119
120use_parallel_build no
121
122if {$subport ne "aqbanking5-svn"} {
123    livecheck.type    regex
124    livecheck.url     http://www2.aquamaniac.de/sites/download/packages.php?package=${package}&showall=1
125    if {$subport ne "aqbanking5-devel"} {
126        livecheck.regex   aqbanking-(\[0-9.\]*)\\.tar
127    } else {
128        livecheck.regex   aqbanking-(\[0-9.\]*beta)\\.tar
129    }
130} else {
131    livecheck.type    none
132}
133
Note: See TracBrowser for help on using the repository browser.