aboutsummaryrefslogtreecommitdiffstats
path: root/security/p5-GD-SecurityImage/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/p5-GD-SecurityImage/Makefile')
-rw-r--r--security/p5-GD-SecurityImage/Makefile19
1 files changed, 6 insertions, 13 deletions
diff --git a/security/p5-GD-SecurityImage/Makefile b/security/p5-GD-SecurityImage/Makefile
index bcd9f809f3aa..df18308c1b71 100644
--- a/security/p5-GD-SecurityImage/Makefile
+++ b/security/p5-GD-SecurityImage/Makefile
@@ -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>
-
-.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
+IMAGEMAGICK_BUILD_DEPENDS= ${LOCALBASE}/bin/convert:${PORTSDIR}/graphics/ImageMagick
+IMAGEMAGICK_RUN_DEPENDS= ${LOCALBASE}/bin/convert:${PORTSDIR}/graphics/ImageMagick
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>