From 65c8dd0038a258cd5e1b5bec925ce02c2c429ae9 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Sat, 15 Jan 2011 15:35:41 +0000 Subject: - Let graphics/ImageMagick be an optional dependency - Add OPTIONS: IMAGEMAGICK - Bump PORTREVISION for dependency change - Remove obsolete MD5 checksum PR: ports/153602 Submitted by: Grzegorz Blach Feature safe: yes --- security/p5-GD-SecurityImage/Makefile | 14 +++++++++++--- security/p5-GD-SecurityImage/distinfo | 1 - 2 files changed, 11 insertions(+), 4 deletions(-) (limited to 'security/p5-GD-SecurityImage') 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 + +.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 -- cgit v1.2.3