Only defined PORTDOCS when DOXYGEN and DOCS are set

That avoids getting @dirrm %%DOCSDIR%% added to the plist when the DOCSDIR is not created

Reported by:	pkg (PKG_DEVELOPER_MODE)
This commit is contained in:
Baptiste Daroussin 2013-05-24 10:46:51 +00:00
parent 652cf2a59b
commit 54368fde47
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=318957

View file

@ -29,11 +29,10 @@ CONFLICTS= spandsp-[0-9]*
OPTIONS_DEFINE= DOXYGEN OPTIONS_DEFINE= DOXYGEN
PORTDOCS= *
.include <bsd.port.options.mk> .include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOXYGEN} && ${PORT_OPTIONS:MDOCS} .if ${PORT_OPTIONS:MDOXYGEN} && ${PORT_OPTIONS:MDOCS}
PORTDOCS= *
CONFIGURE_ARGS+=--enable-doc CONFIGURE_ARGS+=--enable-doc
BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen \ BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen \
docbook-xsl>=0:${PORTSDIR}/textproc/docbook-xsl docbook-xsl>=0:${PORTSDIR}/textproc/docbook-xsl