summaryrefslogtreecommitdiffstats
path: root/multimedia/ffmpeg
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2002-08-04 13:18:10 +0000
committerlioux <lioux@FreeBSD.org>2002-08-04 13:18:10 +0000
commit7acf61fc60e1dc8f1b50991011c50416bf9f29b8 (patch)
tree3d85f9691e40ed3e4fd41a25177d1b8fdb7a364e /multimedia/ffmpeg
parent303efc516180868425bc9b7d376a308717a4aa26 (diff)
downloadFreeBSD-ports-7acf61fc60e1dc8f1b50991011c50416bf9f29b8.zip
FreeBSD-ports-7acf61fc60e1dc8f1b50991011c50416bf9f29b8.tar.gz
o Install required header file
o Bump PORTREVISION PR: 41234 Submitted by: Xavier Beaudouin <kiwi@caudium.net>
Diffstat (limited to 'multimedia/ffmpeg')
-rw-r--r--multimedia/ffmpeg/Makefile8
-rw-r--r--multimedia/ffmpeg/pkg-plist1
2 files changed, 7 insertions, 2 deletions
diff --git a/multimedia/ffmpeg/Makefile b/multimedia/ffmpeg/Makefile
index c74cc47..77f823a 100644
--- a/multimedia/ffmpeg/Makefile
+++ b/multimedia/ffmpeg/Makefile
@@ -7,7 +7,7 @@
PORTNAME= ffmpeg
PORTVERSION= 0.4.5
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -32,7 +32,8 @@ DOC_FILES= README
DOC_DOCFILES= FAQ README.dev README.tech \
TODO bench.txt ffmpeg.txt \
ffserver.txt
-HEADER_FILES= libavcodec/avcodec.h libavcodec/dsputil.h
+HEADER_FILES= libavcodec/avcodec.h libavcodec/common.h \
+ libavcodec/dsputil.h
LIB_FILES= libav/libav.a libavcodec/libavcodec.a
.ifdef(WITHOUT_MMX)
@@ -61,6 +62,9 @@ post-install:
@${INSTALL_DATA} ${WRKSRC}/doc/ffserver.conf \
${PREFIX}/etc/ffserver.conf.sample
.for file in ${HEADER_FILES}
+# fix header references prior to installation
+ @${REINPLACE_CMD} -e 's|"common.h"|<libavcodec/common.h>|' \
+ ${WRKSRC}/${file}
@${MKDIR} ${PREFIX}/include/${file:H}
@${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/include/${file}
.endfor
diff --git a/multimedia/ffmpeg/pkg-plist b/multimedia/ffmpeg/pkg-plist
index f49348d..cd53f45 100644
--- a/multimedia/ffmpeg/pkg-plist
+++ b/multimedia/ffmpeg/pkg-plist
@@ -2,6 +2,7 @@ bin/ffmpeg
bin/ffserver
etc/ffserver.conf.sample
include/libavcodec/avcodec.h
+include/libavcodec/common.h
include/libavcodec/dsputil.h
lib/libav.a
lib/libavcodec.a
OpenPOWER on IntegriCloud