32 lines
816 B
Makefile
32 lines
816 B
Makefile
# 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}
|
|
|
|
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>
|