mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
ecd61ea989
Approved by: portmgr blanket
23 lines
432 B
Makefile
23 lines
432 B
Makefile
# $FreeBSD$
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
COMMENT= Python bindings for cracklib
|
|
|
|
LICENSE= LGPL21
|
|
|
|
LIB_DEPENDS= libcrack.so: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"
|