summaryrefslogtreecommitdiff
path: root/net/scamper/Makefile
blob: 434661815552b159febd3967ed88eae9481f2c42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32

PORTNAME=	scamper
DISTVERSION=	20210324
CATEGORIES=	net
MASTER_SITES=	https://www.caida.org/tools/measurement/scamper/code/
DISTNAME=	${PORTNAME}-cvs-${PORTVERSION}

MAINTAINER=	mjl@luckie.org.nz
COMMENT=	Tool for parallelised IPv4 and IPv6 measurement

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

USES=		gmake libtool ssl
USE_LDCONFIG=	yes
GNU_CONFIGURE=	yes
INSTALL_TARGET=	install-strip

OPTIONS_DEFINE=	HOIHO UPTIME
OPTIONS_SUB=	yes

HOIHO_DESC=	Install sc_hoiho
UPTIME_DESC=	Install sc_uptime

HOIHO_LIB_DEPENDS=	libpcre2-8.so:devel/pcre2
HOIHO_USES=		localbase:ldflags
HOIHO_CONFIGURE_WITH=	pcre2 sc_hoiho

UPTIME_USES=		localbase:ldflags sqlite:3
UPTIME_CONFIGURE_WITH=	sc_uptime

.include <bsd.port.mk>