diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-04-28 17:42:39 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-04-28 17:42:39 +0800 |
commit | e429e61297b243365b62c3dac3f6dd4fac21b01b (patch) | |
tree | d916c37a64efc4a75880857b94646cce1c4efecc | |
parent | da243c1a20e84588423da02689a2b24b0fbf908c (diff) | |
download | freebsd-ports-gnome-e429e61297b243365b62c3dac3f6dd4fac21b01b.tar.gz freebsd-ports-gnome-e429e61297b243365b62c3dac3f6dd4fac21b01b.tar.zst freebsd-ports-gnome-e429e61297b243365b62c3dac3f6dd4fac21b01b.zip |
add p5-Text-PDF 0.19
Create and manipulate PDF files
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/p5-Text-PDF/Makefile | 47 | ||||
-rw-r--r-- | textproc/p5-Text-PDF/distinfo | 1 | ||||
-rw-r--r-- | textproc/p5-Text-PDF/files/patch-Makefile.PL | 10 | ||||
-rw-r--r-- | textproc/p5-Text-PDF/files/trans.sed | 2 | ||||
-rw-r--r-- | textproc/p5-Text-PDF/pkg-comment | 1 | ||||
-rw-r--r-- | textproc/p5-Text-PDF/pkg-descr | 8 | ||||
-rw-r--r-- | textproc/p5-Text-PDF/pkg-plist | 35 |
8 files changed, 105 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index 2f662a32ca89..dbd3fc83dedd 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -167,6 +167,7 @@ SUBDIR += p5-Text-FormatTable SUBDIR += p5-Text-Graphics SUBDIR += p5-Text-Metaphone + SUBDIR += p5-Text-PDF SUBDIR += p5-Text-Query SUBDIR += p5-Text-Repository SUBDIR += p5-Text-SimpleTemplate diff --git a/textproc/p5-Text-PDF/Makefile b/textproc/p5-Text-PDF/Makefile new file mode 100644 index 000000000000..57c3e94d57ed --- /dev/null +++ b/textproc/p5-Text-PDF/Makefile @@ -0,0 +1,47 @@ +# ex:ts=8 +# Ports collection makefile for: p5-Text-PDF +# Date created: Apr 28, 2002 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= Text-PDF +PORTVERSION= 0.19 +CATEGORIES= textproc perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Text +PKGNAMEPREFIX= p5- +DISTNAME= ${PORTNAME}-${PORTVERSION} + +MAINTAINER= ports@FreeBSD.org + +BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes +BINFILE= pdfbklt pdfrevert pdfstamp +EXAMPLESDIR= ${PREFIX}/share/examples/p5-${PORTNAME} + +MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} +MAN3= Text::PDF::Array.3 Text::PDF::Bool.3 Text::PDF::Dict.3 \ + Text::PDF::File.3 Text::PDF::Filter.3 Text::PDF::Name.3 \ + Text::PDF::Number.3 Text::PDF::Objind.3 Text::PDF::Page.3 \ + Text::PDF::Pages.3 Text::PDF::SFont.3 Text::PDF::String.3 \ + Text::PDF::TTFont.3 Text::PDF::TTFont0.3 Text::PDF::Utils.3 + +post-patch: +.for file in ${BINFILE} + ${SED} -f ${FILESDIR}/trans.sed ${WRKSRC}/scripts/${file}.plx > ${WRKSRC}/scripts/${file}.pl +.endfor + +post-install: +.for file in ${BINFILE} + @${MV} -f ${PREFIX}/bin/${file}.pl ${PREFIX}/bin/${file} +.endfor +.if !defined(NOPORTDOCS) + @${MKDIR} ${EXAMPLESDIR} + ${CP} -R ${WRKSRC}/examples/* ${EXAMPLESDIR} +.endif + +.include <bsd.port.mk> diff --git a/textproc/p5-Text-PDF/distinfo b/textproc/p5-Text-PDF/distinfo new file mode 100644 index 000000000000..45da25945dfb --- /dev/null +++ b/textproc/p5-Text-PDF/distinfo @@ -0,0 +1 @@ +MD5 (Text-PDF-0.19.tar.gz) = b13ebcb7acd58d061627e4cfffb1dbad diff --git a/textproc/p5-Text-PDF/files/patch-Makefile.PL b/textproc/p5-Text-PDF/files/patch-Makefile.PL new file mode 100644 index 000000000000..56ffaa9343b2 --- /dev/null +++ b/textproc/p5-Text-PDF/files/patch-Makefile.PL @@ -0,0 +1,10 @@ +--- Makefile.PL.orig Sun Apr 28 17:19:28 2002 ++++ Makefile.PL Sun Apr 28 17:19:36 2002 +@@ -1,6 +1,6 @@ + use ExtUtils::MakeMaker; + +-@scripts = grep {-f } glob("scripts/*.*"); ++@scripts = grep {-f } glob("scripts/*.pl"); + + # incantation to enable MY::pm_to_blib later on + push(@ExtUtils::MakeMaker::Overridable, qw(pm_to_blib)) if ($^O eq 'MSWin32'); diff --git a/textproc/p5-Text-PDF/files/trans.sed b/textproc/p5-Text-PDF/files/trans.sed new file mode 100644 index 000000000000..eb4e9b78bd9f --- /dev/null +++ b/textproc/p5-Text-PDF/files/trans.sed @@ -0,0 +1,2 @@ +1i\ +#!/usr/bin/env perl diff --git a/textproc/p5-Text-PDF/pkg-comment b/textproc/p5-Text-PDF/pkg-comment new file mode 100644 index 000000000000..e16cfe52f89e --- /dev/null +++ b/textproc/p5-Text-PDF/pkg-comment @@ -0,0 +1 @@ +Create and manipulate PDF files diff --git a/textproc/p5-Text-PDF/pkg-descr b/textproc/p5-Text-PDF/pkg-descr new file mode 100644 index 000000000000..0522d89fa9ef --- /dev/null +++ b/textproc/p5-Text-PDF/pkg-descr @@ -0,0 +1,8 @@ +In summary, this module provides a strong (IMO) base for working with PDF +files but lacks some finesse. Users should know their way around the PDF +specification. + +FEATURES + - Works with more than one PDF file open at once + - Supports TrueType fonts as well as the base 14 (requires Font::TTF module) + including Type0 glyph based fonts (for Unicode), and subsetting diff --git a/textproc/p5-Text-PDF/pkg-plist b/textproc/p5-Text-PDF/pkg-plist new file mode 100644 index 000000000000..16b7d6e821a7 --- /dev/null +++ b/textproc/p5-Text-PDF/pkg-plist @@ -0,0 +1,35 @@ +bin/pdfstamp +bin/pdfbklt +bin/pdfrevert +lib/perl5/site_perl/%%PERL_VER%%/Text/PDF/Array.pm +lib/perl5/site_perl/%%PERL_VER%%/Text/PDF/Bool.pm +lib/perl5/site_perl/%%PERL_VER%%/Text/PDF/Dict.pm +lib/perl5/site_perl/%%PERL_VER%%/Text/PDF/File.pm +lib/perl5/site_perl/%%PERL_VER%%/Text/PDF/Filter.pm +lib/perl5/site_perl/%%PERL_VER%%/Text/PDF/Name.pm +lib/perl5/site_perl/%%PERL_VER%%/Text/PDF/Number.pm +lib/perl5/site_perl/%%PERL_VER%%/Text/PDF/Objind.pm +lib/perl5/site_perl/%%PERL_VER%%/Text/PDF/Page.pm +lib/perl5/site_perl/%%PERL_VER%%/Text/PDF/Pages.pm +lib/perl5/site_perl/%%PERL_VER%%/Text/PDF/SFont.pm +lib/perl5/site_perl/%%PERL_VER%%/Text/PDF/String.pm +lib/perl5/site_perl/%%PERL_VER%%/Text/PDF/TTFont.pm +lib/perl5/site_perl/%%PERL_VER%%/Text/PDF/TTFont0.pm +lib/perl5/site_perl/%%PERL_VER%%/Text/PDF/Utils.pm +lib/perl5/site_perl/%%PERL_VER%%/Text/PDF/changes +lib/perl5/site_perl/5.005/i386-freebsd/auto/Text/PDF/.packlist +@dirrm lib/perl5/site_perl/%%PERL_VER%%/Text/PDF +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Text 2>/dev/null || true +@dirrm lib/perl5/site_perl/5.005/i386-freebsd/auto/Text/PDF +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/PDF 2>/dev/null || true +%%PORTDOCS%%share/examples/p5-Text-PDF/CD.CFG +%%PORTDOCS%%share/examples/p5-Text-PDF/call_conf.txt +%%PORTDOCS%%share/examples/p5-Text-PDF/graph.pl +%%PORTDOCS%%share/examples/p5-Text-PDF/hello.pl +%%PORTDOCS%%share/examples/p5-Text-PDF/pdfaddobj.pl +%%PORTDOCS%%share/examples/p5-Text-PDF/pdfaddpg.pl +%%PORTDOCS%%share/examples/p5-Text-PDF/pdfcrop.pl +%%PORTDOCS%%share/examples/p5-Text-PDF/pdfgetobj.pl +%%PORTDOCS%%share/examples/p5-Text-PDF/pdflines.pl +%%PORTDOCS%%share/examples/p5-Text-PDF/test.pdf +%%PORTDOCS%%@dirrm share/examples/p5-Text-PDF |