Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jul 2006 13:59:04 +0800 (CST)
From:      Gea-Suan Lin <gslin@gslin.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gslin@gslin.org
Subject:   ports/100060: [NEW PORT] converters/p5-PDF-FromHTML: Convert HTML documents to PDF
Message-ID:  <20060711055904.6381A59@netnews.NCTU.edu.tw>
Resent-Message-ID: <200607110600.k6B60V1Y037661@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         100060
>Category:       ports
>Synopsis:       [NEW PORT] converters/p5-PDF-FromHTML: Convert HTML documents to PDF
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 11 06:00:30 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Gea-Suan Lin
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD netnews.NCTU.edu.tw 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat May 13 03:43:48 CST 2006
>Description:
NOTE: THIS PORT DEPENDS ON ports/100058

This module transforms HTML into PDF, using an assortment of XML
transformations implemented in PDF::FromHTML::Twig.

There is also a command-line utility, html2pdf.pl, that comes with this
distribution.

Author:	Audrey Tang <autrijus@autrijus.org>
WWW:	http://search.cpan.org/dist/PDF-FromHTML/

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- p5-PDF-FromHTML-0.12.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	p5-PDF-FromHTML
#	p5-PDF-FromHTML/pkg-descr
#	p5-PDF-FromHTML/Makefile
#	p5-PDF-FromHTML/pkg-plist
#	p5-PDF-FromHTML/distinfo
#	p5-PDF-FromHTML/files
#	p5-PDF-FromHTML/files/patch-Makefile.PL
#
echo c - p5-PDF-FromHTML
mkdir -p p5-PDF-FromHTML > /dev/null 2>&1
echo x - p5-PDF-FromHTML/pkg-descr
sed 's/^X//' >p5-PDF-FromHTML/pkg-descr << 'END-of-p5-PDF-FromHTML/pkg-descr'
XThis module transforms HTML into PDF, using an assortment of XML
Xtransformations implemented in PDF::FromHTML::Twig.
X
XThere is also a command-line utility, html2pdf.pl, that comes with this
Xdistribution.
X
XAuthor:	Audrey Tang <autrijus@autrijus.org>
XWWW:	http://search.cpan.org/dist/PDF-FromHTML/
END-of-p5-PDF-FromHTML/pkg-descr
echo x - p5-PDF-FromHTML/Makefile
sed 's/^X//' >p5-PDF-FromHTML/Makefile << 'END-of-p5-PDF-FromHTML/Makefile'
X# New ports collection makefile for:	p5-PDF-FromHTML
X# Date created:		2006-07-10
X# Whom:			Gea-Suan Lin <gslin@gslin.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	PDF-FromHTML
XPORTVERSION=	0.12
XCATEGORIES=	converters perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	PDF
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	gslin@gslin.org
XCOMMENT=	Convert HTML documents to PDF
X
XBUILD_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/HTML/Tidy.pm:${PORTSDIR}/textproc/p5-HTML-Tidy \
X		${SITE_PERL}/Graphics/ColorNames.pm:${PORTSDIR}/graphics/p5-Graphics-ColorNames \
X		${SITE_PERL}/Image/Size.pm:${PORTSDIR}/graphics/p5-Image-Size \
X		${SITE_PERL}/LWP/Simple.pm:${PORTSDIR}/www/p5-libwww \
X		${SITE_PERL}/PDF/API2.pm:${PORTSDIR}/textproc/p5-PDF-API2 \
X		${SITE_PERL}/PDF/Template.pm:${PORTSDIR}/print/p5-PDF-Template \
X		${SITE_PERL}/PDF/Writer.pm:${PORTSDIR}/textproc/p5-PDF-Writer \
X		${SITE_PERL}/XML/Twig.pm:${PORTSDIR}/textproc/p5-XML-Twig
XRUN_DEPENDS=	${BUILD_DEPENDS}
X
XPERL_CONFIGURE=	yes
X
XMAN1=		html2pdf.pl.1
XMAN3=		PDF::FromHTML.3 PDF::FromHTML::Twig.3
X
X.include <bsd.port.pre.mk>
X
X.if ${PERL_LEVEL} < 500601
XIGNORE=		requires perl 5.6.1 or later. Install lang/perl5.8 then try again
X.endif
X
X.include <bsd.port.post.mk>
END-of-p5-PDF-FromHTML/Makefile
echo x - p5-PDF-FromHTML/pkg-plist
sed 's/^X//' >p5-PDF-FromHTML/pkg-plist << 'END-of-p5-PDF-FromHTML/pkg-plist'
X@comment $FreeBSD$
Xbin/html2pdf.pl
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/PDF/FromHTML/.packlist
X%%SITE_PERL%%/PDF/FromHTML.pm
X%%SITE_PERL%%/PDF/FromHTML/Twig.pm
X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/PDF/FromHTML
X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/PDF
X@dirrmtry %%SITE_PERL%%/PDF/FromHTML
X@dirrmtry %%SITE_PERL%%/PDF
END-of-p5-PDF-FromHTML/pkg-plist
echo x - p5-PDF-FromHTML/distinfo
sed 's/^X//' >p5-PDF-FromHTML/distinfo << 'END-of-p5-PDF-FromHTML/distinfo'
XMD5 (PDF-FromHTML-0.12.tar.gz) = 37404ccb649ebb7b5f0a52d80fb7745b
XSHA256 (PDF-FromHTML-0.12.tar.gz) = 73a21685340ad4d0eb201ddf42e6adee5b5dcedd4ae549969613a8e9d7281610
XSIZE (PDF-FromHTML-0.12.tar.gz) = 23320
END-of-p5-PDF-FromHTML/distinfo
echo c - p5-PDF-FromHTML/files
mkdir -p p5-PDF-FromHTML/files > /dev/null 2>&1
echo x - p5-PDF-FromHTML/files/patch-Makefile.PL
sed 's/^X//' >p5-PDF-FromHTML/files/patch-Makefile.PL << 'END-of-p5-PDF-FromHTML/files/patch-Makefile.PL'
X--- Makefile.PL.orig	Tue Jul 11 13:51:40 2006
X+++ Makefile.PL	Tue Jul 11 13:51:47 2006
X@@ -13,7 +13,7 @@
X     LWP::Simple             0
X     Image::Size             0
X     PDF::Writer             0.05
X-    PDF::Template           0.30
X+    PDF::Template           0.22
X );
X 
X unless (can_use('PDF::API2') or can_use('pdflib_pl')) {
END-of-p5-PDF-FromHTML/files/patch-Makefile.PL
exit
--- p5-PDF-FromHTML-0.12.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060711055904.6381A59>