aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-CAM-PDF
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2008-09-04 00:39:18 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2008-09-04 00:39:18 +0000
commitd7578b494b7df1145367dea35526a178e9de92cb (patch)
tree6f6e276cc0791738c0d0d2741a00e50db0dfbba0 /textproc/p5-CAM-PDF
parent1e875a8dbe71bb10f36fa19252ae10dc52a97ea8 (diff)
Notes
Diffstat (limited to 'textproc/p5-CAM-PDF')
-rw-r--r--textproc/p5-CAM-PDF/Makefile16
-rw-r--r--textproc/p5-CAM-PDF/distinfo6
2 files changed, 13 insertions, 9 deletions
diff --git a/textproc/p5-CAM-PDF/Makefile b/textproc/p5-CAM-PDF/Makefile
index ff1351d43e10..b5289b8bdfa9 100644
--- a/textproc/p5-CAM-PDF/Makefile
+++ b/textproc/p5-CAM-PDF/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= CAM-PDF
-PORTVERSION= 1.20
+PORTVERSION= 1.21
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= ../../authors/id/C/CD/CDOLAN
@@ -15,10 +15,8 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= PDF manipulation library
-BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
- ${SITE_PERL}/Crypt/RC4.pm:${PORTSDIR}/security/p5-Crypt-RC4 \
- ${SITE_PERL}/Text/PDF/File.pm:${PORTSDIR}/print/p5-Text-PDF
-RUN_DEPENDS= ${BUILD_DEPENDS}
+RUN_DEPENDS= p5-Crypt-RC4>=2.02:${PORTSDIR}/security/p5-Crypt-RC4 \
+ p5-Text-PDF>=0.29:${PORTSDIR}/print/p5-Text-PDF
PERL_CONFIGURE= yes
@@ -47,4 +45,10 @@ post-install:
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500703
+RUN_DEPENDS+= p5-Digest-MD5>=2.16:${PORTSDIR}/security/p5-Digest-MD5
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-CAM-PDF/distinfo b/textproc/p5-CAM-PDF/distinfo
index a3396492f9ba..88557c3850d1 100644
--- a/textproc/p5-CAM-PDF/distinfo
+++ b/textproc/p5-CAM-PDF/distinfo
@@ -1,3 +1,3 @@
-MD5 (CAM-PDF-1.20.tar.gz) = 0ca531480464f611e24fc837391a41f7
-SHA256 (CAM-PDF-1.20.tar.gz) = d2afcb659d2904ae85fbf63082711911ce640d788cda157dedc9ea1813325033
-SIZE (CAM-PDF-1.20.tar.gz) = 730295
+MD5 (CAM-PDF-1.21.tar.gz) = dea881c76d553d1f5ab13e3af7074b16
+SHA256 (CAM-PDF-1.21.tar.gz) = dec9a30800d007398c24a35c2f3454f707e69203147e6ae1e6b8e53ce3806f98
+SIZE (CAM-PDF-1.21.tar.gz) = 730887