aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/ffmpeg045
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2002-08-04 21:18:10 +0800
committerlioux <lioux@FreeBSD.org>2002-08-04 21:18:10 +0800
commit7acf61fc60e1dc8f1b50991011c50416bf9f29b8 (patch)
tree3d85f9691e40ed3e4fd41a25177d1b8fdb7a364e /multimedia/ffmpeg045
parent303efc516180868425bc9b7d376a308717a4aa26 (diff)
downloadfreebsd-ports-graphics-7acf61fc60e1dc8f1b50991011c50416bf9f29b8.tar.gz
freebsd-ports-graphics-7acf61fc60e1dc8f1b50991011c50416bf9f29b8.tar.zst
freebsd-ports-graphics-7acf61fc60e1dc8f1b50991011c50416bf9f29b8.zip
o Install required header file
o Bump PORTREVISION PR: 41234 Submitted by: Xavier Beaudouin <kiwi@caudium.net>
Diffstat (limited to 'multimedia/ffmpeg045')
-rw-r--r--multimedia/ffmpeg045/Makefile8
-rw-r--r--multimedia/ffmpeg045/pkg-plist1
2 files changed, 7 insertions, 2 deletions
diff --git a/multimedia/ffmpeg045/Makefile b/multimedia/ffmpeg045/Makefile
index c74cc47acc4..77f823afa07 100644
--- a/multimedia/ffmpeg045/Makefile
+++ b/multimedia/ffmpeg045/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/ffmpeg045/pkg-plist b/multimedia/ffmpeg045/pkg-plist
index f49348d8f27..cd53f45e0e7 100644
--- a/multimedia/ffmpeg045/pkg-plist
+++ b/multimedia/ffmpeg045/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