aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/ffmpeg2theora/Makefile
blob: 6ccd92ca7857b8c4288e7b3cac4a3da75963a158 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Created by: Anders Nordby <anders@FreeBSD.org>
# $FreeBSD$

PORTNAME=   ffmpeg2theora
PORTVERSION=    0.29
CATEGORIES= multimedia
MASTER_SITES=   http://v2v.cc/~j/ffmpeg2theora/downloads/

MAINTAINER= wg@FreeBSD.org
COMMENT=    Reencode many media file formats to Ogg Theora

LICENSE=    GPLv3

LIB_DEPENDS=    libavcodec.so:${PORTSDIR}/multimedia/ffmpeg \
        libkate.so:${PORTSDIR}/multimedia/libkate \
        libtheora.so:${PORTSDIR}/multimedia/libtheora

USES=       iconv pkgconfig scons tar:bzip2
MAKE_ENV=   APPEND_CCFLAGS="${CPPFLAGS}" APPEND_LINKFLAGS="${LDFLAGS}" CCFLAGS="${CPPFLAGS}"

CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib ${PTHREAD_LIBS}

PLIST_FILES=    bin/ffmpeg2theora man/man1/ffmpeg2theora.1.gz

.include <bsd.port.mk>