blob: f2ff8eb177bba0eb06a12e408beeecf96896732f (
plain) (
blame)
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
PORTNAME= mtr
PORTVERSION= 0.95
DISTVERSIONPREFIX= v
PORTREVISION= 1
CATEGORIES= net
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Traceroute and ping in a single network diagnostic tool
WWW= https://www.bitwizard.nl/mtr/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= autoreconf ncurses pkgconfig
GNU_CONFIGURE= yes
LDFLAGS+= -lncurses
GH_ACCOUNT= traviscross
USE_GITHUB= yes
CONFLICTS_INSTALL?= mtr-nox11
OPTIONS_DEFINE= IPV6 JSON X11
OPTIONS_DEFAULT=JSON X11
JSON_DESC= JSON support
X11_DESC= Build X11-enabled mtr
IPV6_CONFIGURE_ENABLE= ipv6
JSON_CONFIGURE_WITH= jansson
JSON_LIB_DEPENDS= libjansson.so:devel/jansson
X11_CONFIGURE_WITH= gtk
X11_USE= GNOME=gtk20
X11_USES= gnome
post-patch:
@${REINPLACE_CMD} -e 's|m4_esyscmd(\[build-aux/git-version-gen \.tarball-version\])|${PORTVERSION}|' ${WRKSRC}/configure.ac
post-install:
@${ECHO_MSG} ""
@${ECHO_MSG} "${PREFIX}/sbin/mtr is setuid \"root\" "
@${ECHO_MSG} ""
@${ECHO_MSG} "Please read about potential security issues"
@${ECHO_MSG} "in file ${WRKSRC}/SECURITY (not installed)"
@${ECHO_MSG} ""
.include <bsd.port.mk>
|