45526ecbee
A new USES has been added to depend on ImageMagick. USES=magick adds a LIB_DEPENDS on graphics/ImageMagick${IMAGEMAGICK_DEFAULT}. If a specific version is required, use for example USES=magick:6 resp. USES=magick:7 If only a build, run or test is required, use for example USES=magick:build resp. USES=magick:6,build,test If a dependency on the nox11 flavor is required, use for example USES=magick:nox11 resp. USES=magick:7,nox11,run,test See magick.mk for more details on the available flags. The tree has been completely converted to make use of this. Approved by: bapt Differential Revision: https://reviews.freebsd.org/D32754
42 lines
765 B
Makefile
42 lines
765 B
Makefile
# Created by: ports@rbt.ca
|
|
|
|
PORTNAME= GD-SecurityImage
|
|
PORTVERSION= 1.75
|
|
PORTREVISION= 1
|
|
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
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
RUN_DEPENDS= p5-GD>=2.45:graphics/p5-GD
|
|
|
|
OPTIONS_DEFINE= IMAGEMAGICK X11
|
|
OPTIONS_DEFAULT=X11
|
|
IMAGEMAGICK_DESC= Build ImageMagick module
|
|
|
|
PORTSCOUT= skipv:1.581
|
|
|
|
USES= perl5
|
|
USE_PERL5= configure
|
|
|
|
NO_ARCH= yes
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MIMAGEMAGICK}
|
|
.if ${PORT_OPTIONS:MX11}
|
|
USES+= magick:6,build,run
|
|
.else
|
|
USES+= magick:6,build,run,nox11
|
|
.endif
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|