aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbeech <beech@FreeBSD.org>2013-04-29 06:16:02 +0800
committerbeech <beech@FreeBSD.org>2013-04-29 06:16:02 +0800
commitfe00732c023cf72e9d7e71866ad366cc52f30532 (patch)
tree016d14dc701c9a7fc85dffad453da558758bb360
parentd833d5c75af90eaa948eb49aecee7cf024f6e451 (diff)
downloadfreebsd-ports-gnome-fe00732c023cf72e9d7e71866ad366cc52f30532.tar.gz
freebsd-ports-gnome-fe00732c023cf72e9d7e71866ad366cc52f30532.tar.zst
freebsd-ports-gnome-fe00732c023cf72e9d7e71866ad366cc52f30532.zip
- Safe with NOPORTDOCS=yes
PR: ports/177003 Submitted by: nemysis <nemysis@gmx.ch> (maintainer)
-rw-r--r--comms/spandsp-devel/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/comms/spandsp-devel/Makefile b/comms/spandsp-devel/Makefile
index 6ec3a86742e9..3becd28cc9d5 100644
--- a/comms/spandsp-devel/Makefile
+++ b/comms/spandsp-devel/Makefile
@@ -2,6 +2,7 @@
PORTNAME= spandsp
DISTVERSION= 0.0.6pre21
+PORTREVISION= 1
CATEGORIES= comms
MASTER_SITES= http://www.soft-switch.org/downloads/spandsp/
PKGNAMESUFFIX= -devel
@@ -28,20 +29,21 @@ CONFLICTS= spandsp-[0-9]*
OPTIONS_DEFINE= DOXYGEN
+PORTDOCS= *
+
.include <bsd.port.options.mk>
-.if ${PORT_OPTIONS:MDOXYGEN}
+.if ${PORT_OPTIONS:MDOXYGEN} && ${PORT_OPTIONS:MDOCS}
CONFIGURE_ARGS+=--enable-doc
BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen \
docbook-xsl>=0:${PORTSDIR}/textproc/docbook-xsl
USE_GNOME+= libxslt
-PORTDOCS= *
.else
CONFIGURE_ARGS+=--disable-doc
.endif
post-install:
-.if ${PORT_OPTIONS:MDOXYGEN}
+.if ${PORT_OPTIONS:MDOXYGEN} && ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
(cd ${WRKSRC}/doc && \
${COPYTREE_SHARE} \* ${DOCSDIR} "-type d -or -mindepth 1")