1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00
freebsd-ports/security/py-cracklib/Makefile

24 lines
450 B
Makefile

# $FreeBSD$
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
COMMENT= Python bindings for cracklib
LICENSE= LGPL21
LIB_DEPENDS= crack:${PORTSDIR}/security/cracklib
MASTERDIR= ${.CURDIR}/../cracklib
BUILD_WRKSRC= ${WRKSRC}/python
INSTALL_WRKSRC= ${BUILD_WRKSRC}
PYTHON_SLAVEPORT= yes
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e \
"{s#__version__ = '[^']*'#__version__ = '${PORTVERSION}'#;}" \
${BUILD_WRKSRC}/*.py
.include "${MASTERDIR}/Makefile"