# $OpenBSD: Makefile,v 1.22 2012/02/16 22:35:57 ajacoutot Exp $ COMMENT= re-encode many media file formats to Ogg Theora N= ffmpeg2theora DISTNAME= ${N}-0.28 CATEGORIES= multimedia EXTRACT_SUFX= .tar.bz2 HOMEPAGE= http://www.v2v.cc/~j/${N}/ # GPLv3 PERMIT_PACKAGE_CDROM= patents in FFmpeg PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes WANTLIB += X11 Xext Xfixes avcodec avdevice avformat avutil bz2 WANTLIB += c gsm m mp3lame ogg orc-0.4 postproc pthread WANTLIB += schroedinger-1.0 sndio speex swscale theoradec theoraenc WANTLIB += vorbis vorbisenc vpx x264 z MASTER_SITES= ${HOMEPAGE}downloads/ LIB_DEPENDS= graphics/ffmpeg>=20110408p5 \ audio/libvorbis \ multimedia/libtheora MODULES= devel/scons converters/libiconv MODSCONS_FLAGS= libkate=0 NO_REGRESS= Yes do-install: ${INSTALL_PROGRAM} ${WRKBUILD}/${N} ${PREFIX}/bin ${INSTALL_MAN} ${WRKBUILD}/${N}.1 ${PREFIX}/man/man1 .include