mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
2f71940292
Approved by: portmgr (implicit)
34 lines
678 B
Makefile
34 lines
678 B
Makefile
# Created by: Blaz Zupan <blaz@si.FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
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
|
|
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>
|