aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/ffmpeg/Makefile30
-rw-r--r--multimedia/ffmpeg/pkg-plist25
2 files changed, 55 insertions, 0 deletions
diff --git a/multimedia/ffmpeg/Makefile b/multimedia/ffmpeg/Makefile
index 00070b6ae757..2088fd13b4b3 100644
--- a/multimedia/ffmpeg/Makefile
+++ b/multimedia/ffmpeg/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ffmpeg
DISTVERSION= 2008-07-27
+PORTREVISION= 1
CATEGORIES= multimedia audio ipv6 net
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= ahze
@@ -35,6 +36,31 @@ OPTIONS= AMR_NB "AMR narrowband encoder" off \
X264 "X.264 codec" on \
XVID "XVID codec" off
+COMPAT_HEADERS= libavcodec/avcodec.h \
+ libavcodec/opt.h \
+ libavdevice/avdevice.h \
+ libavformat/avformat.h \
+ libavformat/avio.h \
+ libavformat/rtsp.h \
+ libavformat/rtspcodes.h \
+ libavutil/adler32.h \
+ libavutil/avstring.h \
+ libavutil/avutil.h \
+ libavutil/base64.h \
+ libavutil/common.h \
+ libavutil/crc.h \
+ libavutil/fifo.h \
+ libavutil/intfloat_readwrite.h \
+ libavutil/log.h \
+ libavutil/lzo.h \
+ libavutil/mathematics.h \
+ libavutil/md5.h \
+ libavutil/mem.h \
+ libavutil/random.h \
+ libavutil/rational.h \
+ libavutil/sha1.h \
+ libpostproc/postprocess.h
+
.include <bsd.port.pre.mk>
CONFIGURE_ARGS+=--cc="${CC}" --prefix="${PREFIX}" \
@@ -285,5 +311,9 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/doc/${FILE} ${DOCSDIR}
.endfor
.endif
+ ${MKDIR} ${PREFIX}/include/ffmpeg
+.for FILE in ${COMPAT_HEADERS}
+ ${CP} -f ${PREFIX}/include/${FILE} ${PREFIX}/include/ffmpeg/${FILE:C,^[^/]+/([^/]+).*,\1,}
+.endfor
.include <bsd.port.post.mk>
diff --git a/multimedia/ffmpeg/pkg-plist b/multimedia/ffmpeg/pkg-plist
index bf8c80913e5c..52ba44d3d146 100644
--- a/multimedia/ffmpeg/pkg-plist
+++ b/multimedia/ffmpeg/pkg-plist
@@ -2,6 +2,30 @@ bin/ffmpeg
bin/ffserver
etc/ffserver.conf
etc/ffserver.conf-dist
+include/ffmpeg/adler32.h
+include/ffmpeg/avcodec.h
+include/ffmpeg/avdevice.h
+include/ffmpeg/avformat.h
+include/ffmpeg/avio.h
+include/ffmpeg/avstring.h
+include/ffmpeg/avutil.h
+include/ffmpeg/base64.h
+include/ffmpeg/common.h
+include/ffmpeg/crc.h
+include/ffmpeg/fifo.h
+include/ffmpeg/intfloat_readwrite.h
+include/ffmpeg/log.h
+include/ffmpeg/lzo.h
+include/ffmpeg/mathematics.h
+include/ffmpeg/md5.h
+include/ffmpeg/mem.h
+include/ffmpeg/opt.h
+include/ffmpeg/postprocess.h
+include/ffmpeg/random.h
+include/ffmpeg/rational.h
+include/ffmpeg/rtsp.h
+include/ffmpeg/rtspcodes.h
+include/ffmpeg/sha1.h
include/libavcodec/avcodec.h
include/libavcodec/opt.h
include/libavdevice/avdevice.h
@@ -61,3 +85,4 @@ libdata/pkgconfig/libpostproc.pc
@dirrm include/libavformat
@dirrm include/libavdevice
@dirrm include/libavcodec
+@dirrm include/ffmpeg