Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Oct 2012 17:51:13 +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: r306281 - head/finance/aqbanking
Message-ID:  <201210221751.q9MHpDwa061750@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhale
Date: Mon Oct 22 17:51:13 2012
New Revision: 306281
URL: http://svn.freebsd.org/changeset/ports/306281

Log:
  - 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

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

Modified: head/finance/aqbanking/Makefile
==============================================================================
--- head/finance/aqbanking/Makefile	Mon Oct 22 17:50:13 2012	(r306280)
+++ head/finance/aqbanking/Makefile	Mon Oct 22 17:51:13 2012	(r306281)
@@ -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>



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