42 lines
1 KiB
Makefile
42 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.99 2013/01/21 13:25:07 wiz Exp $
|
|
|
|
PKGNAME= ffmpeg-20130106.${DISTVERSION}
|
|
PKGREVISION= 1
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://ffmpeg.mplayerhq.hu/
|
|
COMMENT= Decoding, encoding and streaming software
|
|
|
|
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 !empty(MACHINE_PLATFORM:MDarwin-*-i386) \
|
|
|| !empty(MACHINE_PLATFORM:MSunOS-*-i386)
|
|
CONFIGURE_ARGS+= --disable-asm
|
|
.endif
|
|
|
|
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/ffmpeg/Makefile.common"
|