New port py-rtf, a library to create RTF documents using the Python language.

This commit is contained in:
Thomas Gellekum
2005-05-11 11:27:28 +00:00
parent 52d43b3578
commit 15b083bd04
5 changed files with 64 additions and 0 deletions

View File

@@ -239,6 +239,7 @@
SUBDIR += py-fonttools
SUBDIR += py-freetype
SUBDIR += py-reportlab
SUBDIR += py-rtf
SUBDIR += rlpr
SUBDIR += rprint
SUBDIR += rtf2latex

28
print/py-rtf/Makefile Normal file
View File

@@ -0,0 +1,28 @@
# New ports collection makefile for: PyRTF
# Date created: 09 May 2005
# Whom: Thomas Gellekum <tg@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= rtf
PORTVERSION= 0.45
CATEGORIES= print python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= pyrtf
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= PyRTF-${PORTVERSION}
MAINTAINER= tg@FreeBSD.org
COMMENT= Library to create RTF documents using the Python language
USE_PYTHON= yes
USE_PYDISTUTILS= yes
EXAMPLESDIR= ${PREFIX}/share/examples/py-rtf
post-install:
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
.include <bsd.port.mk>

2
print/py-rtf/distinfo Normal file
View File

@@ -0,0 +1,2 @@
MD5 (PyRTF-0.45.tar.gz) = 6da40728b27c6a0150291f19c3f2ceb9
SIZE (PyRTF-0.45.tar.gz) = 32837

5
print/py-rtf/pkg-descr Normal file
View File

@@ -0,0 +1,5 @@
PyRTF is a pure python module for the efficient generation of
rich text format documents. It has good support for tables and
tries to maintain compatibility with as many RTF readers as possible.
WWW: http://pyrtf.sourceforge.net/

28
print/py-rtf/pkg-plist Normal file
View File

@@ -0,0 +1,28 @@
%%PYTHON_SITELIBDIR%%/PyRTF/Constants.py
%%PYTHON_SITELIBDIR%%/PyRTF/Constants.pyc
%%PYTHON_SITELIBDIR%%/PyRTF/Constants.pyo
%%PYTHON_SITELIBDIR%%/PyRTF/Elements.py
%%PYTHON_SITELIBDIR%%/PyRTF/Elements.pyc
%%PYTHON_SITELIBDIR%%/PyRTF/Elements.pyo
%%PYTHON_SITELIBDIR%%/PyRTF/PropertySets.py
%%PYTHON_SITELIBDIR%%/PyRTF/PropertySets.pyc
%%PYTHON_SITELIBDIR%%/PyRTF/PropertySets.pyo
%%PYTHON_SITELIBDIR%%/PyRTF/Renderer.py
%%PYTHON_SITELIBDIR%%/PyRTF/Renderer.pyc
%%PYTHON_SITELIBDIR%%/PyRTF/Renderer.pyo
%%PYTHON_SITELIBDIR%%/PyRTF/Styles.py
%%PYTHON_SITELIBDIR%%/PyRTF/Styles.pyc
%%PYTHON_SITELIBDIR%%/PyRTF/Styles.pyo
%%PYTHON_SITELIBDIR%%/PyRTF/__init__.py
%%PYTHON_SITELIBDIR%%/PyRTF/__init__.pyc
%%PYTHON_SITELIBDIR%%/PyRTF/__init__.pyo
share/examples/py-rtf/examples.py
share/examples/py-rtf/examples2.py
share/examples/py-rtf/image.jpg
share/examples/py-rtf/img1.png
share/examples/py-rtf/img2.png
share/examples/py-rtf/img3.png
share/examples/py-rtf/img4.png
share/examples/py-rtf/merged_cells.py
@dirrm share/examples/py-rtf
@dirrm %%PYTHON_SITELIBDIR%%/PyRTF