1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

Link ffmpeg compat headers instead of copying

This commit is contained in:
Martin Matuska 2012-08-06 12:44:50 +00:00
parent b49935f425
commit 5ffd890641
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=302177

View File

@ -6,7 +6,7 @@
PORTNAME= ffmpeg
PORTVERSION= 0.7.13
PORTREVISION= 5
PORTREVISION= 6
PORTEPOCH= 1
CATEGORIES= multimedia audio ipv6 net
MASTER_SITES= http://ffmpeg.org/releases/
@ -442,10 +442,10 @@ post-install:
.endif
${MKDIR} ${PREFIX}/include/ffmpeg
.for FILE in ${COMPAT_HEADERS}
${CP} -f ${PREFIX}/include/${FILE} ${PREFIX}/include/ffmpeg/${FILE:C,^[^/]+/([^/]+).*,\1,}
${LN} -sf ../${FILE} ${PREFIX}/include/ffmpeg/${FILE:C,^[^/]+/([^/]+).*,\1,}
.endfor
${MKDIR} ${PREFIX}/include/postproc
${CP} -f ${PREFIX}/include/libpostproc/postprocess.h \
${PREFIX}/include/postproc/
${LN} -sf ../libpostproc/postprocess.h \
${PREFIX}/include/postproc/postprocess.h
.include <bsd.port.post.mk>