aboutsummaryrefslogtreecommitdiff
path: root/security/p5-GD-SecurityImage/Makefile
blob: 8200e9b179a62b5615265c674943ea0413e64cf9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# New ports collection makefile for:	GD-SecurityImage
# Date created:				15 October 2005
# Whom:					ports@rbt.ca
#
# $FreeBSD$
#

PORTNAME=	GD-SecurityImage
PORTVERSION=	1.57
CATEGORIES=	security perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR=	GD/BURAK
PKGNAMEPREFIX=	p5-

MAINTAINER=	ports@rbt.ca
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
RUN_DEPENDS=	${BUILD_DEPENDS}

PERL_CONFIGURE=	yes

MAN3=		GD::SecurityImage::AC.3 GD::SecurityImage::Magick.3 \
		GD::SecurityImage::Styles.3 GD::SecurityImage.3 \
		GD::SecurityImage::GD.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500600
IGNORE=	requires Perl 5.6 or newer. Install lang/perl5 or lang/perl5.8, and try again
.endif

.include <bsd.port.post.mk>