1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-01 10:59:55 +00:00

- Safe with NOPORTDOCS=yes

PR:		ports/177003
Submitted by:	nemysis <nemysis@gmx.ch> (maintainer)
This commit is contained in:
Beech Rintoul 2013-04-28 22:16:02 +00:00
parent f81138ee85
commit 8cbdc4e1f8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=316761

View File

@ -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")