# Created by: ale
# $FreeBSD: tags/RELEASE_11_1_0/security/php-suhosin/Makefile 433543 2017-02-07 12:14:34Z mat $

PORTNAME=	suhosin
PORTVERSION=	0.9.38
PORTREVISION=	3
CATEGORIES=	security
MASTER_SITES=	http://download.suhosin.org/
PKGNAMEPREFIX=	php-

MAINTAINER=	ale@FreeBSD.org
COMMENT=	PHP extension that implements high-level protections

LICENSE=	PHP301

OPTIONS_DEFINE=	EXAMPLES

USES=		php:ext
USE_PHP=	session:build
IGNORE_WITH_PHP=	70 71

CONFIGURE_ARGS=	--enable-suhosin

PORTEXAMPLES=	suhosin.ini

post-install:
	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/suhosin.ini ${STAGEDIR}${EXAMPLESDIR}

.include <bsd.port.mk>
