aboutsummaryrefslogblamecommitdiff
path: root/security/py-cracklib/Makefile
blob: e82bfdfa80af1007da44d907d3775fddfc59635d (plain) (tree)
1
2
3
4
5
6
7
8
9

           

                                       


                                            
 
                                             
 
                                      
                                    



                                
 

                              

                                                                              
 
                                
# $FreeBSD$

PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

COMMENT=	Python bindings for cracklib

LICENSE=	LGPL21

LIB_DEPENDS=	libcrack.so:security/cracklib

MASTERDIR=	${.CURDIR}/../cracklib
PLIST=		${.CURDIR}/pkg-plist
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"