# $NetBSD: Makefile,v 1.2 2012/09/25 13:47:21 jperkin Exp $ PKGNAME= ffmpeg-20120609.${DISTVERSION} MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://ffmpeg.mplayerhq.hu/ COMMENT= Decoding, encoding and streaming software PKG_DESTDIR_SUPPORT= user-destdir CONFIGURE_ARGS+= --enable-avfilter #CONFIGURE_ARGS+= --enable-avfilter-lavf CONFIGURE_ARGS+= --enable-postproc INSTALLATION_DIRS= lib share/examples/ffmpeg share/doc/ffmpeg CONF_FILES+= ${PREFIX}/share/examples/ffmpeg/ffserver.conf \ ${PKG_SYSCONFDIR}/ffserver.conf .include "../../mk/bsd.prefs.mk" .if ${OPSYS} == "Darwin" CONFIGURE_ARGS+= --disable-asm .endif # "error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'" CFLAGS.SunOS+= -DBROKEN_RELOCATIONS=1 TEST_TARGET= check post-install: ${INSTALL_DATA} ${WRKSRC}/doc/*.txt \ ${DESTDIR}${PREFIX}/share/doc/ffmpeg ${INSTALL_DATA} ${WRKSRC}/doc/ffserver.conf \ ${DESTDIR}${PREFIX}/share/examples/ffmpeg .include "options.mk" .include "../../mk/compiler.mk" .if !empty(PKGSRC_COMPILER:Mclang) CFLAGS+= -no-integrated-as .endif .include "../../multimedia/ffmpeg010/Makefile.common"