blob: eaccab7109e37902ecc788eb799f4dfecee48dda (
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
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
|
# New ports collection makefile for: aqbanking
# Date created: June 2005
# Whom: Sam Lawrance <lawrance@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= aqbanking
DISTVERSION= 5.0.5
CATEGORIES= finance
MASTER_SITES= http://www2.aquamaniac.de/sites/download/
DISTFILES= download.php\?package=03\&release=78\&file=01\&dummy=${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= bsdkaffee@gmail.com
COMMENT= Online banking interface and financial data framework
LIB_DEPENDS= gwenhywfar.60:${PORTSDIR}/devel/gwenhywfar \
gmp.10:${PORTSDIR}/math/gmp
USE_GMAKE= yes
USE_GETTEXT= yes
USE_AUTOTOOLS= libtool
USE_GNOME= gnomehack pkgconfig
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
OPTIONS= APIDOC "Full API documentation (requires Doxygen)" off \
KTOBLZCHECK "KtoBlzCheck support" off \
PAYPAL "Build PayPal backend (separate license)" off
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-release="yes"
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
LDFLAGS="${LDFLAGS}"
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
MAKE_JOBS_UNSAFE= yes
PLIST_SUB= AQB_SHLIB_VER="${AQB_SHLIB_VER}" \
GWEN_SHLIB_VER="${GWEN_SHLIB_VER}"
USE_LDCONFIG= yes
AQB_SHLIB_VER= 33
GWEN_SHLIB_VER= 60
.include <bsd.port.options.mk>
.if !defined(NOPORTDOCS) && defined(WITH_APIDOC)
BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen
CONFIGURE_ARGS+=--enable-full-doc
PORTDOCS= apidoc
.endif
.if defined(WITH_KTOBLZCHECK) || exists(${LOCALBASE}/lib/libktoblzcheck.so)
LIB_DEPENDS+= ktoblzcheck:${PORTSDIR}/finance/ktoblzcheck
.endif
.if defined(WITH_PAYPAL)
CONFIGURE_ARGS+=--with-backends="aqhbci aqnone aqofxconnect aqpaypal"
PLIST_SUB+= WITH_PAYPAL=""
.else
PLIST_SUB+= WITH_PAYPAL="@comment "
.endif
post-patch:
${REINPLACE_CMD} -e 's|install-idataDATA install-iheaderHEADERS|install-iheaderHEADERS|' \
${WRKSRC}/Makefile.in
post-build:
.if !defined(NOPORTDOCS) && defined(WITH_APIDOC)
@cd ${WRKSRC} && ${GMAKE} srcdoc
.endif
post-install:
.if !defined(NOPORTDOCS) && defined(WITH_APIDOC)
${MKDIR} ${DOCSDIR}/apidoc
cd ${WRKSRC}/apidoc && \
${COPYTREE_SHARE} \* ${DOCSDIR}/apidoc
.endif
.include <bsd.port.mk>
|