1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00

- Add LICENSE

- Convert to new options helper
- Remove outdated PERL_LEVEL check
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2014-03-01 17:23:16 +00:00
parent 17dd8df930
commit 9812136ea9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346659

View File

@ -11,6 +11,9 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl5 module for creating CAPTCHA security images
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
BUILD_DEPENDS= p5-GD>=0:${PORTSDIR}/graphics/p5-GD
RUN_DEPENDS:= ${BUILD_DEPENDS}
@ -22,17 +25,7 @@ PORTSCOUT= skipv:1.581
USES= perl5
USE_PERL5= configure
.include <bsd.port.options.mk>
IMAGEMAGICK_BUILD_DEPENDS= ${LOCALBASE}/bin/convert:${PORTSDIR}/graphics/ImageMagick
IMAGEMAGICK_RUN_DEPENDS= ${LOCALBASE}/bin/convert:${PORTSDIR}/graphics/ImageMagick
.if ${PORT_OPTIONS:MIMAGEMAGICK}
BUILD_DEPENDS+= convert:${PORTSDIR}/graphics/ImageMagick
RUN_DEPENDS+= convert:${PORTSDIR}/graphics/ImageMagick
.endif
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 501400
BUILD_DEPENDS+= p5-Module-Build>=0.3800:${PORTSDIR}/devel/p5-Module-Build
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>