2002-05-27 16:50:49 +02:00
|
|
|
# New ports collection makefile for: Math::SimpleVariable
|
|
|
|
# Date created: 5 Nov 2001
|
|
|
|
# Whom: Sergey Skvortsov <skv@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= Math-SimpleVariable
|
|
|
|
PORTVERSION= 0.03
|
|
|
|
CATEGORIES= math perl5
|
2008-04-17 16:30:31 +02:00
|
|
|
MASTER_SITES= CPAN
|
2002-05-27 16:50:49 +02:00
|
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
|
|
|
|
MAINTAINER= skv@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Simple representation of mathematical variables
|
2002-05-27 16:50:49 +02:00
|
|
|
|
2003-10-24 14:05:09 +02:00
|
|
|
BUILD_DEPENDS= ${SITE_PERL}/fields.pm:${PORTSDIR}/devel/p5-Class-Fields
|
2002-05-27 16:50:49 +02:00
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
|
|
|
|
MAN3= Math::SimpleVariable.3
|
|
|
|
|
|
|
|
pre-patch:
|
2003-11-13 14:30:42 +01:00
|
|
|
@${FIND} ${WRKSRC} -name "*.pm" | ${XARGS} ${PERL} -pi -e \
|
2002-05-27 16:50:49 +02:00
|
|
|
'$$package=$$1 if /^package\s+([^\s;]*);/; s!^require 5.005_62;!!; s!^use warnings;!!; s!^our\s+(\$$)(VERSION)\s+=!$$1$${package}::$$2=!;'
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|