diff options
| author | Aaron Dalton <aaron@FreeBSD.org> | 2006-05-25 16:56:45 +0000 |
|---|---|---|
| committer | Aaron Dalton <aaron@FreeBSD.org> | 2006-05-25 16:56:45 +0000 |
| commit | 309551a29415977fbeb0ebae8e5a96fb237ea369 (patch) | |
| tree | 599c604fdc2d81db2559c26b1aa47f30d19016e3 /textproc/p5-MathML-Entities/Makefile | |
| parent | 25d740c31b0505f920b31424f43219c4f2cdedab (diff) | |
Notes
Diffstat (limited to 'textproc/p5-MathML-Entities/Makefile')
| -rw-r--r-- | textproc/p5-MathML-Entities/Makefile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/textproc/p5-MathML-Entities/Makefile b/textproc/p5-MathML-Entities/Makefile new file mode 100644 index 000000000000..a350b39f13a6 --- /dev/null +++ b/textproc/p5-MathML-Entities/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: p5-MathML-Entities +# Date created: 25 May 2006 +# Whom: Aaron Dalton <aaron@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= MathML-Entities +PORTVERSION= 0.13 +CATEGORIES= textproc www math perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= MathML +PKGNAMEPREFIX= p5- + +MAINTAINER= aaron@FreeBSD.org +COMMENT= Convert XHTML+MathML Named Entities to Numeric Character References + +MAN3= MathML::Entities.3 + +PERL_CONFIGURE= yes + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +post-patch: + @${PERL} -pi -e 's/^our (\S+)/use vars qw{$$1};$$1/g' \ + ${WRKSRC}/lib/MathML/Entities.pm +.endif + +.include <bsd.port.post.mk> |
