37 lines
801 B
Makefile
37 lines
801 B
Makefile
# $OpenBSD: Makefile,v 1.26 2013/03/11 11:35:43 espie Exp $
|
|
|
|
COMMENT= re-encode many media file formats to Ogg Theora
|
|
|
|
N= ffmpeg2theora
|
|
DISTNAME= ${N}-0.29
|
|
REVISION= 1
|
|
CATEGORIES= multimedia
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
HOMEPAGE= http://www.v2v.cc/~j/${N}/
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE_CDROM= patents in FFmpeg
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
WANTLIB += avcodec avdevice avfilter avformat avutil c m ogg postproc
|
|
WANTLIB += swscale theoradec theoraenc vorbis vorbisenc
|
|
|
|
MASTER_SITES= ${HOMEPAGE}downloads/
|
|
|
|
LIB_DEPENDS= graphics/ffmpeg>=20121026 \
|
|
audio/libvorbis \
|
|
multimedia/libtheora
|
|
|
|
MODULES= devel/scons converters/libiconv
|
|
|
|
MODSCONS_FLAGS= libkate=0
|
|
|
|
NO_TEST= Yes
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/${N} ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKBUILD}/${N}.1 ${PREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|