1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/net/py-rt/Makefile
Ying-Chieh Liao 5102c29909 add py-rt 2.5
Python Routeing Toolkit
2002-06-14 09:45:04 +00:00

37 lines
787 B
Makefile

# ex:ts=8
# Ports collection makefile for: py-rt
# Date created: Jun 14, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= rt
PORTVERSION= 2.5
CATEGORIES= net python
MASTER_SITES= http://www.sprintlabs.com/Department/IP-Interworking/Routing/PyRT/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pyrt-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
USE_PYTHON= yes
NO_WRKSUBDIR= yes
NO_BUILD= yes
DOCSDIR= ${PREFIX}/share/doc/py-rt
post-patch:
.for file in bgp.py isis.py
@${REINPLACE_CMD} -e "s/python2/python/g" ${WRKSRC}/${file}
.endfor
do-install:
${MKDIR} ${PYTHON_SITELIBDIR}/rt
(cd ${WRKSRC} ; ${INSTALL_SCRIPT} *.py ${PYTHON_SITELIBDIR}/rt)
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
(cd ${WRKSRC} ; ${INSTALL_SCRIPT} README* ${DOCSDIR})
.endif
.include <bsd.port.mk>