aboutsummaryrefslogtreecommitdiffstats
path: root/finance/aqbanking/Makefile
blob: 12c3ea1e2fbfdb4864347231b18c9739363d9d33 (plain) (blame)
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
# New ports collection makefile for:    aqbanking
# Date created:     June 2005
# Whom:                 Sam Lawrance <lawrance@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   aqbanking
PORTVERSION=    1.0.11
PORTREVISION=   1
CATEGORIES= finance
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= aqbanking

MAINTAINER= lawrance@FreeBSD.org
COMMENT=    Online banking interface and financial data framework

LIB_DEPENDS=    gwenhywfar.30:${PORTSDIR}/devel/gwenhywfar

OPTIONS=    OFX     "LibOFX support"    off \
        KTOBLZCHECK "KtoBlzCheck support"   off

CONFIGURE_ENV+= CFLAGS="${CFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib"
CONFIGURE_TARGET=   --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USE_GETTEXT=    yes
USE_GCC=    3.4+
INSTALLS_SHLIB= yes

.include <bsd.port.pre.mk>

.if defined(WITH_OFX)
LIB_DEPENDS+=   ofx.2:${PORTSDIR}/finance/libofx
CONFIGURE_ARGS+=--enable-libofx
PLIST_SUB+= OFX=""
.else
CONFIGURE_ARGS+=--disable-libofx
PLIST_SUB+= OFX="@comment "
.endif

# no configure option to disable ktoblzcheck support (yet)
.if defined(WITH_KTOBLZCHECK) || exists(${LOCALBASE}/lib/libktoblzcheck.so.4)
LIB_DEPENDS+=   ktoblzcheck.4:${PORTSDIR}/finance/ktoblzcheck
.endif

.include <bsd.port.post.mk>