# Created by: chinsan <chinsan.tw@gmail.com>
# $FreeBSD: tags/RELEASE_11_0_0/textproc/pecl-stem/Makefile 417719 2016-06-28 14:00:45Z mat $

PORTNAME=	stem
PORTVERSION=	1.5.1
CATEGORIES=	textproc pear
MASTER_SITES=	http://pecl.php.net/get/
PKGNAMEPREFIX=	pecl-
DIST_SUBDIR=	PECL

MAINTAINER=	miwi@FreeBSD.org
COMMENT=	PECL extension which provides word stemming

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/COPYING

USES=		php:ext tar:tgz
IGNORE_WITH_PHP=	70

post-configure:
	echo "#define HAVE_XDL_ALLOCATOR_PRIV 1" >>${WRKSRC}/config.h

.include <bsd.port.mk>
