summaryrefslogtreecommitdiffstats
path: root/security/p5-Crypt-Cracklib/Makefile
blob: a1af69dc1d25cb32e19c2a5824ad3067f27f1118 (plain)
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
# 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

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

SITE_PERL=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
PERL_CONFIGURE=	yes
CONFIGURE_ARGS+=INC="-I${LOCALBASE}/include"

MANPREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
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>
OpenPOWER on IntegriCloud