# $NetBSD: Makefile,v 1.60 2010/05/04 18:33:43 drochner Exp $ PKGREVISION= 8 MAINTAINER= ahoka@NetBSD.org HOMEPAGE= http://ffmpeg.mplayerhq.hu/ COMMENT= Decoding, encoding and streaming software PKG_DESTDIR_SUPPORT= user-destdir CONFIGURE_ARGS+= --enable-avfilter \ --enable-avfilter-lavf \ --enable-postproc \ --enable-libvorbis \ --enable-libmp3lame INSTALLATION_DIRS= lib share/examples/ffmpeg share/doc/ffmpeg CONF_FILES+= ${PREFIX}/share/examples/ffmpeg/ffserver.conf \ ${PKG_SYSCONFDIR}/ffserver.conf post-install: ${INSTALL_DATA} ${WRKSRC}/libavcodec/api-example.c \ ${DESTDIR}${PREFIX}/share/doc/ffmpeg ${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/doc/TODO \ ${DESTDIR}${PREFIX}/share/doc/ffmpeg ${INSTALL_DATA} ${WRKSRC}/doc/*.txt \ ${DESTDIR}${PREFIX}/share/doc/ffmpeg ${INSTALL_DATA} ${WRKSRC}/doc/ffserver.conf \ ${DESTDIR}${PREFIX}/share/examples/ffmpeg .include "options.mk" # "lame-3.98" isn't compatible with "ffmpeg" which breaks audio encoding. BUILDLINK_ABI_DEPENDS.lame+= lame>=3.98.2nb1 .include "../../audio/lame/buildlink3.mk" .include "../../audio/libvorbis/buildlink3.mk" .include "../../multimedia/ffmpeg/Makefile.common"