ports/math/p5-Math-SimpleVariable/Makefile
Andrej Zverev 0c32f39711 - Convert to new Uses/perl5.mk framework
- Resolve issues with implicit lang/perl in extract and patch dependencies
- Trim Makefile header

Reviewed by:	bapt@ (exp-run)
Approved by:	bapt@ (portmrg@)
2013-07-31 06:54:09 +00:00

23 lines
584 B
Makefile

# Created by: Sergey Skvortsov <skv@FreeBSD.org>
# $FreeBSD$
PORTNAME= Math-SimpleVariable
PORTVERSION= 0.03
PORTREVISION= 1
CATEGORIES= math perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Simple representation of mathematical variables
USES= perl5
USE_PERL5= configure patch
MAN3= Math::SimpleVariable.3
pre-patch:
@${FIND} ${WRKSRC} -name "*.pm" | ${XARGS} ${PERL} -pi -e \
'$$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>