aboutsummaryrefslogtreecommitdiffstats
path: root/security/py-cracklib/Makefile
blob: e4ebac8668abb25bdf591de2002d6b050c734b9f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $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"