Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 May 2015 11:36:39 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r386320 - in head/math: . p5-Math-Geometry-Planar-GPC-PolygonXS
Message-ID:  <201505141136.t4EBadkY070755@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu May 14 11:36:39 2015
New Revision: 386320
URL: https://svnweb.freebsd.org/changeset/ports/386320

Log:
  Math::Geometry::Planar::GPC::Polygon - OO wrapper to gpc library (translated to XS)
  
  WWW: http://search.cpan.org/dist/Math-Geometry-Planar-GPC-Polygon/

Added:
  head/math/p5-Math-Geometry-Planar-GPC-PolygonXS/
     - copied from r383387, head/math/p5-Math-Geometry-Planar-GPC-Polygon/
Modified:
  head/math/Makefile
  head/math/p5-Math-Geometry-Planar-GPC-PolygonXS/Makefile
  head/math/p5-Math-Geometry-Planar-GPC-PolygonXS/distinfo
  head/math/p5-Math-Geometry-Planar-GPC-PolygonXS/pkg-plist

Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile	Thu May 14 11:34:05 2015	(r386319)
+++ head/math/Makefile	Thu May 14 11:36:39 2015	(r386320)
@@ -426,6 +426,7 @@
     SUBDIR += p5-Math-Geometry-Planar
     SUBDIR += p5-Math-Geometry-Planar-GPC
     SUBDIR += p5-Math-Geometry-Planar-GPC-Polygon
+    SUBDIR += p5-Math-Geometry-Planar-GPC-PolygonXS
     SUBDIR += p5-Math-Geometry-Planar-Offset
     SUBDIR += p5-Math-Geometry-Voronoi
     SUBDIR += p5-Math-Gradient

Modified: head/math/p5-Math-Geometry-Planar-GPC-PolygonXS/Makefile
==============================================================================
--- head/math/p5-Math-Geometry-Planar-GPC-Polygon/Makefile	Sun Apr  5 22:23:27 2015	(r383387)
+++ head/math/p5-Math-Geometry-Planar-GPC-PolygonXS/Makefile	Thu May 14 11:36:39 2015	(r386320)
@@ -1,25 +1,28 @@
 # Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
 # $FreeBSD$
 
-PORTNAME=	Math-Geometry-Planar-GPC-Polygon
-PORTVERSION=	0.05
-PORTREVISION=	4
+PORTNAME=	Math-Geometry-Planar-GPC-PolygonXS
+PORTVERSION=	0.052
 CATEGORIES=	math perl5
 MASTER_SITES=	CPAN
+MASTER_SITE_SUBDIR=	CPAN:LIOSHA
 PKGNAMEPREFIX=	p5-
 
 MAINTAINER=	amdmi3@FreeBSD.org
-COMMENT=	OO wrapper to gpc library
+COMMENT=	OO wrapper to gpc library (translated to XS)
 
 LICENSE=	ART10 GPLv1
 LICENSE_COMB=	dual
 
-BUILD_DEPENDS=	p5-Inline>=0:${PORTSDIR}/devel/p5-Inline \
-		p5-Inline-C>=0:${PORTSDIR}/devel/p5-Inline-C
-RUN_DEPENDS:=	${BUILD_DEPENDS}
-
 USES=		perl5
 USE_PERL5=	configure
-MAKE_JOBS_UNSAFE=	yes
+
+post-install:
+	${CHMOD} u+w ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Math/Geometry/Planar/GPC/PolygonXS/PolygonXS.so
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Math/Geometry/Planar/GPC/PolygonXS/PolygonXS.so
+	${CHMOD} u-w ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Math/Geometry/Planar/GPC/PolygonXS/PolygonXS.so
+
+regression-test test: build
+	@cd ${WRKSRC} && ${MAKE} test
 
 .include <bsd.port.mk>

Modified: head/math/p5-Math-Geometry-Planar-GPC-PolygonXS/distinfo
==============================================================================
--- head/math/p5-Math-Geometry-Planar-GPC-Polygon/distinfo	Sun Apr  5 22:23:27 2015	(r383387)
+++ head/math/p5-Math-Geometry-Planar-GPC-PolygonXS/distinfo	Thu May 14 11:36:39 2015	(r386320)
@@ -1,2 +1,2 @@
-SHA256 (Math-Geometry-Planar-GPC-Polygon-0.05.tar.gz) = 2f9d96a9bc4ef2101442bc12152f7f7ca8c062f67091ddeca6fee82d65b3d390
-SIZE (Math-Geometry-Planar-GPC-Polygon-0.05.tar.gz) = 19338
+SHA256 (Math-Geometry-Planar-GPC-PolygonXS-0.052.tar.gz) = f45149ffebe664c47fa0a0710982ed9a93e76857b6298443619a5d4aceecb241
+SIZE (Math-Geometry-Planar-GPC-PolygonXS-0.052.tar.gz) = 65747

Modified: head/math/p5-Math-Geometry-Planar-GPC-PolygonXS/pkg-plist
==============================================================================
--- head/math/p5-Math-Geometry-Planar-GPC-Polygon/pkg-plist	Sun Apr  5 22:23:27 2015	(r383387)
+++ head/math/p5-Math-Geometry-Planar-GPC-PolygonXS/pkg-plist	Thu May 14 11:36:39 2015	(r386320)
@@ -1,5 +1,3 @@
-%%SITE_PERL%%/Math/Geometry/Planar/GPC/Polygon.pm
-%%SITE_PERL%%/Math/Geometry/Planar/GPC/Polygon/functions.c
-%%SITE_PERL%%/Math/Geometry/Planar/GPC/Polygon/include/gpc.c
-%%SITE_PERL%%/Math/Geometry/Planar/GPC/Polygon/include/gpc.h
-%%PERL5_MAN3%%/Math::Geometry::Planar::GPC::Polygon.3.gz
+%%SITE_ARCH%%/Math/Geometry/Planar/GPC/PolygonXS.pm
+%%SITE_ARCH%%/auto/Math/Geometry/Planar/GPC/PolygonXS/PolygonXS.so
+%%PERL5_MAN3%%/Math::Geometry::Planar::GPC::PolygonXS.3.gz



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