1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00

Tiny RML2PDF is a component of the Open Report project. It can be used with the

Tiny Reporting Server to have a complete solution to render PDF file on the
fly.

WWW:    http://tiny.be

PR:		ports/140781
Submitted by:	Kevin Golding <ports at caomhin.org>
This commit is contained in:
Martin Wilke 2009-11-26 14:28:22 +00:00
parent ff37b2696f
commit 3be72634cb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=244778
5 changed files with 95 additions and 0 deletions

View File

@ -298,6 +298,7 @@
SUBDIR += py-reportlab
SUBDIR += py-reportlab2
SUBDIR += py-rtf
SUBDIR += py-trml2pdf
SUBDIR += rlpr
SUBDIR += rprint
SUBDIR += rtf2latex

View File

@ -0,0 +1,43 @@
# New ports collection makefile for: py-trml2pdf
# Date created: 22 November 2009
# Whom: Kevin Golding <ports@caomhin.org>
#
# $FreeBSD$
#
PORTNAME= trml2pdf
PORTVERSION= 1.2
CATEGORIES= print python
MASTER_SITES= SF/kraft/${PORTNAME}/${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ports@caomhin.org
COMMENT= Tiny RML2PDF easily creates PDF documents.
RUN_DEPENDS= ${LOCALBASE}/bin/pildriver.py:${PORTSDIR}/graphics/py-imaging \
${PYTHON_SITELIBDIR}/reportlab/__init__.py:${PORTSDIR}/print/py-reportlab
NO_BUILD= yes
USE_BZIP2= yes
USE_PYTHON= yes
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
do-install:
@${MKDIR} ${PYTHON_SITELIBDIR}/trml2pdf
@${INSTALL_SCRIPT} ${WRKSRC}/trml2pdf/* ${PYTHON_SITELIBDIR}/trml2pdf
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
.endif
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
${CP} -R ${WRKSRC}/rmls/ ${EXAMPLESDIR}/rmls
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (trml2pdf-1.2.tar.bz2) = de938aa7c34b7f2f33a18df743fb6828
SHA256 (trml2pdf-1.2.tar.bz2) = 93e0b25169db398af6eec0a1716d6b5a0836fc711b318520c0d2109411d7dc6d
SIZE (trml2pdf-1.2.tar.bz2) = 178541

View File

@ -0,0 +1,5 @@
Tiny RML2PDF is a component of the Open Report project. It can be used with the
Tiny Reporting Server to have a complete solution to render PDF file on the
fly.
WWW: http://tiny.be

View File

@ -0,0 +1,43 @@
%%PYTHON_SITELIBDIR%%/trml2pdf/__init__.py
%%PYTHON_SITELIBDIR%%/trml2pdf/color.py
%%PYTHON_SITELIBDIR%%/trml2pdf/trml2pdf.py
%%PYTHON_SITELIBDIR%%/trml2pdf/utils.py
%%PORTDOCS%%%%DOCSDIR%%/README.txt
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rmls/aie.pdf
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rmls/aie.rml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rmls/devis.pdf
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rmls/devis.rml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rmls/ex1.pdf
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rmls/ex1.rml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rmls/ex10.pdf
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rmls/ex10.rml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rmls/ex11.pdf
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rmls/ex11.rml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rmls/ex12.pdf
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rmls/ex12.rml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rmls/ex2.pdf
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rmls/ex2.rml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rmls/ex3.pdf
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rmls/ex3.rml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rmls/ex4.pdf
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rmls/ex4.rml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rmls/ex5.pdf
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rmls/ex5.rml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rmls/ex6.pdf
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rmls/ex6.rml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rmls/ex7.pdf
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rmls/ex7.rml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rmls/ex7b.pdf
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rmls/ex7b.rml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rmls/ex9.pdf
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rmls/ex9.rml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rmls/pict/devis_logo.jpg
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rmls/pict/logo.png
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rmls/pict/replogo.gif
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rmls/pict/screenshot.jpg
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rmls/pict/tiny_logo.png
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/rmls/pict
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/rmls
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm %%PYTHON_SITELIBDIR%%/trml2pdf