After testing every pecl-* port with PHP 5.6, 7.0, 7.1 and 7.2 i set the IGNORE_WITH_PHP accordingly to the fallout. PR: 222165 Reported by: brnd Approved by: portmgr (blanket) Differential Revision: https://reviews.freebsd.org/D13476
31 lines
742 B
Makefile
31 lines
742 B
Makefile
# Created by: Bill Moran <wmoran@collaborativefusion.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= crack
|
|
PORTVERSION= 0.4
|
|
PORTREVISION= 1
|
|
PORTEPOCH= 1
|
|
CATEGORIES= security www
|
|
|
|
MAINTAINER= joneum@FreeBSD.org
|
|
COMMENT= PECL extension to cracklib
|
|
|
|
LICENSE= PHP30
|
|
|
|
LIB_DEPENDS= libcrack.so:security/cracklib
|
|
|
|
USES= php:pecl
|
|
IGNORE_WITH_PHP= 70 71 72
|
|
|
|
EXTRACT_AFTER_ARGS=--no-same-permissions --no-same-owner --exclude libcrack
|
|
CONFIGURE_ARGS= --with-crack=${LOCALBASE}
|
|
CFLAGS+= -Wno-deprecated
|
|
|
|
post-configure:
|
|
${REINPLACE_CMD} -e 's|^\$$ini_overwrites.*|&'"'"'crack.default_dictionary=\"${LOCALBASE}/libdata/cracklib/pw_dict\"'"'"',|' \
|
|
${WRKSRC}/run-tests.php
|
|
|
|
test check regression-test: build
|
|
${MAKE} -C ${WRKSRC} test < /dev/null
|
|
|
|
.include <bsd.port.mk>
|