# $FreeBSD: tags/RELEASE_10_0_0/multimedia/recordmydesktop/Makefile 333817 2013-11-15 05:52:28Z kevlo $

PORTNAME=	recordmydesktop
DISTVERSION=	0.3.8.1
PORTREVISION=	5
CATEGORIES=	multimedia
MASTER_SITES=	SF

MAINTAINER=	kevlo@FreeBSD.org
COMMENT=	Record desktop sessions to an Ogg-Theora-Vorbis file

LIB_DEPENDS=	theora.0:${PORTSDIR}/multimedia/libtheora \
		jack.0:${PORTSDIR}/audio/jack

GNU_CONFIGURE=	yes
CONFIGURE_ARGS+=	--enable-oss=yes \
			--enable-jack=yes

USE_XORG=	ice sm x11 xext xextproto xfixes xdamage
PLIST_FILES=	bin/recordmydesktop man/man1/recordmydesktop.1.gz

post-patch:
	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
		${WRKSRC}/configure

.include <bsd.port.mk>
