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:
parent
652cf2a59b
commit
54368fde47
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=318957
1 changed files with 1 additions and 2 deletions
|
@ -29,11 +29,10 @@ CONFLICTS= spandsp-[0-9]*
|
|||
|
||||
OPTIONS_DEFINE= DOXYGEN
|
||||
|
||||
PORTDOCS= *
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MDOXYGEN} && ${PORT_OPTIONS:MDOCS}
|
||||
PORTDOCS= *
|
||||
CONFIGURE_ARGS+=--enable-doc
|
||||
BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen \
|
||||
docbook-xsl>=0:${PORTSDIR}/textproc/docbook-xsl
|
||||
|
|
Loading…
Reference in a new issue