aboutsummaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorAnton Berezin <tobez@FreeBSD.org>2006-04-11 10:31:48 +0000
committerAnton Berezin <tobez@FreeBSD.org>2006-04-11 10:31:48 +0000
commit0449ab55937b4beca479bd8bffe3838357ee2a23 (patch)
tree286be01784d7dc059cbb5da8869f13e0e1e5d5e8 /print
parent36b30af69fddb49dcdb92b2070d7103cea035d91 (diff)
downloadports-0449ab55937b4beca479bd8bffe3838357ee2a23.tar.gz
ports-0449ab55937b4beca479bd8bffe3838357ee2a23.zip
Notes
Diffstat (limited to 'print')
-rw-r--r--print/p5-Text-PDF/Makefile11
-rw-r--r--print/p5-Text-PDF/distinfo6
-rw-r--r--print/p5-Text-PDF/pkg-plist10
3 files changed, 17 insertions, 10 deletions
diff --git a/print/p5-Text-PDF/Makefile b/print/p5-Text-PDF/Makefile
index 2019e515117b..de1b940629a9 100644
--- a/print/p5-Text-PDF/Makefile
+++ b/print/p5-Text-PDF/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Text-PDF
-PORTVERSION= 0.25
+PORTVERSION= 0.27a
CATEGORIES= print perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Text
@@ -18,6 +18,8 @@ COMMENT= A PDF manipulation module
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib
RUN_DEPENDS= ${BUILD_DEPENDS}
+WRKSRC= ${WRKDIR}/${DISTNAME:C/a$//}
+
PERL_CONFIGURE= yes
MAN3= Text::PDF::Pages.3 Text::PDF::Page.3 Text::PDF::Name.3 \
@@ -27,8 +29,11 @@ MAN3= Text::PDF::Pages.3 Text::PDF::Page.3 Text::PDF::Name.3 \
Text::PDF::Utils.3 Text::PDF::TTFont.3 Text::PDF::Number.3 \
Text::PDF::Null.3
+post-patch:
+ @${RM} -f ${WRKSRC}/pm_to_blib
+
post-install:
- @${MKDIR} ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/Text/PDF/examples
- @${INSTALL_DATA} ${WRKSRC}/examples/* ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/Text/PDF/examples
+ @${MKDIR} ${SITE_PERL}/Text/PDF/examples
+ @${INSTALL_DATA} ${WRKSRC}/examples/* ${SITE_PERL}/Text/PDF/examples
.include <bsd.port.mk>
diff --git a/print/p5-Text-PDF/distinfo b/print/p5-Text-PDF/distinfo
index f2c894b6b663..3a549576bf12 100644
--- a/print/p5-Text-PDF/distinfo
+++ b/print/p5-Text-PDF/distinfo
@@ -1,3 +1,3 @@
-MD5 (Text-PDF-0.25.tar.gz) = 8b120662c4c59154967908159156a83e
-SHA256 (Text-PDF-0.25.tar.gz) = 22d70f2fdf819351616f5ed018062ec7967f0f0f25a2f774af24f17b94c6952f
-SIZE (Text-PDF-0.25.tar.gz) = 58843
+MD5 (Text-PDF-0.27a.tar.gz) = 707c892ae3f1038d9047123bee9bf971
+SHA256 (Text-PDF-0.27a.tar.gz) = 538bba6444e94ad1152e798b4c5f03348a3389ff87701de87fc9ec0d85f155e2
+SIZE (Text-PDF-0.27a.tar.gz) = 51230
diff --git a/print/p5-Text-PDF/pkg-plist b/print/p5-Text-PDF/pkg-plist
index fc02546a1fa3..37111b691c7d 100644
--- a/print/p5-Text-PDF/pkg-plist
+++ b/print/p5-Text-PDF/pkg-plist
@@ -1,6 +1,7 @@
-bin/pdfbklt.plx
-bin/pdfrevert.plx
-bin/pdfstamp.plx
+bin/pdfbklt
+bin/pdfrevert
+bin/pdfstamp
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/PDF/.packlist
%%SITE_PERL%%/Text/PDF/Array.pm
%%SITE_PERL%%/Text/PDF/Bool.pm
%%SITE_PERL%%/Text/PDF/Dict.pm
@@ -19,6 +20,7 @@ bin/pdfstamp.plx
%%SITE_PERL%%/Text/PDF/Utils.pm
%%SITE_PERL%%/Text/PDF/changes
%%SITE_PERL%%/Text/PDF/examples/CD.CFG
+%%SITE_PERL%%/Text/PDF/examples/boon_graph.pdf
%%SITE_PERL%%/Text/PDF/examples/call_conf.txt
%%SITE_PERL%%/Text/PDF/examples/graph.pl
%%SITE_PERL%%/Text/PDF/examples/hello.pl
@@ -27,9 +29,9 @@ bin/pdfstamp.plx
%%SITE_PERL%%/Text/PDF/examples/pdfcrop.pl
%%SITE_PERL%%/Text/PDF/examples/pdfgetobj.pl
%%SITE_PERL%%/Text/PDF/examples/pdflines.pl
+%%SITE_PERL%%/Text/PDF/examples/squ.pdf
%%SITE_PERL%%/Text/PDF/examples/squares.pdf
%%SITE_PERL%%/Text/PDF/examples/test.pdf
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/PDF/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/PDF
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Text
@dirrm %%SITE_PERL%%/Text/PDF/examples