forked from Lainports/opnsense-ports
Taken from: https://github.com/freebsd/freebsd-ports.git Commit id: 5070672073b68be364139bc6b3a89100bd17d331
22 lines
442 B
Makefile
22 lines
442 B
Makefile
# $FreeBSD$
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
COMMENT= Python bindings for cracklib
|
|
|
|
LICENSE= LGPL21
|
|
|
|
LIB_DEPENDS= libcrack.so:${PORTSDIR}/security/cracklib
|
|
|
|
MASTERDIR= ${.CURDIR}/../cracklib
|
|
BUILD_WRKSRC= ${WRKSRC}/python
|
|
INSTALL_WRKSRC= ${BUILD_WRKSRC}
|
|
|
|
PYTHON_SLAVEPORT= yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
"{s#__version__ = '[^']*'#__version__ = '${PORTVERSION}'#;}" \
|
|
${BUILD_WRKSRC}/*.py
|
|
|
|
.include "${MASTERDIR}/Makefile"
|