aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/py-openlp/Makefile
blob: e6fb75fa37dad283e9a55129af0d73a75e630600 (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
37
38
39
40
41
# New ports collection makefile for:    py-openlp
# Date created:     2010-01-19
# Whom:         Thomas Abthorpe <tabthorpe@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   OpenLP
PORTVERSION=    1.9.3
CATEGORIES= multimedia python
MASTER_SITES=   SF/openlp/openlp/${PORTVERSION}
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= tabthorpe@FreeBSD.org
COMMENT=    Open Source Lyrics Projection

LICENSE=    GPLv2

BUILD_DEPENDS=  py*-sip>=0:${PORTSDIR}/devel/py-sip \
        py*-qt4-core>=0:${PORTSDIR}/devel/py-qt4-core \
        py*-qt4-gui>=0:${PORTSDIR}/x11-toolkits/py-qt4-gui \
        py*-sqlalchemy>=0.5:${PORTSDIR}/databases/py-sqlalchemy
RUN_DEPENDS=    py*-beautifulsoup<3.1:${PORTSDIR}/www/py-beautifulsoup30 \
        py*-lxml>=0:${PORTSDIR}/devel/py-lxml \
        py*-phonon>=${PYQT4_VERSION}:${PORTSDIR}/multimedia/py-qt4-phonon \
        py*-chardet>=0:${PORTSDIR}/textproc/py-chardet

PLIST_SUB+= VERSION="${PORTVERSION}" PYTHON_VER="${PYTHON_VER}"

USE_PYTHON=     2.5+
USE_PYTHON_PREFIX=  yes
USE_GSTREAMER=      good
NO_BUILD=       yes

do-install:
    cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py install

post-install:
    @${MV} ${PREFIX}/bin/openlp.pyw ${PREFIX}/bin/openlp

.include <bsd.port.mk>