aboutsummaryrefslogtreecommitdiff
path: root/finance
diff options
context:
space:
mode:
authorJason E. Hale <jhale@FreeBSD.org>2013-11-03 01:01:53 +0000
committerJason E. Hale <jhale@FreeBSD.org>2013-11-03 01:01:53 +0000
commita418923f55e6da91acc54045596f4ffb9110a311 (patch)
tree924c42f4afc41c6e978ffae4e09438e9a26d6969 /finance
parent330c7a4e7fe425c37b126074620d2420f9bf6da8 (diff)
downloadports-a418923f55e6da91acc54045596f4ffb9110a311.tar.gz
ports-a418923f55e6da91acc54045596f4ffb9110a311.zip
Notes
Diffstat (limited to 'finance')
-rw-r--r--finance/aqbanking/Makefile53
-rw-r--r--finance/aqbanking/pkg-descr2
2 files changed, 24 insertions, 31 deletions
diff --git a/finance/aqbanking/Makefile b/finance/aqbanking/Makefile
index d583e52410dc..1698635c9bd1 100644
--- a/finance/aqbanking/Makefile
+++ b/finance/aqbanking/Makefile
@@ -12,18 +12,12 @@ COMMENT= Online banking interface and financial data framework
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
-LIB_DEPENDS= gwenhywfar:${PORTSDIR}/devel/gwenhywfar \
- gmp:${PORTSDIR}/math/gmp
-
-OPTIONS_DEFINE= DOXYGEN KTOBLZCHECK PAYPAL
-OPTIONS_DEFAULT= KTOBLZCHECK
-
-KTOBLZCHECK_DESC= Enable KtoBlzCheck support
-PAYPAL_DESC= Build PayPal backend (separate license)
+LIB_DEPENDS= libgwenhywfar.so:${PORTSDIR}/devel/gwenhywfar \
+ libgmp.so:${PORTSDIR}/math/gmp
USE_GMAKE= yes
USE_AUTOTOOLS= libtool
-USES= pathfix pkgconfig gettext
+USES= pathfix pkgconfig gettext
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-release="yes"
@@ -38,24 +32,23 @@ USE_LDCONFIG= yes
AQB_SHLIB_VER= 34
GWEN_SHLIB_VER= 60
-NO_STAGE= yes
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= DOXYGEN KTOBLZCHECK PAYPAL
+OPTIONS_DEFAULT= KTOBLZCHECK
+OPTIONS_SUB= yes
-.if ${PORT_OPTIONS:MDOXYGEN}
-BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen \
- dot:${PORTSDIR}/graphics/graphviz
-CONFIGURE_ARGS+=--enable-full-doc
-.endif
+DOXYGEN_BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen \
+ dot:${PORTSDIR}/graphics/graphviz
+DOXYGEN_CONFIGURE_ENABLE= full-doc
-.if ${PORT_OPTIONS:MKTOBLZCHECK} || exists(${LOCALBASE}/lib/libktoblzcheck.so)
-LIB_DEPENDS+= ktoblzcheck:${PORTSDIR}/finance/ktoblzcheck
-.endif
+KTOBLZCHECK_DESC= Enable KtoBlzCheck support
-.if ${PORT_OPTIONS:MPAYPAL}
-CONFIGURE_ARGS+=--with-backends="aqhbci aqnone aqofxconnect aqpaypal"
-PLIST_SUB+= WITH_PAYPAL=""
-.else
-PLIST_SUB+= WITH_PAYPAL="@comment "
+PAYPAL_DESC= Build PayPal backend (separate license)
+PAYPAL_CONFIGURE_ON= --with-backends="aqhbci aqnone aqofxconnect aqpaypal"
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MKTOBLZCHECK} || exists(${LOCALBASE}/lib/libktoblzcheck.so)
+LIB_DEPENDS+= libktoblzcheck.so:${PORTSDIR}/finance/ktoblzcheck
.endif
post-patch:
@@ -69,13 +62,13 @@ post-build:
post-install:
.if ${PORT_OPTIONS:MDOXYGEN}
- ${MKDIR} ${DOCSDIR}/apidoc
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}/apidoc
cd ${WRKSRC}/apidoc && \
- ${COPYTREE_SHARE} \* ${DOCSDIR}/apidoc
- @${FIND} -P ${DOCSDIR} -type f 2>/dev/null | \
- ${SED} -ne 's,^${PREFIX}/,,p' >> ${TMPPLIST}
- @${FIND} -P -d ${DOCSDIR} -type d 2>/dev/null | \
- ${SED} -ne 's,^${PREFIX}/,@dirrm ,p' >> ${TMPPLIST}
+ ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}/apidoc
+ @${FIND} -P ${STAGEDIR}${DOCSDIR} -type f 2>/dev/null | \
+ ${SED} -ne 's|^${STAGEDIR}${PREFIX}/||p' >> ${TMPPLIST}
+ @${FIND} -P -d ${STAGEDIR}${DOCSDIR} -type d 2>/dev/null | \
+ ${SED} -ne 's|^${STAGEDIR}${PREFIX}/|@dirrm |p' >> ${TMPPLIST}
.endif
.include <bsd.port.mk>
diff --git a/finance/aqbanking/pkg-descr b/finance/aqbanking/pkg-descr
index 03e6f5738c17..e243093e2f97 100644
--- a/finance/aqbanking/pkg-descr
+++ b/finance/aqbanking/pkg-descr
@@ -8,4 +8,4 @@ plugin basis.
AqBanking supports plugins which allow lookup and verification of bank code/
account id pair validity.
-WWW: http://www.aquamaniac.de/aqbanking/
+WWW: http://www.aquamaniac.de/aqbanking/