freebsd-ports/textproc/p5-POSIX-Regex/Makefile
Mark Linimon 9839011ec3 Welcome bsd.perl.mk. Add support for constructs such as USE_PERL5=5.8.0+.
Drop support for antique perl.

Work done by:	gabor
Sponsored by:	Google Summer of Code 2007
Hat:		portmgr
2007-09-08 01:12:10 +00:00

32 lines
672 B
Makefile

# 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
.include <bsd.port.post.mk>