2010-04-07 16:42:48 +00:00
|
|
|
# New ports collection makefile for: py-openlp
|
|
|
|
# Date created: 2010-01-19
|
|
|
|
# Whom: Thomas Abthorpe <tabthorpe@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= OpenLP
|
2011-09-26 01:53:15 +00:00
|
|
|
PORTVERSION= 1.9.7
|
2010-04-07 16:42:48 +00:00
|
|
|
CATEGORIES= multimedia python
|
2011-09-21 03:55:54 +00:00
|
|
|
MASTER_SITES= SF/${PORTNAME:L}/${PORTNAME:L}/${PORTVERSION}
|
2011-09-26 01:53:15 +00:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}
|
2010-04-07 16:42:48 +00:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
|
|
|
MAINTAINER= tabthorpe@FreeBSD.org
|
|
|
|
COMMENT= Open Source Lyrics Projection
|
|
|
|
|
2010-07-16 17:40:14 +00:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2010-04-07 16:42:48 +00:00
|
|
|
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 \
|
2011-09-09 19:15:47 +00:00
|
|
|
py*-mako>0:${PORTSDIR}/textproc/py-mako \
|
2011-09-21 03:55:54 +00:00
|
|
|
py*-sqlalchemy>=0.5:${PORTSDIR}/databases/py-sqlalchemy
|
2010-04-07 16:42:48 +00:00
|
|
|
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 \
|
2011-04-10 04:26:58 +00:00
|
|
|
py*-sqlalchemy>=0.5:${PORTSDIR}/databases/py-sqlalchemy \
|
|
|
|
py*-qt4-gui>=0:${PORTSDIR}/x11-toolkits/py-qt4-gui \
|
|
|
|
py*-qt4-webkit>=0:${PORTSDIR}/www/py-qt4-webkit \
|
|
|
|
py*-qt4-network>=0:${PORTSDIR}/net/py-qt4-network \
|
|
|
|
py*-chardet>=0:${PORTSDIR}/textproc/py-chardet \
|
2011-09-09 19:15:47 +00:00
|
|
|
py*-mako>0:${PORTSDIR}/textproc/py-mako \
|
2011-09-21 03:55:54 +00:00
|
|
|
py*-migrate>=0:${PORTSDIR}/databases/py-migrate \
|
|
|
|
py*-sqlite3>=0:${PORTSDIR}/databases/py-sqlite3
|
2010-04-07 16:42:48 +00:00
|
|
|
|
2011-09-21 03:55:54 +00:00
|
|
|
PYDISTUTILS_NOEGGINFO= yes
|
2010-04-07 16:42:48 +00:00
|
|
|
USE_PYTHON= 2.5+
|
2011-09-21 03:55:54 +00:00
|
|
|
USE_PYDISTUTILS= easy_install
|
2010-04-07 16:42:48 +00:00
|
|
|
USE_GSTREAMER= good
|
2011-09-21 03:55:54 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
2010-04-07 16:42:48 +00:00
|
|
|
|
|
|
|
post-install:
|
2011-09-21 03:55:54 +00:00
|
|
|
@${LN} -s ${PREFIX}/bin/openlp.pyw ${PREFIX}/bin/openlp
|
|
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/scripts/openlp-remoteclient.py \
|
|
|
|
${PREFIX}/bin/openlp-remoteclient.py
|
2010-04-07 16:42:48 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|