aboutsummaryrefslogtreecommitdiff
path: root/multimedia/mythplugin-mythvideo/Makefile
blob: d210a0cbfb1dd2d3417b688a98f461b3a3cd290e (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
32
33
34
35
36
# New ports collection makefile for:	mythplugin-mythvideo
# Date created:		2010-03-06
# Whom:			Bernhard Froehlich <decke@bluelife.at>
#
# $FreeBSD$
#

PORTNAME=	mythvideo
PORTVERSION=	0.23.1
CATEGORIES=	multimedia
MASTER_SITES=	http://ftp.osuosl.org/pub/mythtv/ \
		http://ftp.oregonstate.edu/pub/mythtv/
PKGNAMEPREFIX=	mythplugin-
DISTNAME=	mythplugins-${PORTVERSION}

MAINTAINER=	decke@FreeBSD.org
COMMENT=	Video playback and browsing plugin for MythTV

BUILD_DEPENDS=	mythfrontend:${PORTSDIR}/multimedia/mythtv
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}MySQLdb>=1.2.2:${PORTSDIR}/databases/py-MySQLdb

USE_BZIP2=	yes
USE_QT_VER=	4
QT_COMPONENTS=	linguist_build moc_build qmake_build rcc_build uic_build
HAS_CONFIGURE=	yes
USE_PYTHON=	yes
USE_LDCONFIG=	${PREFIX}/lib/mythtv/plugins

PLIST_SUB+=	MYTHSHARE="share/mythtv"

QMAKESPEC?=	${LOCALBASE}/share/qt4/mkspecs/freebsd-g++

CONFIGURE_ARGS=	--prefix="${PREFIX}" --disable-all \
		--enable-mythvideo

.include <bsd.port.mk>