From caaa17d1ffe2fe41a3fe984d7a16158574a24f90 Mon Sep 17 00:00:00 2001 From: skv Date: Mon, 7 Feb 2005 16:50:23 +0000 Subject: Add p5-Math-Bezier-Convert 0.02, convert cubic and quadratic bezier each other. --- math/Makefile | 1 + math/p5-Math-Bezier-Convert/Makefile | 34 ++++++++++++++++++++++++++++++++++ math/p5-Math-Bezier-Convert/distinfo | 2 ++ math/p5-Math-Bezier-Convert/pkg-descr | 5 +++++ math/p5-Math-Bezier-Convert/pkg-plist | 7 +++++++ 5 files changed, 49 insertions(+) create mode 100644 math/p5-Math-Bezier-Convert/Makefile create mode 100644 math/p5-Math-Bezier-Convert/distinfo create mode 100644 math/p5-Math-Bezier-Convert/pkg-descr create mode 100644 math/p5-Math-Bezier-Convert/pkg-plist (limited to 'math') diff --git a/math/Makefile b/math/Makefile index cdc687f4f02b..00a6571fce2c 100644 --- a/math/Makefile +++ b/math/Makefile @@ -139,6 +139,7 @@ SUBDIR += p5-Math-Base85 SUBDIR += p5-Math-BaseCalc SUBDIR += p5-Math-Bezier + SUBDIR += p5-Math-Bezier-Convert SUBDIR += p5-Math-BigInt SUBDIR += p5-Math-BigIntFast SUBDIR += p5-Math-Calc-Units diff --git a/math/p5-Math-Bezier-Convert/Makefile b/math/p5-Math-Bezier-Convert/Makefile new file mode 100644 index 000000000000..255b76907a2a --- /dev/null +++ b/math/p5-Math-Bezier-Convert/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: Math-Bezier-Convert +# Date created: 07 February 2005 +# Whom: Sergey Skvortsov +# +# $FreeBSD$ +# + +PORTNAME= Math-Bezier-Convert +PORTVERSION= 0.02 +CATEGORIES= math perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= ../../authors/id/Y/YS/YSAS +PKGNAMEPREFIX= p5- + +MAINTAINER= skv@FreeBSD.org +COMMENT= Convert cubic and quadratic bezier each other + +PERL_CONFIGURE= yes + +MAN3= Math::Bezier::Convert.3 + +post-patch: + @${FIND} ${WRKSRC} -type f | ${XARGS} ${PERL} -pi -e 's/\x0d(?=\x0a)//' + +post-configure: + @${PERL} -pi -e 's/^(POD2MAN_EXE.*)$$/\1 --lax/;' ${WRKSRC}/Makefile + +.include + +.if ${PERL_LEVEL} < 500600 +IGNORE= Port requires perl 5.6.x or later. Install lang/perl5.8 then try again +.endif + +.include diff --git a/math/p5-Math-Bezier-Convert/distinfo b/math/p5-Math-Bezier-Convert/distinfo new file mode 100644 index 000000000000..46bbbbce3e8c --- /dev/null +++ b/math/p5-Math-Bezier-Convert/distinfo @@ -0,0 +1,2 @@ +MD5 (Math-Bezier-Convert-0.02.tar.gz) = fb5237be267b594ae9849fcdd389ed11 +SIZE (Math-Bezier-Convert-0.02.tar.gz) = 6483 diff --git a/math/p5-Math-Bezier-Convert/pkg-descr b/math/p5-Math-Bezier-Convert/pkg-descr new file mode 100644 index 000000000000..c91d3aa219c2 --- /dev/null +++ b/math/p5-Math-Bezier-Convert/pkg-descr @@ -0,0 +1,5 @@ +Math::Bezier::Convert provides functions to convert quadratic bezier to +cubic, to approximate cubic bezier to quadratic, and to approximate +cubic and quadratic bezier to polyline. + +WWW: http://search.cpan.org/dist/Math-Bezier-Convert/ diff --git a/math/p5-Math-Bezier-Convert/pkg-plist b/math/p5-Math-Bezier-Convert/pkg-plist new file mode 100644 index 000000000000..f15ff1adb99d --- /dev/null +++ b/math/p5-Math-Bezier-Convert/pkg-plist @@ -0,0 +1,7 @@ +%%SITE_PERL%%/Math/Bezier/Convert.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/Bezier/Convert/.packlist +@unexec rmdir %D/%%SITE_PERL%%/Math/Bezier 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/Math 2>/dev/null || true +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/Bezier/Convert +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/Bezier 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math 2>/dev/null || true -- cgit