From 7acf61fc60e1dc8f1b50991011c50416bf9f29b8 Mon Sep 17 00:00:00 2001 From: lioux Date: Sun, 4 Aug 2002 13:18:10 +0000 Subject: o Install required header file o Bump PORTREVISION PR: 41234 Submitted by: Xavier Beaudouin --- multimedia/ffmpeg/Makefile | 8 ++++++-- multimedia/ffmpeg/pkg-plist | 1 + 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'multimedia/ffmpeg') diff --git a/multimedia/ffmpeg/Makefile b/multimedia/ffmpeg/Makefile index c74cc47acc40..77f823afa071 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"||' \ + ${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 f49348d8f271..cd53f45e0e73 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 -- cgit