aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
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 /graphics
parent303efc516180868425bc9b7d376a308717a4aa26 (diff)
downloadfreebsd-ports-gnome-7acf61fc60e1dc8f1b50991011c50416bf9f29b8.tar.gz
freebsd-ports-gnome-7acf61fc60e1dc8f1b50991011c50416bf9f29b8.tar.zst
freebsd-ports-gnome-7acf61fc60e1dc8f1b50991011c50416bf9f29b8.zip
o Install required header file
o Bump PORTREVISION PR: 41234 Submitted by: Xavier Beaudouin <kiwi@caudium.net>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/ffmpeg/Makefile8
-rw-r--r--graphics/ffmpeg/pkg-plist1
2 files changed, 7 insertions, 2 deletions
diff --git a/graphics/ffmpeg/Makefile b/graphics/ffmpeg/Makefile
index c74cc47acc40..77f823afa071 100644
--- a/graphics/ffmpeg/Makefile
+++ b/graphics/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/graphics/ffmpeg/pkg-plist b/graphics/ffmpeg/pkg-plist
index f49348d8f271..cd53f45e0e73 100644
--- a/graphics/ffmpeg/pkg-plist
+++ b/graphics/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