svn commit: r442356 - head/devel/p5-Test-JSON

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Thu Jun 1 23:52:20 UTC 2017


Author: sunpoet
Date: Thu Jun  1 23:52:18 2017
New Revision: 442356
URL: https://svnweb.freebsd.org/changeset/ports/442356

Log:
  Add LICENSE
  
  - Remove DISTNAME
  - Add NO_ARCH
  - Remove outdated PERL_LEVEL check

Modified:
  head/devel/p5-Test-JSON/Makefile

Modified: head/devel/p5-Test-JSON/Makefile
==============================================================================
--- head/devel/p5-Test-JSON/Makefile	Thu Jun  1 23:52:13 2017	(r442355)
+++ head/devel/p5-Test-JSON/Makefile	Thu Jun  1 23:52:18 2017	(r442356)
@@ -7,23 +7,19 @@ PORTREVISION=	2
 CATEGORIES=	devel perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
-DISTNAME=	${PORTNAME}-${DISTVERSION:C/0$//}
 
 MAINTAINER=	perl at FreeBSD.org
 COMMENT=	Test JSON data
 
-RUN_DEPENDS=	p5-Test-Differences>=0.47:devel/p5-Test-Differences \
+LICENSE=	ART10 GPLv1
+LICENSE_COMB=	dual
+
+BUILD_DEPENDS=	p5-Test-Differences>=0.47:devel/p5-Test-Differences \
 		p5-JSON-Any>=1.20:converters/p5-JSON-Any
-BUILD_DEPENDS:=	${RUN_DEPENDS}
+RUN_DEPENDS:=	${BUILD_DEPENDS}
 
+NO_ARCH=	yes
 USES=		perl5
 USE_PERL5=	configure
 
-.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} < 502200
-BUILD_DEPENDS+=	p5-Test-Simple>=1.001014:devel/p5-Test-Simple
-RUN_DEPENDS+=	p5-Test-Simple>=1.001014:devel/p5-Test-Simple
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>


More information about the svn-ports-all mailing list