aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2008-08-05 11:02:39 +0800
committermezz <mezz@FreeBSD.org>2008-08-05 11:02:39 +0800
commitecbcef0e34be0ea560651fef5a2e0bbeb8828612 (patch)
tree0b537251640429a8730d5ae8e463ddb2333f5285 /multimedia
parent92700b6fccaf3212edbb6be78678eb86a7c40ae2 (diff)
downloadfreebsd-ports-gnome-ecbcef0e34be0ea560651fef5a2e0bbeb8828612.tar.gz
freebsd-ports-gnome-ecbcef0e34be0ea560651fef5a2e0bbeb8828612.tar.zst
freebsd-ports-gnome-ecbcef0e34be0ea560651fef5a2e0bbeb8828612.zip
Fix compat headers installation, bump the PORTREVISION.
PR: ports/126061 Submitted by: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net> Approved by: marcus
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/ffmpeg/Makefile8
-rw-r--r--multimedia/ffmpeg/pkg-plist3
2 files changed, 7 insertions, 4 deletions
diff --git a/multimedia/ffmpeg/Makefile b/multimedia/ffmpeg/Makefile
index 2088fd13b4b3..00c28c1ef895 100644
--- a/multimedia/ffmpeg/Makefile
+++ b/multimedia/ffmpeg/Makefile
@@ -7,7 +7,7 @@
PORTNAME= ffmpeg
DISTVERSION= 2008-07-27
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= multimedia audio ipv6 net
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= ahze
@@ -58,8 +58,7 @@ COMPAT_HEADERS= libavcodec/avcodec.h \
libavutil/mem.h \
libavutil/random.h \
libavutil/rational.h \
- libavutil/sha1.h \
- libpostproc/postprocess.h
+ libavutil/sha1.h
.include <bsd.port.pre.mk>
@@ -315,5 +314,8 @@ post-install:
.for FILE in ${COMPAT_HEADERS}
${CP} -f ${PREFIX}/include/${FILE} ${PREFIX}/include/ffmpeg/${FILE:C,^[^/]+/([^/]+).*,\1,}
.endfor
+ ${MKDIR} ${PREFIX}/include/postproc
+ ${CP} -f ${PREFIX}/include/libpostproc/postprocess.h \
+ ${PREFIX}/include/postproc/
.include <bsd.port.post.mk>
diff --git a/multimedia/ffmpeg/pkg-plist b/multimedia/ffmpeg/pkg-plist
index 52ba44d3d146..c80f3b405945 100644
--- a/multimedia/ffmpeg/pkg-plist
+++ b/multimedia/ffmpeg/pkg-plist
@@ -20,7 +20,6 @@ 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
@@ -50,6 +49,7 @@ include/libavutil/random.h
include/libavutil/rational.h
include/libavutil/sha1.h
include/libpostproc/postprocess.h
+include/postproc/postprocess.h
lib/libavcodec.a
lib/libavcodec.so
lib/libavcodec.so.1
@@ -80,6 +80,7 @@ libdata/pkgconfig/libavformat.pc
libdata/pkgconfig/libavutil.pc
libdata/pkgconfig/libpostproc.pc
@dirrm lib/vhook
+@dirrm include/postproc
@dirrm include/libpostproc
@dirrm include/libavutil
@dirrm include/libavformat