aboutsummaryrefslogtreecommitdiffstats
path: root/finance
diff options
context:
space:
mode:
authorjhale <jhale@FreeBSD.org>2012-10-23 01:51:13 +0800
committerjhale <jhale@FreeBSD.org>2012-10-23 01:51:13 +0800
commit08d2ef16c7afa3c07098b3f1ade904180ea5a761 (patch)
treeab314b49e944f01c370a19c4f90ba6b8240fb075 /finance
parentc86f9de16ec4b9f5dd181c929d3030cd1589a7ad (diff)
downloadfreebsd-ports-gnome-08d2ef16c7afa3c07098b3f1ade904180ea5a761.tar.gz
freebsd-ports-gnome-08d2ef16c7afa3c07098b3f1ade904180ea5a761.tar.zst
freebsd-ports-gnome-08d2ef16c7afa3c07098b3f1ade904180ea5a761.zip
- Generate plist for DOXYGEN option independent of the PORTDOCS macro
to avoid problems if NOPORTDOCS is defined Approved by: makc (mentor, implicit) Feature safe: yes
Diffstat (limited to 'finance')
-rw-r--r--finance/aqbanking/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/finance/aqbanking/Makefile b/finance/aqbanking/Makefile
index e60ed7f5bbd8..5fc4130ad6e8 100644
--- a/finance/aqbanking/Makefile
+++ b/finance/aqbanking/Makefile
@@ -42,11 +42,10 @@ GWEN_SHLIB_VER= 60
.include <bsd.port.options.mk>
-.if ${PORT_OPTIONS:MDOCS} && ${PORT_OPTIONS:MDOXYGEN}
+.if ${PORT_OPTIONS:MDOXYGEN}
BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen \
dot:${PORTSDIR}/graphics/graphviz
CONFIGURE_ARGS+=--enable-full-doc
-PORTDOCS= apidoc
.endif
.if ${PORT_OPTIONS:MKTOBLZCHECK} || exists(${LOCALBASE}/lib/libktoblzcheck.so)
@@ -65,15 +64,19 @@ post-patch:
${WRKSRC}/Makefile.in
post-build:
-.if ${PORT_OPTIONS:MDOCS} && ${PORT_OPTIONS:MDOXYGEN}
+.if ${PORT_OPTIONS:MDOXYGEN}
@cd ${WRKSRC} && ${GMAKE} srcdoc
.endif
post-install:
-.if ${PORT_OPTIONS:MDOCS} && ${PORT_OPTIONS:MDOXYGEN}
+.if ${PORT_OPTIONS:MDOXYGEN}
${MKDIR} ${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}
.endif
.include <bsd.port.mk>