Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Mar 2014 17:23:16 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r346659 - head/security/p5-GD-SecurityImage
Message-ID:  <201403011723.s21HNGK1074630@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Mar  1 17:23:16 2014
New Revision: 346659
URL: http://svnweb.freebsd.org/changeset/ports/346659
QAT: https://qat.redports.org/buildarchive/r346659/

Log:
  - Add LICENSE
  - Convert to new options helper
  - Remove outdated PERL_LEVEL check

Modified:
  head/security/p5-GD-SecurityImage/Makefile

Modified: head/security/p5-GD-SecurityImage/Makefile
==============================================================================
--- head/security/p5-GD-SecurityImage/Makefile	Sat Mar  1 17:20:38 2014	(r346658)
+++ head/security/p5-GD-SecurityImage/Makefile	Sat Mar  1 17:23:16 2014	(r346659)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403011723.s21HNGK1074630>