2011-06-24 07:17:05 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.19 2011/06/24 11:17:05 sthen Exp $
|
2007-01-27 12:56:14 -05:00
|
|
|
|
2007-07-25 10:26:24 -04:00
|
|
|
COMMENT= reencode many media file formats to Ogg Theora
|
2007-01-27 12:56:14 -05:00
|
|
|
|
2010-05-26 19:18:45 -04:00
|
|
|
N= ffmpeg2theora
|
2011-01-02 02:42:01 -05:00
|
|
|
DISTNAME= ${N}-0.27
|
2011-06-24 07:17:05 -04:00
|
|
|
REVISION= 3
|
2007-01-27 12:56:14 -05:00
|
|
|
CATEGORIES= multimedia
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
2010-05-26 19:18:45 -04:00
|
|
|
HOMEPAGE= http://www.v2v.cc/~j/${N}/
|
2007-01-27 12:56:14 -05:00
|
|
|
|
2010-05-26 19:18:45 -04:00
|
|
|
# GPLv3
|
2007-09-15 23:24:28 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= patents in ffmpeg
|
2007-01-27 12:56:14 -05:00
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2009-07-19 08:42:04 -04:00
|
|
|
|
2011-04-18 19:27:31 -04:00
|
|
|
WANTLIB += X11 Xext Xfixes avcodec avdevice avformat avutil bz2
|
2011-06-24 07:17:05 -04:00
|
|
|
WANTLIB += c gsm iconv m mp3lame ogg orc-0.4 postproc pthread
|
2011-04-18 19:27:31 -04:00
|
|
|
WANTLIB += schroedinger-1.0 sndio speex swscale theoradec theoraenc
|
|
|
|
WANTLIB += vorbis vorbisenc vpx x264 z
|
2007-01-27 12:56:14 -05:00
|
|
|
|
2010-05-26 19:18:45 -04:00
|
|
|
MASTER_SITES= ${HOMEPAGE}downloads/
|
2007-01-27 12:56:14 -05:00
|
|
|
|
2010-11-19 02:23:05 -05:00
|
|
|
LIB_DEPENDS= graphics/ffmpeg>=20080620p10 \
|
|
|
|
audio/libvorbis \
|
|
|
|
multimedia/libtheora
|
2007-01-27 12:56:14 -05:00
|
|
|
|
2010-05-26 19:18:45 -04:00
|
|
|
MODULES= devel/scons
|
2007-01-27 12:56:14 -05:00
|
|
|
|
2010-05-26 19:18:45 -04:00
|
|
|
MODSCONS_FLAGS= libkate=0
|
2010-10-24 17:40:38 -04:00
|
|
|
USE_GROFF= Yes
|
2010-05-26 19:18:45 -04:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/${N} ${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKBUILD}/${N}.1 ${PREFIX}/man/man1
|
2007-01-27 12:56:14 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|