diff options
author | clsung <clsung@FreeBSD.org> | 2006-09-26 16:18:26 +0800 |
---|---|---|
committer | clsung <clsung@FreeBSD.org> | 2006-09-26 16:18:26 +0800 |
commit | c18b2e580e423037e59ddcc3ba95f6a94a14bffd (patch) | |
tree | 44f70e9cfb65fa55e21214d8dff29cb9e31b023e /textproc/p5-POSIX-Regex/Makefile | |
parent | b041ed0984b53573236d7f62ebc6085afa15752e (diff) | |
download | freebsd-ports-gnome-c18b2e580e423037e59ddcc3ba95f6a94a14bffd.tar.gz freebsd-ports-gnome-c18b2e580e423037e59ddcc3ba95f6a94a14bffd.tar.zst freebsd-ports-gnome-c18b2e580e423037e59ddcc3ba95f6a94a14bffd.zip |
Add p5-POSIX-Regex 0.89, OO interface for the gnu regex engine.
PR: ports/102253
Submitted by: Gea-Suan Lin <gslin at gslin.org>
Diffstat (limited to 'textproc/p5-POSIX-Regex/Makefile')
-rw-r--r-- | textproc/p5-POSIX-Regex/Makefile | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/textproc/p5-POSIX-Regex/Makefile b/textproc/p5-POSIX-Regex/Makefile new file mode 100644 index 000000000000..49a1ba235b3c --- /dev/null +++ b/textproc/p5-POSIX-Regex/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: p5-POSIX-Regex +# Date created: 2006-08-19 +# Whom: Gea-Suan Lin <gslin@gslin.org> +# +# $FreeBSD$ +# + +PORTNAME= POSIX-Regex +PORTVERSION= 0.89 +CATEGORIES= textproc perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= POSIX +PKGNAMEPREFIX= p5- + +MAINTAINER= gslin@gslin.org +COMMENT= OO interface for the gnu regex engine + +PERL_CONFIGURE= yes +USE_GCC= 3.2+ + +MAN3= POSIX::Regex.3 + +post-patch: + ${PERL} -pi -e 's/REG_NOERROR/0/g' ${WRKSRC}/Regex.xs + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500703 +BUILD_DEPENDS+= ${SITE_PERL}/ExtUtils/Constant.pm:${PORTSDIR}/devel/p5-ExtUtils-Constant +.endif + +.if ${PERL_LEVEL} < 500601 +IGNORE= requires perl 5.6.x or later. Install lang/perl5 then try again +.endif + +.include <bsd.port.post.mk> |