aboutsummaryrefslogtreecommitdiff
path: root/security/p5-GD-SecurityImage
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-01-15 15:35:41 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-01-15 15:35:41 +0000
commit65c8dd0038a258cd5e1b5bec925ce02c2c429ae9 (patch)
tree640f0a7c0d3f700e83f3f3745aeb8f178eb74898 /security/p5-GD-SecurityImage
parent5c40e7b55a93d279d0790fa5f138b04dfb7714b4 (diff)
downloadports-65c8dd0038a258cd5e1b5bec925ce02c2c429ae9.tar.gz
ports-65c8dd0038a258cd5e1b5bec925ce02c2c429ae9.zip
Notes
Diffstat (limited to 'security/p5-GD-SecurityImage')
-rw-r--r--security/p5-GD-SecurityImage/Makefile14
-rw-r--r--security/p5-GD-SecurityImage/distinfo1
2 files changed, 11 insertions, 4 deletions
diff --git a/security/p5-GD-SecurityImage/Makefile b/security/p5-GD-SecurityImage/Makefile
index f32d5d091191..d179640ce41f 100644
--- a/security/p5-GD-SecurityImage/Makefile
+++ b/security/p5-GD-SecurityImage/Makefile
@@ -7,7 +7,7 @@
PORTNAME= GD-SecurityImage
PORTVERSION= 1.70
-PORTREVISION= 3
+PORTREVISION= 4
PORTEPOCH= 1
CATEGORIES= security perl5
MASTER_SITES= CPAN
@@ -16,8 +16,16 @@ 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 \
- ${SITE_PERL}/${PERL_ARCH}/Image/Magick.pm:${PORTSDIR}/graphics/ImageMagick
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/GD.pm:${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
diff --git a/security/p5-GD-SecurityImage/distinfo b/security/p5-GD-SecurityImage/distinfo
index 5e686756d558..7c7e033c8d01 100644
--- a/security/p5-GD-SecurityImage/distinfo
+++ b/security/p5-GD-SecurityImage/distinfo
@@ -1,3 +1,2 @@
-MD5 (GD-SecurityImage-1.70.tar.gz) = 44198b091ad179241dcd1b0d270e04bc
SHA256 (GD-SecurityImage-1.70.tar.gz) = 9f05c91e83d0502b956f236c9e8f74bc5e2bd1837aba703b9999d66fd0841e0f
SIZE (GD-SecurityImage-1.70.tar.gz) = 82046