# Created by: Blaz Zupan # $FreeBSD$ PORTNAME= pyrad PORTVERSION= 2.0 CATEGORIES= net python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= steve@energistic.com COMMENT= Python implementation of RADIUS client USE_PYTHON= yes USE_PYDISTUTILS= easy_install PYDISTUTILS_PKGNAME= pyrad PORTEXAMPLES= * OPTIONS_DEFINE= EXAMPLES NO_STAGE= yes .include post-patch: @${REINPLACE_CMD} -e 's|zip_safe=True|zip_safe=False|' \ ${WRKSRC}/setup.py .if ${PORT_OPTIONS:MEXAMPLES} post-install: @${MKDIR} ${EXAMPLESDIR} (cd ${WRKSRC}/example && ${COPYTREE_SHARE} . ${EXAMPLESDIR}) .endif .include