aboutsummaryrefslogtreecommitdiff
path: root/multimedia/ffmpeg
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2012-08-06 11:32:27 +0000
committerMartin Matuska <mm@FreeBSD.org>2012-08-06 11:32:27 +0000
commit1783d8197008b88a5fd25a8d5926e84d0419e174 (patch)
tree00dde4626e822d46b5774d4afdf9cb4e644a3c01 /multimedia/ffmpeg
parentc96f4266a1a44928ef397bc5942f2ec72bf33c77 (diff)
downloadports-1783d8197008b88a5fd25a8d5926e84d0419e174.tar.gz
ports-1783d8197008b88a5fd25a8d5926e84d0419e174.zip
Notes
Diffstat (limited to 'multimedia/ffmpeg')
-rw-r--r--multimedia/ffmpeg/Makefile19
1 files changed, 8 insertions, 11 deletions
diff --git a/multimedia/ffmpeg/Makefile b/multimedia/ffmpeg/Makefile
index ab6addaf7203..4dac2994dc16 100644
--- a/multimedia/ffmpeg/Makefile
+++ b/multimedia/ffmpeg/Makefile
@@ -14,6 +14,11 @@ MASTER_SITES= http://ffmpeg.org/releases/
MAINTAINER= mm@FreeBSD.org
COMMENT= Realtime audio/video encoder/converter and streaming server
+LICENSE_COMB= multi
+LICENSE= GPLv2 LGPL21
+LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING.GPLv2
+LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING.LGPLv2.1
+
BUILD_DEPENDS= yasm:${PORTSDIR}/devel/yasm \
${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils \
${LOCALBASE}/bin/texi2html:${PORTSDIR}/textproc/texi2html
@@ -377,21 +382,13 @@ CONFIGURE_ARGS+= --disable-libxvid
.if defined(FFMPEG_NONFREE)
RESTRICTED= linking to libfaac or libaacplus restricts redistribution
CONFIGURE_ARGS+= --enable-nonfree
-. if defined(FFMPEG_LICENSE_GPL3)
-CONFIGURE_ARGS+= --enable-version3
-. endif
-.else
-LICENSE_COMB= multi
-. if defined(FFMPEG_LICENSE_GPL3)
+.endif
+
+.if defined(FFMPEG_LICENSE_GPL3)
LICENSE= GPLv3 LGPL3
LICENSE_FILE_GPLv3= ${WRKSRC}/COPYING.GPLv3
LICENSE_FILE_LGPL3= ${WRKSRC}/COPYING.LGPLv3
CONFIGURE_ARGS+= --enable-version3
-. else
-LICENSE= GPLv2 LGPL21
-LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING.GPLv2
-LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING.LGPLv2.1
-. endif
.endif
post-patch: