diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-08-20 03:06:20 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-08-20 03:06:20 +0800 |
commit | 15b2da4e7400e4784657201f206a7ccf00cea053 (patch) | |
tree | b494f0d4af7b3545290e2aefde4e83a06e9c1025 /net/penguintv/Makefile | |
parent | ee72fd0ff89d000d5eac8e5afb3bee4740fa0cc1 (diff) | |
download | marcuscom-ports-15b2da4e7400e4784657201f206a7ccf00cea053.tar marcuscom-ports-15b2da4e7400e4784657201f206a7ccf00cea053.tar.gz marcuscom-ports-15b2da4e7400e4784657201f206a7ccf00cea053.tar.bz2 marcuscom-ports-15b2da4e7400e4784657201f206a7ccf00cea053.tar.lz marcuscom-ports-15b2da4e7400e4784657201f206a7ccf00cea053.tar.xz marcuscom-ports-15b2da4e7400e4784657201f206a7ccf00cea053.tar.zst marcuscom-ports-15b2da4e7400e4784657201f206a7ccf00cea053.zip |
Sync w/ FreeBSD ports tree.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7073 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'net/penguintv/Makefile')
-rw-r--r-- | net/penguintv/Makefile | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/net/penguintv/Makefile b/net/penguintv/Makefile new file mode 100644 index 000000000..b20053586 --- /dev/null +++ b/net/penguintv/Makefile @@ -0,0 +1,61 @@ +# New ports collection makefile for: PenguinTV-devel +# Date created: 14 March 2006 +# Whom: Edwin Groothuis <edwin@mavetju.org> +# +# $FreeBSD$ + +PORTNAME= PenguinTV +PORTVERSION= 2.0.1 +PORTREVISION= 1 +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= gnomehier pygnomeextras pygnome2 +USE_PYTHON= yes + +GCONF_SCHEMAS= penguintv.schema + +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: + cd ${WRKSRC} && ${PYTHON_CMD} setup.py install + +post-install: + @${MKDIR} ${LOCALBASE}/etc/gconf/schemas + @${INSTALL_DATA} ${WRKSRC}/share/penguintv.schema \ + ${LOCALBASE}/etc/gconf/schemas/ + +.include <bsd.port.post.mk> |