blob: c0996b88a298317886c6f9b7f3aac6db6f8f4a14 (
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
|
# New ports collection makefile for: PenguinTV-devel
# Date created: 14 March 2006
# Whom: Edwin Groothuis <edwin@mavetju.org>
#
# $FreeBSD$
PORTNAME= PenguinTV
PORTVERSION= 2.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
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
USE_GNOME= pygnomeextras pygnome2
USE_PYTHON= yes
CONFLICTS= PenguinTV-devel-[0-9]*
.include <bsd.port.pre.mk>
.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
pre-fetch:
@${ECHO_MSG} If you are upgrading from 1.x, please export your subscriptions for save-keeping!
@sleep 5
do-build:
cd ${WRKSRC} && ${PYTHON_CMD} setup.py build
do-install:
touch ${WRKSRC}/mo/sv/LC_MESSAGES/penguintv.mo
cd ${WRKSRC} && ${PYTHON_CMD} setup.py install
.include <bsd.port.post.mk>
|