aboutsummaryrefslogtreecommitdiffstats
path: root/security/p5-GD-SecurityImage/Makefile
blob: d6afc2743c8d0c42ebbe6d587d73246f81a3ce56 (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
35
36
37
38
39
40
41
# Created by: ports@rbt.ca
# $FreeBSD$

PORTNAME=   GD-SecurityImage
PORTVERSION=    1.73
PORTEPOCH=  1
CATEGORIES= security perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= perl@FreeBSD.org
COMMENT=    Perl5 module for creating CAPTCHA security images

LICENSE=    ART10 GPLv1+
LICENSE_COMB=   dual

BUILD_DEPENDS=  ${RUN_DEPENDS}
RUN_DEPENDS=    p5-GD>=0:graphics/p5-GD

OPTIONS_DEFINE= IMAGEMAGICK X11
OPTIONS_DEFAULT=X11
IMAGEMAGICK_DESC=   Build ImageMagick module

PORTSCOUT=  skipv:1.581

USES=       perl5
USE_PERL5=  configure

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MIMAGEMAGICK}
.if ${PORT_OPTIONS:MX11}
IMAGEMAGICK_BUILD_DEPENDS= ${LOCALBASE}/bin/convert:graphics/ImageMagick6
IMAGEMAGICK_RUN_DEPENDS=   ${LOCALBASE}/bin/convert:graphics/ImageMagick6
.else
IMAGEMAGICK_BUILD_DEPENDS= ${LOCALBASE}/bin/convert:graphics/ImageMagick6-nox11
IMAGEMAGICK_RUN_DEPENDS=   ${LOCALBASE}/bin/convert:graphics/ImageMagick6-nox11
.endif
.endif

.include <bsd.port.mk>