mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
35 lines
681 B
Makefile
35 lines
681 B
Makefile
# Created by: Blaz Zupan <blaz@si.FreeBSD.org>
|
|
# $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 <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} ${EXAMPLESDIR}
|
|
(cd ${WRKSRC}/example && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|