freebsd-ports/security/py-cracklib/Makefile
Tijl Coosemans e3056c3b46 security/cracklib:
- Add USES=libtool and bump dependent ports
- Add INSTALL_TARGET=install-strip
- Convert to USES=python
- Use MAKE_CMD
- Create manpage link in post-install instead of using @exec
2014-09-05 20:19:04 +00:00

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"