1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/security/cracklib/Makefile
Steve Wills 59a4c81422 security/cracklib: remove references to python slave port
PR:		249761
Approved by:	cy (maintainer)
2020-09-24 18:14:52 +00:00

41 lines
1.1 KiB
Makefile

# Created by: ajk@iu.edu
# $FreeBSD$
PORTNAME= cracklib
PORTVERSION= 2.9.7
CATEGORIES= security
MASTER_SITES= https://github.com/cracklib/cracklib/releases/download/v${PORTVERSION}/ \
LOCAL/cy
MAINTAINER= cy@FreeBSD.org
COMMENT?= Password-checking library
LICENSE= LGPL21
DICTPATH= ${PREFIX}/libdata/${PORTNAME}
DICTFILE= ${DICTPATH}/cracklib-words
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-default-dict=${DICTFILE}
INSTALL_TARGET= install-strip
USES= libtool tar:bz2
WORDS_DISTFILE= ${PORTNAME}-words-${PORTVERSION}.bz2
USE_LDCONFIG= yes
OPTIONS_DEFINE= NLS
OPTIONS_SUB= NLS
NLS_CONFIGURE_OFF=--disable-nls
NLS_USES= gettext
CONFIGURE_ARGS+=--without-python
post-install:
${INSTALL_MAN} ${FILESDIR}/${PORTNAME}.3 ${STAGEDIR}${MAN3PREFIX}/man/man3/
${LN} -s ${PORTNAME}.3 ${STAGEDIR}${MAN3PREFIX}/man/man3/FascistCheck.3
@${MKDIR} ${STAGEDIR}${DICTPATH}
@PATH=$${PATH}:${STAGEDIR}${PREFIX}/sbin LD_LIBRARY_PATH=/lib:/usr/lib:${STAGEDIR}${PREFIX}/lib ${STAGEDIR}${PREFIX}/sbin/create-cracklib-dict -o ${STAGEDIR}${DICTPATH}/cracklib-words ${_DISTDIR}/${WORDS_DISTFILE}
.include <bsd.port.mk>