2005-12-01 17:31:14 +01:00
|
|
|
# New ports collection makefile for: Class-C3
|
|
|
|
# Date created: 1 Dec 2005
|
2006-05-01 15:52:00 +02:00
|
|
|
# Whom: Lars Balker Rasmussen <lbr@FreeBSD.org>
|
2005-12-01 17:31:14 +01:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= Class-C3
|
2010-07-04 19:01:49 +02:00
|
|
|
PORTVERSION= 0.23
|
2005-12-01 17:31:14 +01:00
|
|
|
CATEGORIES= devel perl5
|
2008-04-17 16:30:31 +02:00
|
|
|
MASTER_SITES= CPAN
|
2005-12-01 17:31:14 +01:00
|
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
|
2009-08-16 11:22:05 +02:00
|
|
|
MAINTAINER= perl@FreeBSD.org
|
2005-12-01 17:31:14 +01:00
|
|
|
COMMENT= A pragma to use the C3 method resolution order algorithm
|
|
|
|
|
2007-06-23 13:37:15 +02:00
|
|
|
OPTIONS= XS "XS speed optimizations" off
|
2007-05-25 11:01:37 +02:00
|
|
|
|
2011-09-17 08:49:29 +02:00
|
|
|
PERL_CONFIGURE= yes
|
2007-09-10 02:23:12 +02:00
|
|
|
|
2007-05-25 11:01:37 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.ifdef(WITH_XS)
|
2007-06-05 00:11:11 +02:00
|
|
|
RUN_DEPENDS= p5-Class-C3-XS>=0.07:${PORTSDIR}/devel/p5-Class-C3-XS
|
2007-05-25 11:01:37 +02:00
|
|
|
.else
|
|
|
|
RUN_DEPENDS= p5-Algorithm-C3>=0.06:${PORTSDIR}/devel/p5-Algorithm-C3
|
|
|
|
.endif
|
2006-09-02 17:52:26 +02:00
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
2005-12-01 17:31:14 +01:00
|
|
|
|
2007-05-25 11:01:37 +02:00
|
|
|
MAN3= Class::C3.3 \
|
|
|
|
Class::C3::next.3
|
2005-12-01 17:31:14 +01:00
|
|
|
|
2006-07-20 01:52:22 +02:00
|
|
|
post-extract:
|
2007-05-25 11:01:37 +02:00
|
|
|
@${PERL} -i.bak -ne 'print unless m,^if, .. m,}$$,' ${WRKSRC}/Makefile.PL
|
2005-12-01 17:31:14 +01:00
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|