Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Nov 2013 01:01:53 +0000 (UTC)
From:      "Jason E. Hale" <jhale@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r332569 - head/finance/aqbanking
Message-ID:  <201311030101.rA311rnY025527@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhale
Date: Sun Nov  3 01:01:53 2013
New Revision: 332569
URL: http://svnweb.freebsd.org/changeset/ports/332569

Log:
  - Support staging
  - Use new LIB_DEPENDS syntax
  - Use options helpers
  - Single space WWW line in pkg-descr

Modified:
  head/finance/aqbanking/Makefile
  head/finance/aqbanking/pkg-descr   (contents, props changed)

Modified: head/finance/aqbanking/Makefile
==============================================================================
--- head/finance/aqbanking/Makefile	Sun Nov  3 00:46:39 2013	(r332568)
+++ head/finance/aqbanking/Makefile	Sun Nov  3 01:01:53 2013	(r332569)
@@ -12,18 +12,12 @@ COMMENT=	Online banking interface and fi
 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>

Modified: head/finance/aqbanking/pkg-descr
==============================================================================
--- head/finance/aqbanking/pkg-descr	Sun Nov  3 00:46:39 2013	(r332568)
+++ head/finance/aqbanking/pkg-descr	Sun Nov  3 01:01:53 2013	(r332569)
@@ -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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311030101.rA311rnY025527>