freebsd-ports/net/pyrad/Makefile
Marcus von Appen 2f71940292 - Convert ports of net/ to new USES=python
Approved by:	portmgr (implicit)
2014-10-24 16:21:26 +00:00

33 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>