aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-05-24 18:46:51 +0800
committerbapt <bapt@FreeBSD.org>2013-05-24 18:46:51 +0800
commit28d4927df945e51fcea2efbb5f3324602064cd67 (patch)
treed38303a4216b7e6503f3acc37cd53be40c923423 /comms
parentc76aa04cb3a884bb25ebf149382109a848498ff4 (diff)
downloadfreebsd-ports-gnome-28d4927df945e51fcea2efbb5f3324602064cd67.tar.gz
freebsd-ports-gnome-28d4927df945e51fcea2efbb5f3324602064cd67.tar.zst
freebsd-ports-gnome-28d4927df945e51fcea2efbb5f3324602064cd67.zip
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)
Diffstat (limited to 'comms')
-rw-r--r--comms/spandsp-devel/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/comms/spandsp-devel/Makefile b/comms/spandsp-devel/Makefile
index 3becd28cc9d5..36c7e7ed0499 100644
--- a/comms/spandsp-devel/Makefile
+++ b/comms/spandsp-devel/Makefile
@@ -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