1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00
freebsd-ports/net/speedtest/Makefile
Po-Chuan Hsieh 2ca085524a
net/speedtest: Add speedtest 1.2.0
Speedtest CLI brings the trusted technology and global server network behind
Speedtest to the command line. Built for software developers, system
administrators and computer enthusiasts alike, Speedtest CLI is the first
official Linux-native Speedtest application backed by Ookla.

With Speedtest CLI, you can easily:
- Measure internet connection performance metrics like download, upload, latency
  and packet loss natively without relying on a web browser
- Test the internet connection of your Linux desktop, a remote server or even
  lower-powered devices such as the Raspberry Pi with the Speedtest Server
  Network
- Set up automated scripts to collect connection performance data, including
  trends over time
- Use Speedtest in your programs by wrapping it in the programming language of
  your choice
- View test results via CSV, JSONL or JSON
2023-08-01 04:44:25 +08:00

30 lines
872 B
Makefile

PORTNAME= ookla-speedtest
PORTVERSION= 1.2.0
DISTVERSIONSUFFIX= -freebsd${OSREL:R}-x86_64
CATEGORIES= net
MASTER_SITES= https://install.speedtest.net/app/cli/
EXTRACT_SUFX= .pkg
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Internet connection measurement for developers
WWW= https://www.speedtest.net/apps/cli
IGNORE_FreeBSD_14= Upstream does not provide package for release
ONLY_FOR_ARCHS= amd64
RUN_DEPENDS= ca_root_nss>=0:security/ca_root_nss \
libidn2>=0:dns/libidn2
NO_BUILD= yes
NO_WRKSUBDIR= yes
PLIST_FILES= bin/speedtest \
share/man/man5/speedtest.5.gz
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/bin/ ${STAGEDIR}${PREFIX}/share/man/man5/
${INSTALL_PROGRAM} ${WRKSRC}/usr/local/bin/speedtest ${STAGEDIR}${PREFIX}/bin/speedtest
${INSTALL_MAN} ${WRKSRC}/usr/share/man/man5/speedtest.5 ${STAGEDIR}${PREFIX}/share/man/man5/speedtest.5
.include <bsd.port.mk>