blob: a8c02eb0b0091911279e83fa2acae9a89945ff66 (
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
# New ports collection makefile for: PenguinTV-devel
# Date created: 14 March 2006
# Whom: Edwin Groothuis <edwin@mavetju.org>
#
# $FreeBSD$
PORTNAME= PenguinTV
PORTVERSION= 2.5.6
CATEGORIES= net audio multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= penguintv
PKGNAMESUFFIX= -devel
DISTNAME= ${PORTNAME}-2.56
WRKSRC= ${WRKDIR}/PenguinTV-2.56
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 \
${PYXML}
.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}
OPTIONS= MOZILLA "Use Mozilla rendered (experimental)" OFF \
PYLUCENE "Use Lucene search engine" ON \
GSTREAMER "Use GStreamer engine" ON
USE_GNOME= pygnomeextras pygnome2
USE_PYTHON= yes
CONFLICTS= PenguinTV-[0-9]*
.include <bsd.port.pre.mk>
.if defined(WITH_GSTREAMER)
RUN_DEPENDS+= ${LOCALBASE}/lib/python2.4/site-packages/pygst.py:${PORTSDIR}/multimedia/py-gstreamer
.endif
.if defined(WITHOUT_PYLUCENE)
#BROKEN= Cannot be run without PyLucene
.else
RUN_DEPENDS+= ${LOCALBASE}/lib/python2.4/site-packages/PyLucene.py:${PORTSDIR}/textproc/py-lucene
.endif
.if defined(WITH_MOZILLA)
BUILD_DEPENDS+= ${PYTHON_SITELIBDIR}/Pyrex/__init__.py:${PORTSDIR}/devel/pyrex \
mozilla-config:${PORTSDIR}/www/mozilla
PLIST_SUB+= WITH_MOZILLA=""
.else
EXTRA_PATCHES+= ${FILESDIR}/patchmozilla-setup.py
PLIST_SUB+= WITH_MOZILLA="@comment "
.endif
do-build:
cd ${WRKSRC} && ${PYTHON_CMD} setup.py build
do-install:
cd ${WRKSRC} && ${PYTHON_CMD} setup.py install
.include <bsd.port.post.mk>
|