Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jul 2012 08:02:05 +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: r301782 - head/devel/p5-Class-Std-Fast
Message-ID:  <201207310802.q6V825Tp003353@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Tue Jul 31 08:02:04 2012
New Revision: 301782
URL: http://svn.freebsd.org/changeset/ports/301782

Log:
  - Use DISTVERSIONPREFIX instead of DISTVERSION
  - Add LICENSE
  - Fix *_DEPENDS
  - Bump PORTREVISION for dependency change

Modified:
  head/devel/p5-Class-Std-Fast/Makefile   (contents, props changed)
  head/devel/p5-Class-Std-Fast/pkg-plist   (contents, props changed)

Modified: head/devel/p5-Class-Std-Fast/Makefile
==============================================================================
--- head/devel/p5-Class-Std-Fast/Makefile	Tue Jul 31 08:00:31 2012	(r301781)
+++ head/devel/p5-Class-Std-Fast/Makefile	Tue Jul 31 08:02:04 2012	(r301782)
@@ -7,7 +7,8 @@
 
 PORTNAME=	Class-Std-Fast
 PORTVERSION=	0.0.8
-DISTVERSION=	v0.0.8
+DISTVERSIONPREFIX=	v
+PORTREVISION=	1
 CATEGORIES=	devel perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -15,12 +16,22 @@ PKGNAMEPREFIX=	p5-
 MAINTAINER=	perl@FreeBSD.org
 COMMENT=	Faster but less secure than Class::Std
 
-BUILD_DEPENDS=	p5-Test-Simple>=0.86:${PORTSDIR}/devel/p5-Test-Simple
-RUN_DEPENDS=	p5-version>=0:${PORTSDIR}/devel/p5-version \
-		p5-Class-Std>=0.0.9:${PORTSDIR}/devel/p5-Class-Std
+LICENSE=	ART10 GPLv1
+LICENSE_COMB=	dual
 
-PERL_CONFIGURE=	YES
+BUILD_DEPENDS=	p5-Class-Std>=0.0.9:${PORTSDIR}/devel/p5-Class-Std
+RUN_DEPENDS:=	${BUILD_DEPENDS}
 
-MAN3=		Class::Std::Fast.3 Class::Std::Fast::Storable.3
+PERL_CONFIGURE=	yes
 
-.include <bsd.port.mk>
+MAN3=		Class::Std::Fast.3 \
+		Class::Std::Fast::Storable.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501000
+BUILD_DEPENDS+=	p5-version>=0:${PORTSDIR}/devel/p5-version
+RUN_DEPENDS+=	p5-version>=0:${PORTSDIR}/devel/p5-version
+.endif
+
+.include <bsd.port.post.mk>

Modified: head/devel/p5-Class-Std-Fast/pkg-plist
==============================================================================
--- head/devel/p5-Class-Std-Fast/pkg-plist	Tue Jul 31 08:00:31 2012	(r301781)
+++ head/devel/p5-Class-Std-Fast/pkg-plist	Tue Jul 31 08:02:04 2012	(r301782)
@@ -1,9 +1,9 @@
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/Std/Fast/.packlist
 %%SITE_PERL%%/Class/Std/Fast.pm
 %%SITE_PERL%%/Class/Std/Fast/Storable.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/Std/Fast/.packlist
 @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/Std/Fast
 @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/Std
 @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class
-@dirrmtry %%SITE_PERL%%/Class/Std/Fast
+@dirrm %%SITE_PERL%%/Class/Std/Fast
 @dirrmtry %%SITE_PERL%%/Class/Std
 @dirrmtry %%SITE_PERL%%/Class



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