svn commit: r306280 - head/devel/gwenhywfar
Jason E. Hale
jhale at FreeBSD.org
Mon Oct 22 17:50:14 UTC 2012
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}/, at dirrm ,p' >> ${TMPPLIST}
.endif
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list