Makefile 926 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # $OpenBSD: Makefile,v 1.7 2017/03/09 18:55:47 sthen Exp $
  2. COMMENT-main= test network latency under load via netperf
  3. COMMENT-gui= GUI for flent (test network latency under load via netperf)
  4. MODPY_EGG_VERSION= 1.0.1
  5. DISTNAME= flent-${MODPY_EGG_VERSION}
  6. PKGNAME-main= flent-${MODPY_EGG_VERSION}
  7. PKGNAME-gui= flent-gui-${MODPY_EGG_VERSION}
  8. CATEGORIES= benchmarks net
  9. HOMEPAGE= https://github.com/tohojo/netperf-wrapper
  10. # GPLv3+
  11. PERMIT_PACKAGE_CDROM= Yes
  12. MULTI_PACKAGES= -main -gui
  13. MODPY_PI= Yes
  14. MODPY_SETUPTOOLS= Yes
  15. MODPY_VERSION= ${MODPY_DEFAULT_VERSION_3}
  16. MODULES= lang/python
  17. RUN_DEPENDS-main= benchmarks/netperf \
  18. net/fping>=2.5 \
  19. graphics/py-matplotlib${MODPY_FLAVOR}
  20. RUN_DEPENDS-gui= ${RUN_DEPENDS-main} \
  21. devel/desktop-file-utils \
  22. misc/shared-mime-info \
  23. x11/py-qt5${MODPY_FLAVOR}
  24. NO_TEST= Yes
  25. post-build:
  26. sed -i 's,/usr/local,${TRUEPREFIX},' ${WRKSRC}/flent/build_info.py
  27. .include <bsd.port.mk>