a1993564e0
Ports using USES=php:phpize, php:ext, php:zend, and php:pecl are now flavored. They will automatically get flavors (php56, php70, php71, php72) depending of the versions they support (set with IGNORE_WITH_PHP). As a consequence, ports using USES=pear and USES=horde are also flavored. PR: 226242 Submitted by: mat Exp-run by: antoine Approved by: portmgr Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D14208
30 lines
585 B
Makefile
30 lines
585 B
Makefile
# Created by: ale
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= suhosin
|
|
PORTVERSION= 0.9.38
|
|
PORTREVISION= 3
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://download.suhosin.org/
|
|
PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX}
|
|
|
|
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 72
|
|
|
|
CONFIGURE_ARGS= --enable-suhosin
|
|
|
|
PORTEXAMPLES= suhosin.ini
|
|
|
|
post-install:
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/suhosin.ini ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|