diff options
author | riggs <riggs@FreeBSD.org> | 2015-05-01 14:54:17 +0800 |
---|---|---|
committer | riggs <riggs@FreeBSD.org> | 2015-05-01 14:54:17 +0800 |
commit | 93d3fe99940eea43d936d2dc461eb1804067daad (patch) | |
tree | 14c1f9bb5467f3b4aaafe1b6ca9723658f458b63 /multimedia | |
parent | d9b76a6fec774ed16a4777121ac58182605aedbf (diff) | |
download | freebsd-ports-graphics-93d3fe99940eea43d936d2dc461eb1804067daad.tar.gz freebsd-ports-graphics-93d3fe99940eea43d936d2dc461eb1804067daad.tar.zst freebsd-ports-graphics-93d3fe99940eea43d936d2dc461eb1804067daad.zip |
Make BUILD_DEPENDS on texi2html conditionally (only if DOCS is selected)
PR: 199642
Submitted by: rs@bytecamp.net
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/ffmpeg/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/multimedia/ffmpeg/Makefile b/multimedia/ffmpeg/Makefile index 510e68e578d..24fa84472d1 100644 --- a/multimedia/ffmpeg/Makefile +++ b/multimedia/ffmpeg/Makefile @@ -15,8 +15,7 @@ LICENSE= GPLv2 LGPL21 LICENSE_COMB= multi BUILD_DEPENDS= yasm:${PORTSDIR}/devel/yasm \ - ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils \ - texi2html:${PORTSDIR}/textproc/texi2html + ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils HAS_CONFIGURE= yes CONFIGURE_LOG= config.err @@ -268,9 +267,14 @@ CONFIGURE_ARGS+=--prefix="${PREFIX}" \ DOC_FILES= Changelog CREDITS INSTALL.md LICENSE.md MAINTAINERS \ README.md RELEASE_NOTES # under doc subdirectory -DOC_DOCFILES= APIchanges *.txt *.html +DOC_DOCFILES= APIchanges *.txt PORTDOCS= * +.if ${PORT_OPTIONS:MDOCS} +DOC_DOCFILES+= *.html +BUILD_DEPENDS+= texi2html:${PORTSDIR}/textproc/texi2html +.endif + .if ${PORT_OPTIONS:MDEBUG} CONFIGURE_ARGS+= --disable-stripping .else |