summaryrefslogtreecommitdiff
path: root/multimedia/oggvideotools/Makefile
blob: fb35dcf9550e991ad2ec8c451d21fbe78561dc9d (plain)
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
32
# Created by: Jille Timmermans (jille@quis.cx)
# $FreeBSD$

PORTNAME=	oggvideotools
PORTVERSION=	0.9.1
PORTREVISION=	14
CATEGORIES=	multimedia
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${DISTNAME}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Toolbox for manipulating Ogg video files

LICENSE=	GPLv2+
LICENSE_FILE=	${WRKSRC}/COPYING

BUILD_DEPENDS=	${LOCALBASE}/include/boost/circular_buffer.hpp:devel/boost-libs
LIB_DEPENDS=	libgd.so:graphics/gd \
		libogg.so:audio/libogg \
		libtheora.so:multimedia/libtheora \
		libvorbis.so:audio/libvorbis

USES=		cmake compiler:c++11-lib localbase:ldflags pkgconfig sdl \
		tar:bz2
USE_CXXSTD=	c++11
USE_SDL=	sdl
USE_LDCONFIG=	yes

post-patch:
	@${REINPLACE_CMD} -e \
		's|-O0.*-fPIC|-fPIC|' ${WRKSRC}/CMakeLists.txt

.include <bsd.port.mk>