aboutsummaryrefslogtreecommitdiffstats
path: root/security/p5-Crypt-Cracklib/Makefile
blob: 23715d02c34b7391a612624611847e80de7de65e (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
# New ports collection makefile for:    Crypt-Cracklib
# Date created:             Fri Jan 26 20:26:11 2001
# Whom:                 will
#
# $FreeBSD$
#

PORTNAME=   Crypt-Cracklib
PORTVERSION=    0.01
CATEGORIES= security perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Crypt
PKGNAMEPREFIX=  p5-

MAINTAINER= ports@FreeBSD.org
COMMENT=    Perl interface to Alec Muffet's cracklib library

BUILD_DEPENDS=  ${LOCALBASE}/lib/libcrack.a:${PORTSDIR}/security/cracklib
RUN_DEPENDS=    ${BUILD_DEPENDS}

PERL_CONFIGURE= yes
CONFIGURE_ARGS+=INC="-I${LOCALBASE}/include"

MAN3=       Crypt::Cracklib.3

post-patch:
    ${PERL} -pi -e "s@INCLUDE@${LOCALBASE}/include@g;\
            s@FBSDLIB@${LOCALBASE}/lib@g" ${WRKSRC}/Makefile.PL

.include <bsd.port.mk>