Date: Mon, 22 Oct 2012 17:50:14 +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: r306280 - head/devel/gwenhywfar Message-ID: <201210221750.q9MHoEoR061369@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhale Date: Mon Oct 22 17:50:13 2012 New Revision: 306280 URL: http://svn.freebsd.org/changeset/ports/306280 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/devel/gwenhywfar/Makefile (contents, props changed) Modified: head/devel/gwenhywfar/Makefile ============================================================================== --- head/devel/gwenhywfar/Makefile Mon Oct 22 17:36:37 2012 (r306279) +++ head/devel/gwenhywfar/Makefile Mon Oct 22 17:50:13 2012 (r306280) @@ -40,11 +40,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:MMEMDEBUG} @@ -79,15 +78,19 @@ post-patch: .endif 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?201210221750.q9MHoEoR061369>