6e91947b7a
In theory the database upgrade should go automatically, but please make sure that you export your subscriptions first!
54 lines
1.5 KiB
Makefile
54 lines
1.5 KiB
Makefile
# 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>
|