From 3d6fb3e4666ba65861f8b57654d8a5982f3dfa04 Mon Sep 17 00:00:00 2001 From: Mario Sergio Fujikawa Ferreira Date: Sun, 8 May 2005 21:46:35 +0000 Subject: [PATCH] New port python-xmltv version 0.5.21: A Python module that provides access to XMLTV TV listings --- textproc/Makefile | 1 + textproc/py-xmltv/Makefile | 32 ++++++++++++++++++++++++++++++++ textproc/py-xmltv/distinfo | 2 ++ textproc/py-xmltv/pkg-descr | 9 +++++++++ textproc/py-xmltv/pkg-plist | 5 +++++ 5 files changed, 49 insertions(+) create mode 100644 textproc/py-xmltv/Makefile create mode 100644 textproc/py-xmltv/distinfo create mode 100644 textproc/py-xmltv/pkg-descr create mode 100644 textproc/py-xmltv/pkg-plist diff --git a/textproc/Makefile b/textproc/Makefile index 3d5a2191fa6e..b5974ec76b0d 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -549,6 +549,7 @@ SUBDIR += py-wordnet SUBDIR += py-xml SUBDIR += py-xmltools + SUBDIR += py-xmltv SUBDIR += py-zpt SUBDIR += py2html SUBDIR += pybook diff --git a/textproc/py-xmltv/Makefile b/textproc/py-xmltv/Makefile new file mode 100644 index 000000000000..bcacd7a37502 --- /dev/null +++ b/textproc/py-xmltv/Makefile @@ -0,0 +1,32 @@ +# New ports collection makefile for: python xmltv +# Date created: Sun May 8 21:31:15 UTC 2005 +# Whom: Mario Sergio Fujikawa Ferreira +# +# $FreeBSD$ +# + +PORTNAME= xmltv +PORTVERSION= 0.5.21 +CATEGORIES= textproc python +MASTER_SITES= http://www.funktronics.ca/python-xmltv/releases/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= python-xmltv-${PORTVERSION} + +BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/_xmlplus/__init__.py:${PORTSDIR}/textproc/py-xml +RUN_DEPENDS= ${BUILD_DEPENDS} + +MAINTAINER= lioux@FreeBSD.org +COMMENT= A Python module that provides access to XMLTV TV listings + +USE_PYTHON= yes +USE_PYDISTUTILS= yes + +PORTDOCS= README.txt + +post-install: +.ifndef(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR} +.endif + +.include diff --git a/textproc/py-xmltv/distinfo b/textproc/py-xmltv/distinfo new file mode 100644 index 000000000000..4d4fb25e390b --- /dev/null +++ b/textproc/py-xmltv/distinfo @@ -0,0 +1,2 @@ +MD5 (python-xmltv-0.5.21.tar.gz) = 5acab1928213dad6f5f6b0b15801a6b9 +SIZE (python-xmltv-0.5.21.tar.gz) = 19016 diff --git a/textproc/py-xmltv/pkg-descr b/textproc/py-xmltv/pkg-descr new file mode 100644 index 000000000000..313df2767642 --- /dev/null +++ b/textproc/py-xmltv/pkg-descr @@ -0,0 +1,9 @@ +[ excerpt from developer's www site ] + +python-xmltv is a Python module that provides access to XMLTV data. +XMLTV is an XML format for storing TV listings. More information +on XMLTV can be found at http://membled.com/work/apps/xmltv/ + +WWW: http://www.funktronics.ca/python-xmltv/ + +-- lioux@FreeBSD.org diff --git a/textproc/py-xmltv/pkg-plist b/textproc/py-xmltv/pkg-plist new file mode 100644 index 000000000000..644befa2b12d --- /dev/null +++ b/textproc/py-xmltv/pkg-plist @@ -0,0 +1,5 @@ +%%PYTHON_SITELIBDIR%%/xmltv.py +%%PYTHON_SITELIBDIR%%/xmltv.pyc +%%PYTHON_SITELIBDIR%%/xmltv.pyo +@unexec rmdir %D/%%PYTHON_SITELIBDIR%% 2>/dev/null || true +@unexec rmdir %D/%%PYTHON_LIBDIR%% 2>/dev/null || true