aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/ffmpeg/Makefile
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2007-10-10 02:19:18 +0800
committerahze <ahze@FreeBSD.org>2007-10-10 02:19:18 +0800
commit251bcf071cb3b5b55f596ee592da07063830caad (patch)
tree03325403ad6b892ef6bf1e7ee774078137fc6ea1 /multimedia/ffmpeg/Makefile
parent70514fe9172421320742963c877d6c022909a6bf (diff)
downloadfreebsd-ports-gnome-251bcf071cb3b5b55f596ee592da07063830caad.tar.gz
freebsd-ports-gnome-251bcf071cb3b5b55f596ee592da07063830caad.tar.zst
freebsd-ports-gnome-251bcf071cb3b5b55f596ee592da07063830caad.zip
- Update to 2007-10-04
- Chase libtheora
Diffstat (limited to 'multimedia/ffmpeg/Makefile')
-rw-r--r--multimedia/ffmpeg/Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/multimedia/ffmpeg/Makefile b/multimedia/ffmpeg/Makefile
index 5aa506865d8b..00a9ebdeeb32 100644
--- a/multimedia/ffmpeg/Makefile
+++ b/multimedia/ffmpeg/Makefile
@@ -3,10 +3,11 @@
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
-#
+# $Id: Makefile 66 2007-10-09 17:50:49Z buhnux $
PORTNAME= ffmpeg
-DISTVERSION= 2007-09-14
+DISTVERSION= 2007-10-04
+PORTREVISION= 1
CATEGORIES= multimedia audio ipv6 net
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= ahze
@@ -32,7 +33,8 @@ CONFIGURE_ARGS+=--cc="${CC}" --prefix="${PREFIX}" \
--extra-ldflags="-L${LOCALBASE}/lib ${FFMPEG_LDFLAGS}" \
--extra-libs="${PTHREAD_LIBS}" \
--enable-gpl \
- --enable-pthreads
+ --enable-pthreads \
+ --mandir=${PREFIX}/man
CONFIGURE_ENV+= LANG=C
MAKE_ENV+= INSTALL="${INSTALL}"
SHLIB_VER= 1
@@ -145,7 +147,7 @@ PLIST_SUB+= SWSCAL="@comment "
## theora
.if !defined(WITHOUT_THEORA)
WITH_OGG= yes
-LIB_DEPENDS+= theora.2:${PORTSDIR}/multimedia/libtheora
+LIB_DEPENDS+= theora.0:${PORTSDIR}/multimedia/libtheora
CONFIGURE_ARGS+= --enable-libtheora
.endif
@@ -158,7 +160,7 @@ CONFIGURE_ARGS+= --enable-libvorbis
FFMPEG_CFLAGS+= -I${LOCALBASE}/include/vorbis
.endif
# x264
-.ifdef(WITH_X264) || exists(${LOCALBASE}/lib/libx264.so)
+.ifndef(WITHOUT_X264) || exists(${LOCALBASE}/lib/libx264.so)
LIB_DEPENDS+= x264.50:${PORTSDIR}/multimedia/x264
CONFIGURE_ARGS+= --enable-libx264
@@ -238,8 +240,8 @@ pre-everything::
@${ECHO_MSG} 'Define WITHOUT_VORBIS to enable libvorbisenc VORBIS codec'
@${ECHO_MSG}
.endif
-.ifndef(WITH_X264)
- @${ECHO_MSG} 'Define WITH_X264 to enable X264 codec'
+.ifndef(WITHOUT_X264)
+ @${ECHO_MSG} 'Define WITHOUT_X264 to disable X264 codec'
@${ECHO_MSG}
.endif
.ifndef(WITH_XVID)