diff options
author | Roman Bogorodskiy <novel@FreeBSD.org> | 2006-07-11 11:43:29 +0000 |
---|---|---|
committer | Roman Bogorodskiy <novel@FreeBSD.org> | 2006-07-11 11:43:29 +0000 |
commit | 374fa97a34e7e5455beee1702c8e4b7ecca2f180 (patch) | |
tree | f7ea6c744b03cc7f6a185a247ab3f470ac3477f4 | |
parent | f3192a130e1607dd4e3a88ef2e8613135a743546 (diff) | |
download | ports-374fa97a34e7e5455beee1702c8e4b7ecca2f180.tar.gz ports-374fa97a34e7e5455beee1702c8e4b7ecca2f180.zip |
Notes
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/p5-PDF-FromHTML/Makefile | 39 | ||||
-rw-r--r-- | textproc/p5-PDF-FromHTML/distinfo | 3 | ||||
-rw-r--r-- | textproc/p5-PDF-FromHTML/files/patch-Makefile.PL | 11 | ||||
-rw-r--r-- | textproc/p5-PDF-FromHTML/pkg-descr | 7 | ||||
-rw-r--r-- | textproc/p5-PDF-FromHTML/pkg-plist | 9 |
6 files changed, 70 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index c1622effd0fe..093736023936 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -375,6 +375,7 @@ SUBDIR += p5-Number-Format SUBDIR += p5-PDF-API2 SUBDIR += p5-PDF-Create + SUBDIR += p5-PDF-FromHTML SUBDIR += p5-PDF-Writer SUBDIR += p5-POE-Filter-XML SUBDIR += p5-PPI diff --git a/textproc/p5-PDF-FromHTML/Makefile b/textproc/p5-PDF-FromHTML/Makefile new file mode 100644 index 000000000000..ff9b22a1680f --- /dev/null +++ b/textproc/p5-PDF-FromHTML/Makefile @@ -0,0 +1,39 @@ +# New ports collection makefile for: p5-PDF-FromHTML +# Date created: 2006-07-10 +# Whom: Gea-Suan Lin <gslin@gslin.org> +# +# $FreeBSD$ +# + +PORTNAME= PDF-FromHTML +PORTVERSION= 0.12 +CATEGORIES= textproc perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= PDF +PKGNAMEPREFIX= p5- + +MAINTAINER= gslin@gslin.org +COMMENT= Convert HTML documents to PDF + +BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/HTML/Tidy.pm:${PORTSDIR}/textproc/p5-HTML-Tidy \ + ${SITE_PERL}/Graphics/ColorNames.pm:${PORTSDIR}/graphics/p5-Graphics-ColorNames \ + ${SITE_PERL}/Image/Size.pm:${PORTSDIR}/graphics/p5-Image-Size \ + ${SITE_PERL}/LWP/Simple.pm:${PORTSDIR}/www/p5-libwww \ + ${SITE_PERL}/PDF/API2.pm:${PORTSDIR}/textproc/p5-PDF-API2 \ + ${SITE_PERL}/PDF/Template.pm:${PORTSDIR}/print/p5-PDF-Template \ + ${SITE_PERL}/PDF/Writer.pm:${PORTSDIR}/textproc/p5-PDF-Writer \ + ${SITE_PERL}/XML/Twig.pm:${PORTSDIR}/textproc/p5-XML-Twig +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN1= html2pdf.pl.1 +MAN3= PDF::FromHTML.3 PDF::FromHTML::Twig.3 + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500601 +IGNORE= requires perl 5.6.1 or later. Install lang/perl5.8 then try again +.endif + +.include <bsd.port.post.mk> diff --git a/textproc/p5-PDF-FromHTML/distinfo b/textproc/p5-PDF-FromHTML/distinfo new file mode 100644 index 000000000000..af300d553123 --- /dev/null +++ b/textproc/p5-PDF-FromHTML/distinfo @@ -0,0 +1,3 @@ +MD5 (PDF-FromHTML-0.12.tar.gz) = 37404ccb649ebb7b5f0a52d80fb7745b +SHA256 (PDF-FromHTML-0.12.tar.gz) = 73a21685340ad4d0eb201ddf42e6adee5b5dcedd4ae549969613a8e9d7281610 +SIZE (PDF-FromHTML-0.12.tar.gz) = 23320 diff --git a/textproc/p5-PDF-FromHTML/files/patch-Makefile.PL b/textproc/p5-PDF-FromHTML/files/patch-Makefile.PL new file mode 100644 index 000000000000..8b74caa14452 --- /dev/null +++ b/textproc/p5-PDF-FromHTML/files/patch-Makefile.PL @@ -0,0 +1,11 @@ +--- Makefile.PL.orig Tue Jul 11 13:51:40 2006 ++++ Makefile.PL Tue Jul 11 13:51:47 2006 +@@ -13,7 +13,7 @@ + LWP::Simple 0 + Image::Size 0 + PDF::Writer 0.05 +- PDF::Template 0.30 ++ PDF::Template 0.22 + ); + + unless (can_use('PDF::API2') or can_use('pdflib_pl')) { diff --git a/textproc/p5-PDF-FromHTML/pkg-descr b/textproc/p5-PDF-FromHTML/pkg-descr new file mode 100644 index 000000000000..187b0df25561 --- /dev/null +++ b/textproc/p5-PDF-FromHTML/pkg-descr @@ -0,0 +1,7 @@ +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. + +WWW: http://search.cpan.org/dist/PDF-FromHTML/ diff --git a/textproc/p5-PDF-FromHTML/pkg-plist b/textproc/p5-PDF-FromHTML/pkg-plist new file mode 100644 index 000000000000..4b553ff9f78a --- /dev/null +++ b/textproc/p5-PDF-FromHTML/pkg-plist @@ -0,0 +1,9 @@ +@comment $FreeBSD$ +bin/html2pdf.pl +%%SITE_PERL%%/%%PERL_ARCH%%/auto/PDF/FromHTML/.packlist +%%SITE_PERL%%/PDF/FromHTML.pm +%%SITE_PERL%%/PDF/FromHTML/Twig.pm +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/PDF/FromHTML +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/PDF +@dirrmtry %%SITE_PERL%%/PDF/FromHTML +@dirrmtry %%SITE_PERL%%/PDF |