Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Mar 2017 12:32:17 +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: r437351 - head/lang/p5-List-MoreUtils-XS
Message-ID:  <201703311232.v2VCWHsH045128@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Fri Mar 31 12:32:17 2017
New Revision: 437351
URL: https://svnweb.freebsd.org/changeset/ports/437351

Log:
  Add p5-List-MoreUtils-XS 0.418
  
  List::MoreUtils::XS provides compiled List::MoreUtils functions.
  
  WWW: http://search.cpan.org/dist/List-MoreUtils-XS/

Added:
  head/lang/p5-List-MoreUtils-XS/
     - copied from r437349, head/lang/p5-List-MoreUtils/
Modified:
  head/lang/p5-List-MoreUtils-XS/Makefile
  head/lang/p5-List-MoreUtils-XS/distinfo
  head/lang/p5-List-MoreUtils-XS/pkg-descr
  head/lang/p5-List-MoreUtils-XS/pkg-plist

Modified: head/lang/p5-List-MoreUtils-XS/Makefile
==============================================================================
--- head/lang/p5-List-MoreUtils/Makefile	Fri Mar 31 11:27:26 2017	(r437349)
+++ head/lang/p5-List-MoreUtils-XS/Makefile	Fri Mar 31 12:32:17 2017	(r437351)
@@ -1,23 +1,32 @@
-# Created by: Lars Thegler <lth@FreeBSD.org>
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
 # $FreeBSD$
 
-PORTNAME=	List-MoreUtils
-DISTVERSION=	0.418
+PORTNAME=	List-MoreUtils-XS
+PORTVERSION=	0.418
 CATEGORIES=	lang perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
 
-MAINTAINER=	perl@FreeBSD.org
-COMMENT=	Provide the stuff missing in List::Util
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Provide compiled List::MoreUtils functions
 
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	p5-Exporter-Tiny>=0.038:devel/p5-Exporter-Tiny
+BUILD_DEPENDS=	p5-List-MoreUtils>=${PORTVERSION}:lang/p5-List-MoreUtils
 RUN_DEPENDS:=	${BUILD_DEPENDS}
 
-NO_ARCH=	yes
-USES=		perl5
 USE_PERL5=	configure
+USES=		perl5
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 502503
+BUILD_DEPENDS+=	p5-XSLoader>=0.22:devel/p5-XSLoader
+RUN_DEPENDS+=	p5-XSLoader>=0.22:devel/p5-XSLoader
+.endif
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/List/MoreUtils/XS/XS.so
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>

Modified: head/lang/p5-List-MoreUtils-XS/distinfo
==============================================================================
--- head/lang/p5-List-MoreUtils/distinfo	Fri Mar 31 11:27:26 2017	(r437349)
+++ head/lang/p5-List-MoreUtils-XS/distinfo	Fri Mar 31 12:32:17 2017	(r437351)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1490887483
-SHA256 (List-MoreUtils-0.418.tar.gz) = 365651edea4e0c806576e4dcfc3dfb98bb4cbb343bc5c3e04cdc7b5b71ed4988
-SIZE (List-MoreUtils-0.418.tar.gz) = 55111
+TIMESTAMP = 1490900474
+SHA256 (List-MoreUtils-XS-0.418.tar.gz) = 0aa41a90337bb1ec48db50e5c73875b960685ff4dd49c26ed39dea0d52752d4f
+SIZE (List-MoreUtils-XS-0.418.tar.gz) = 129838

Modified: head/lang/p5-List-MoreUtils-XS/pkg-descr
==============================================================================
--- head/lang/p5-List-MoreUtils/pkg-descr	Fri Mar 31 11:27:26 2017	(r437349)
+++ head/lang/p5-List-MoreUtils-XS/pkg-descr	Fri Mar 31 12:32:17 2017	(r437351)
@@ -1,4 +1,3 @@
-List::MoreUtils provides some trivial but commonly needed functionality
-on lists which is not going to go into List::Util.
+List::MoreUtils::XS provides compiled List::MoreUtils functions.
 
-WWW: http://search.cpan.org/dist/List-MoreUtils/
+WWW: http://search.cpan.org/dist/List-MoreUtils-XS/

Modified: head/lang/p5-List-MoreUtils-XS/pkg-plist
==============================================================================
--- head/lang/p5-List-MoreUtils/pkg-plist	Fri Mar 31 11:27:26 2017	(r437349)
+++ head/lang/p5-List-MoreUtils-XS/pkg-plist	Fri Mar 31 12:32:17 2017	(r437351)
@@ -1,6 +1,3 @@
-%%SITE_PERL%%/List/MoreUtils.pm
-%%SITE_PERL%%/List/MoreUtils/Contributing.pod
-%%SITE_PERL%%/List/MoreUtils/PP.pm
-%%PERL5_MAN3%%/List::MoreUtils.3.gz
-%%PERL5_MAN3%%/List::MoreUtils::Contributing.3.gz
-%%PERL5_MAN3%%/List::MoreUtils::PP.3.gz
+%%SITE_ARCH%%/List/MoreUtils/XS.pm
+%%SITE_ARCH%%/auto/List/MoreUtils/XS/XS.so
+%%PERL5_MAN3%%/List::MoreUtils::XS.3.gz



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