aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2014-03-02 01:23:16 +0800
committersunpoet <sunpoet@FreeBSD.org>2014-03-02 01:23:16 +0800
commite05ac9b65d1c7a879f936c16623e7f2cc2396411 (patch)
tree9d79bd0166ab9f7adc9f8461987e0d03e654fc1e /security
parent4946047b54d1f9cf195f1ad1205aa760f2e47714 (diff)
downloadfreebsd-ports-gnome-e05ac9b65d1c7a879f936c16623e7f2cc2396411.tar.gz
freebsd-ports-gnome-e05ac9b65d1c7a879f936c16623e7f2cc2396411.tar.zst
freebsd-ports-gnome-e05ac9b65d1c7a879f936c16623e7f2cc2396411.zip
- Add LICENSE
- Convert to new options helper - Remove outdated PERL_LEVEL check
Diffstat (limited to 'security')
-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>