aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/ffmpeg26/Makefile
diff options
context:
space:
mode:
authorriggs <riggs@FreeBSD.org>2015-05-01 15:24:20 +0800
committerriggs <riggs@FreeBSD.org>2015-05-01 15:24:20 +0800
commitd1061e9595084fe245feaa31c6042d3b51cff55b (patch)
tree99d4f423d460ee4e6bea5d2d9198261d80a2d1f6 /multimedia/ffmpeg26/Makefile
parent4980387bb00b9efbbb6c8c1731732070426a50a8 (diff)
downloadfreebsd-ports-gnome-d1061e9595084fe245feaa31c6042d3b51cff55b.tar.gz
freebsd-ports-gnome-d1061e9595084fe245feaa31c6042d3b51cff55b.tar.zst
freebsd-ports-gnome-d1061e9595084fe245feaa31c6042d3b51cff55b.zip
Merge BUILD_DEPENDS change (texi2html) from r385084 into ffmpeg26
Diffstat (limited to 'multimedia/ffmpeg26/Makefile')
-rw-r--r--multimedia/ffmpeg26/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/multimedia/ffmpeg26/Makefile b/multimedia/ffmpeg26/Makefile
index 4b99f78a4920..29a5b514e3b2 100644
--- a/multimedia/ffmpeg26/Makefile
+++ b/multimedia/ffmpeg26/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
UNIQUENAME= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}
@@ -281,9 +280,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