freebsd-ports/security/p5-GD-SecurityImage/Makefile
Sunpoet Po-Chuan Hsieh 65c8dd0038 - 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 <magik@roorback.net>
Feature safe:	yes
2011-01-15 15:35:41 +00:00

40 lines
868 B
Makefile

# New ports collection makefile for: GD-SecurityImage
# Date created: 15 October 2005
# Whom: ports@rbt.ca
#
# $FreeBSD$
#
PORTNAME= GD-SecurityImage
PORTVERSION= 1.70
PORTREVISION= 4
PORTEPOCH= 1
CATEGORIES= security perl5
MASTER_SITES= CPAN
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
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
MAN3= GD::SecurityImage.3 \
GD::SecurityImage::GD.3 \
GD::SecurityImage::Magick.3 \
GD::SecurityImage::Styles.3
.include <bsd.port.mk>