mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
e29b4ea99e
Reported by: krismail
59 lines
1.7 KiB
Makefile
59 lines
1.7 KiB
Makefile
# New ports collection makefile for: PenguinTV
|
|
# Date created: 14 March 2006
|
|
# Whom: Edwin Groothuis <edwin@mavetju.org>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= PenguinTV
|
|
PORTVERSION= 3.0
|
|
CATEGORIES= net audio multimedia
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= penguintv
|
|
|
|
MAINTAINER= edwin@mavetju.org
|
|
COMMENT= Graphical RSS feed reader with incorperated playback functions - development version
|
|
|
|
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/pysqlite2/_sqlite.so:${PORTSDIR}/databases/py-pysqlite21 \
|
|
${PYTHON_SITELIBDIR}/pycurl.so:${PORTSDIR}/ftp/py-curl \
|
|
${PYTHON_SITELIBDIR}/gtk-2.0/pynotify/_pynotify.so:${PORTSDIR}/devel/py-notify \
|
|
${PYTHON_SITELIBDIR}/gst-0.10/gst/__init__.py:${PORTSDIR}/multimedia/py-gstreamer \
|
|
${PYXML} \
|
|
${PYTHON_SITELIBDIR}/Pyrex/__init__.py:${PORTSDIR}/devel/pyrex
|
|
.if defined(PACKAGE_BUILDING)
|
|
BUILD_DEPENDS+= Xvfb:${X_VFBSERVER_PORT} \
|
|
${X11BASE}/lib/X11/fonts/misc/8x13O.pcf.gz:${X_FONTS_MISC_PORT}
|
|
.endif
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
WRKSRC= ${WRKDIR}/PenguinTV-${PORTVERSION}
|
|
|
|
OPTIONS= PYLUCENE "Use Lucene search engine" ON \
|
|
GSTREAMER "Use GStreamer engine" ON
|
|
|
|
USE_GNOME= pygnomeextras pygnome2
|
|
USE_PYTHON= yes
|
|
USE_GECKO= firefox
|
|
|
|
CONFLICTS= PenguinTV-devel-[0-9]*
|
|
|
|
.include <bsd.port.pre.mk>
|
|
.include "${PORTSDIR}/www/mozilla/bsd.gecko.mk"
|
|
|
|
.if defined(WITH_GSTREAMER)
|
|
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/gst-0.10/gst/__init__.py:${PORTSDIR}/multimedia/py-gstreamer
|
|
.endif
|
|
|
|
.if defined(WITHOUT_PYLUCENE)
|
|
#BROKEN= Cannot be run without PyLucene
|
|
.else
|
|
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/PyLucene.py:${PORTSDIR}/textproc/py-lucene
|
|
.endif
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && ${PYTHON_CMD} setup.py build
|
|
|
|
do-install:
|
|
cd ${WRKSRC} && ${PYTHON_CMD} setup.py install
|
|
|
|
.include <bsd.port.post.mk>
|