aboutsummaryrefslogtreecommitdiff
path: root/security/p5-Crypt-Cracklib/Makefile
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2007-01-05 16:22:25 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2007-01-05 16:22:25 +0000
commit880d6cc0eed5212f97b00a63d3c7f115d8cac5fd (patch)
treec5eca325c584ded96d28eac402fdd41e3cafc44d /security/p5-Crypt-Cracklib/Makefile
parent6e391907fcfb1a4c73db0e1ef66a299ded65d11c (diff)
downloadports-880d6cc0eed5212f97b00a63d3c7f115d8cac5fd.tar.gz
ports-880d6cc0eed5212f97b00a63d3c7f115d8cac5fd.zip
Notes
Diffstat (limited to 'security/p5-Crypt-Cracklib/Makefile')
-rw-r--r--security/p5-Crypt-Cracklib/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/security/p5-Crypt-Cracklib/Makefile b/security/p5-Crypt-Cracklib/Makefile
index 23715d02c34b..559daefab859 100644
--- a/security/p5-Crypt-Cracklib/Makefile
+++ b/security/p5-Crypt-Cracklib/Makefile
@@ -6,25 +6,24 @@
#
PORTNAME= Crypt-Cracklib
-PORTVERSION= 0.01
+PORTVERSION= 1.0
CATEGORIES= security perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Crypt
PKGNAMEPREFIX= p5-
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= perl@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"
+CONFIGURE_ARGS= INC="-I${LOCALBASE}/include" DEFINE="-DCRACKLIB_DICTPATH=\\\"${PREFIX}/libdata/cracklib/pw_dict\\\""
MAN3= Crypt::Cracklib.3
post-patch:
- ${PERL} -pi -e "s@INCLUDE@${LOCALBASE}/include@g;\
- s@FBSDLIB@${LOCALBASE}/lib@g" ${WRKSRC}/Makefile.PL
+ ${REINPLACE_CMD} -e 's/crack.h/packer.h/' ${WRKSRC}/Cracklib.*
.include <bsd.port.mk>