1 | # $Id: Portfile,v 1.2 2006/08/08 21:44:48 mas Exp $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name aqbanking |
---|
5 | version 2.2.0 |
---|
6 | revision 1 |
---|
7 | categories devel net |
---|
8 | maintainers mas@seligma.com |
---|
9 | description a generic online banking interface supporting HBCI |
---|
10 | long_description aqbanking is a generic online banking interface mainly \ |
---|
11 | supporting Home Banking Computer Interface, a standard \ |
---|
12 | used for German checking accounts. |
---|
13 | homepage http://www.aqbanking.de/ |
---|
14 | master_sites sourceforge |
---|
15 | checksums md5 0908d3de2b7bfa256a626ce8ab7c5e80 |
---|
16 | depends_lib port:gwenhywfar \ |
---|
17 | bin:uic:qt3 \ |
---|
18 | lib:ktoblzcheck:ktoblzcheck |
---|
19 | depends_build bin:glibtoolize:libtool |
---|
20 | |
---|
21 | patchfiles qt3.patch |
---|
22 | pre-configure { |
---|
23 | system "cd ${worksrcpath} && aclocal -I m4" |
---|
24 | system "cd ${worksrcpath} && autoconf" |
---|
25 | } |
---|
26 | |
---|
27 | configure.env CPPFLAGS="-L${prefix}/lib -I${prefix}/include" \ |
---|
28 | CFLAGS="-L${prefix}/lib -I${prefix}/include" \ |
---|
29 | LDFLAGS=-L${prefix}/lib \ |
---|
30 | QTDIR=/opt/local/lib/qt3 |
---|
31 | configure.args --disable-kde3 \ |
---|
32 | --disable-dependency-tracking \ |
---|
33 | --with-frontends="cbanking g2banking qbanking" \ |
---|
34 | --with-backends="aqhbci aqdtaus aqnone" \ |
---|
35 | --disable-libofx \ |
---|
36 | --disable-chipcard-client \ |
---|
37 | --disable-chipcard-client-test |
---|
38 | |
---|
39 | variant ofx conflicts geldkarte { |
---|
40 | depends_lib-append lib:libofx:libofx |
---|
41 | configure.args-delete --disable-libofx |
---|
42 | configure.args-append --with-backends="aqhbci aqdtaus aqofxconnect" \ |
---|
43 | --enable-libofx |
---|
44 | } |
---|
45 | |
---|
46 | variant geldkarte conflicts ofx { |
---|
47 | depends_lib-append lib:libchipcard:libchipcard |
---|
48 | configure.args-delete --disable-chipcard-client |
---|
49 | configure.args-delete --disable-chipcard-client-test |
---|
50 | configure.args-append --with-backends="aqhbci aqdtaus aqgeldkarte" \ |
---|
51 | --enable-chipcard-client \ |
---|
52 | --enable-chipcard-client-test |
---|
53 | } |
---|
54 | |
---|
55 | variant python { |
---|
56 | depends_build-append lib:ctypes:py-ctypes |
---|
57 | } |
---|