aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/ffmpeg2theora/Makefile
blob: 3eb9f843d2ed56e1594b413f8692a7ec97c74512 (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
27
28
29
30
31
# Created by: Anders Nordby <anders@FreeBSD.org>
# $FreeBSD$

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

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

LICENSE=    GPLv3

LIB_DEPENDS=    avcodec:${PORTSDIR}/multimedia/ffmpeg \
        kate:${PORTSDIR}/multimedia/libkate \
        theora:${PORTSDIR}/multimedia/libtheora

USE_BZIP2=  yes
USES=       iconv pkgconfig
USE_SCONS=  yes
SCONS_BUILDENV= CC="${CC}" CCFLAGS="${CFLAGS}" \
        APPEND_CCFLAGS="${CPPFLAGS}" APPEND_LINKFLAGS="${LDFLAGS}"

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

MAN1=       ffmpeg2theora.1
PLIST_FILES=    bin/ffmpeg2theora

NO_STAGE=   yes
.include <bsd.port.mk>