aboutsummaryrefslogblamecommitdiff
path: root/net/pyrad/Makefile
blob: b534c6208dc4c46f27fa47dbd972c8c46cf1257c (plain) (tree)
1
2
3
4
5
6
7
8
9
                                              

                     
                   
                 
                          
                          

                                       
                                    

                                                      
                           
                                   
 










                                                                
             

                                                                               


                      
# Created by: Blaz Zupan <blaz@si.FreeBSD.org>

PORTNAME=	pyrad
PORTVERSION=	2.0
PORTREVISION=	1
CATEGORIES=	net python
MASTER_SITES=	CHEESESHOP
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	steve@energistic.com
COMMENT=	Python implementation of RADIUS client

USES=		python:3.6+
USE_PYTHON=	distutils autoplist

PORTEXAMPLES=	*

OPTIONS_DEFINE=	EXAMPLES

.include <bsd.port.options.mk>

post-patch:
	@${REINPLACE_CMD} -e 's|zip_safe=True|zip_safe=False|' \
		${WRKSRC}/setup.py

.if ${PORT_OPTIONS:MEXAMPLES}
post-install:
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
	(cd ${WRKSRC}/example && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
.endif

.include <bsd.port.mk>