aboutsummaryrefslogtreecommitdiff
path: root/security/p5-GD-SecurityImage
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-09-04 08:37:16 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-09-04 08:37:16 +0000
commit93e80fe6da4a155f7e036f523f95de4f07cb5786 (patch)
treeb5bdd1ebfdff15e214ca7693ae0b917f30ef0768 /security/p5-GD-SecurityImage
parentf128d585ea91e77b74553fcab586ddf248a94cee (diff)
downloadports-93e80fe6da4a155f7e036f523f95de4f07cb5786.tar.gz
ports-93e80fe6da4a155f7e036f523f95de4f07cb5786.zip
- Update to 1.71
Notes
Notes: svn path=/head/; revision=281136
Diffstat (limited to 'security/p5-GD-SecurityImage')
-rw-r--r--security/p5-GD-SecurityImage/Makefile29
-rw-r--r--security/p5-GD-SecurityImage/distinfo4
2 files changed, 19 insertions, 14 deletions
diff --git a/security/p5-GD-SecurityImage/Makefile b/security/p5-GD-SecurityImage/Makefile
index d179640ce41f..b81e9e1e80b3 100644
--- a/security/p5-GD-SecurityImage/Makefile
+++ b/security/p5-GD-SecurityImage/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= GD-SecurityImage
-PORTVERSION= 1.70
-PORTREVISION= 4
+PORTVERSION= 1.71
PORTEPOCH= 1
CATEGORIES= security perl5
MASTER_SITES= CPAN
@@ -16,18 +15,11 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl5 module for creating CAPTCHA security images
-BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/GD.pm:${PORTSDIR}/graphics/p5-GD
+BUILD_DEPENDS= p5-GD>=0:${PORTSDIR}/graphics/p5-GD
+RUN_DEPENDS= p5-GD>=0:${PORTSDIR}/graphics/p5-GD
OPTIONS= IMAGEMAGICK "Build ImageMagick module" off
-.include <bsd.port.options.mk>
-
-.if defined(WITH_IMAGEMAGICK)
-BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Image/Magick.pm:${PORTSDIR}/graphics/ImageMagick
-.endif
-
-RUN_DEPENDS= ${BUILD_DEPENDS}
-
PORTSCOUT= skipv:1.581
PERL_CONFIGURE= yes
@@ -37,4 +29,17 @@ MAN3= GD::SecurityImage.3 \
GD::SecurityImage::Magick.3 \
GD::SecurityImage::Styles.3
-.include <bsd.port.mk>
+.include <bsd.port.options.mk>
+
+.if defined(WITH_IMAGEMAGICK)
+BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Image/Magick.pm:${PORTSDIR}/graphics/ImageMagick
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Image/Magick.pm:${PORTSDIR}/graphics/ImageMagick
+.endif
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501400
+BUILD_DEPENDS+= p5-Module-Build>=0.3800:${PORTSDIR}/devel/p5-Module-Build
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/security/p5-GD-SecurityImage/distinfo b/security/p5-GD-SecurityImage/distinfo
index 7c7e033c8d01..1266f988786b 100644
--- a/security/p5-GD-SecurityImage/distinfo
+++ b/security/p5-GD-SecurityImage/distinfo
@@ -1,2 +1,2 @@
-SHA256 (GD-SecurityImage-1.70.tar.gz) = 9f05c91e83d0502b956f236c9e8f74bc5e2bd1837aba703b9999d66fd0841e0f
-SIZE (GD-SecurityImage-1.70.tar.gz) = 82046
+SHA256 (GD-SecurityImage-1.71.tar.gz) = 85f2edd0bc2fa1b13ac2ea52c531bd5344248084b92111765d87c4ea9dd91454
+SIZE (GD-SecurityImage-1.71.tar.gz) = 86545