aboutsummaryrefslogtreecommitdiffstats
path: root/math/p5-Math-Bezier-Convert/Makefile
blob: b52ab033ddcdc433c55c672bac953f7a4db6fb55 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# New ports collection makefile for:    Math-Bezier-Convert
# Date created:    07 February 2005
# Whom:        Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD$
#

PORTNAME=   Math-Bezier-Convert
PORTVERSION=    0.02
CATEGORIES= math perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= perl@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 <bsd.port.mk>