aboutsummaryrefslogtreecommitdiffstats
path: root/net/penguintv-devel/Makefile
blob: 70b9acacd36df99c0fb0186eb3f1a5b103300383 (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
# New ports collection makefile for:    PenguinTV-devel
# Date created:             14 March 2006
# Whom:                 Edwin Groothuis <edwin@mavetju.org>
#
# $FreeBSD$

PORTNAME=   PenguinTV
PORTVERSION=    1.93
PORTREVISION=   1
CATEGORIES= net audio multimedia
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= penguintv
PKGNAMESUFFIX=  -devel

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}

IGNORE=     has been overtaken by the non-devel version

OPTIONS=    MOZILLA "Use Mozilla rendered (experimental)" OFF

USE_GNOME=  pygnomeextras pygnome2
USE_PYTHON= yes

CONFLICTS=  PenguinTV-[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

do-build:
    cd ${WRKSRC} && ${PYTHON_CMD} setup.py build

do-install:
    cd ${WRKSRC} && ${PYTHON_CMD} setup.py install

.include <bsd.port.post.mk>