ports/net/mrtparse/Makefile
Charlie Li 06a08e69f3
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal
Any missed ports, feel free to bump.

Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
2025-03-07 23:05:21 -05:00

33 lines
712 B
Makefile

PORTNAME= mrtparse
PORTVERSION= 2.0.0
PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= net python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= olivier@FreeBSD.org
COMMENT= MRT format data parser
WWW= https://github.com/t2mune/mrtparse
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= python shebangfix
GH_ACCOUNT= t2mune
GH_PROJECT= ${PORTNAME}
NO_ARCH= yes
USE_GITHUB= yes
USE_PYTHON= autoplist distutils
SHEBANG_FILES= examples/mrt2bgpdump.py \
examples/mrt2exabgp.py
post-patch:
@${MV} ${WRKSRC}/examples/mrt2bgpdump.py ${WRKSRC}/examples/mrt2bgpdump
@${MV} ${WRKSRC}/examples/mrt2exabgp.py ${WRKSRC}/examples/mrt2exabgp
@${RM} ${WRKSRC}/examples/README.rst
.include <bsd.port.mk>