aboutsummaryrefslogtreecommitdiffstats
path: root/security/p5-Crypt-Cracklib/Makefile
blob: 8efea9fbd170a7e249abc729627f9988533409f7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# 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:security/cracklib
TEST_DEPENDS=   p5-Pod-Coverage>=0.19:devel/p5-Pod-Coverage \
        p5-Test-Pod-Coverage>=1.08: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>