freebsd-ports/security/p5-Crypt-Cracklib/Makefile
Mathieu Arnold cbeee465da Fix build on FreeBSD 11.
Sponsored by:	Absolight
2015-08-21 11:37:29 +00:00

28 lines
724 B
Makefile

# Created by: will
# $FreeBSD$
PORTNAME= Crypt-Cracklib
PORTVERSION= 1.7
PORTREVISION= 5
CATEGORIES= security perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl interface to Alec Muffet's cracklib library
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
LIB_DEPENDS= libcrack.so:${PORTSDIR}/security/cracklib
TEST_DEPENDS= p5-Pod-Coverage>=0.19:${PORTSDIR}/devel/p5-Pod-Coverage \
p5-Test-Pod-Coverage>=1.08:${PORTSDIR}/devel/p5-Test-Pod-Coverage
USES= perl5
USE_PERL5= configure
CONFIGURE_ARGS= INC="-I${LOCALBASE}/include" DEFINE="-DCRACKLIB_DICTPATH=\\\"${PREFIX}/libdata/cracklib/pw_dict\\\""
post-patch:
@${REINPLACE_CMD} 's/-Werror//' ${WRKSRC}/Makefile.PL
.include <bsd.port.mk>