aboutsummaryrefslogtreecommitdiffstats
path: root/security/p5-Crypt-Cracklib/Makefile
blob: 52e237da10ec4ef4fbddcb4656a850ff9fdc021f (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
29
30
31
32
33
34
# New ports collection makefile for:    Crypt-Cracklib
# Date created:             Fri Jan 26 20:26:11 2001
# Whom:                 will
#
# $FreeBSD$
#

PORTNAME=   Crypt-Cracklib
PORTVERSION=    1.7
PORTREVISION=   1
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

BUILD_DEPENDS=  ${LOCALBASE}/lib/libcrack.a:${PORTSDIR}/security/cracklib \
        p5-Pod-Coverage>=0.19:${PORTSDIR}/devel/p5-Pod-Coverage \
        p5-Test-Pod-Coverage>=1.08:${PORTSDIR}/devel/p5-Test-Pod-Coverage
RUN_DEPENDS:=   ${BUILD_DEPENDS}

PERL_CONFIGURE= yes
CONFIGURE_ARGS= INC="-I${LOCALBASE}/include" DEFINE="-DCRACKLIB_DICTPATH=\\\"${PREFIX}/libdata/cracklib/pw_dict\\\""

MAN3=       Crypt::Cracklib.3

post-patch:
    ${REINPLACE_CMD} -e 's/crack.h/packer.h/' ${WRKSRC}/Cracklib.*

.include <bsd.port.mk>