1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/net/mtr/Makefile
Mathieu Arnold 37677d32e3 Switch some MASTER_SITES from http/ftp to https.
Also some cleanup of dead entries.

PR:		226203
Submitted by:	Sam H
Sponsored by:	Absolight
2018-02-27 13:03:48 +00:00

45 lines
1.1 KiB
Makefile

# Created by: Bill Fumerola <billf@chc-chimes.com>
# $FreeBSD$
PORTNAME= mtr
PORTVERSION= 0.92
CATEGORIES= net
MASTER_SITES= https://www.bitwizard.nl/mtr/files/ \
LOCAL/sunpoet
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Traceroute and ping in a single network diagnostic tool
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
CONFLICTS_INSTALL?= mtr-nox11
OPTIONS_DEFINE= IPV6 X11
OPTIONS_DEFAULT=X11
X11_DESC= Build X11-enabled mtr
GNU_CONFIGURE= yes
LDFLAGS+= -lncurses
USES= autoreconf ncurses pkgconfig
IPV6_CATEGORIES= ipv6
IPV6_CONFIGURE_ENABLE= ipv6
X11_CONFIGURE_WITH= gtk
X11_USE= GNOME=gtk20
X11_USES= gnome
post-patch:
@${REINPLACE_CMD} -e 's|getopt.*$$(OBJEXT)||g; s|getopt.*[ch]||g; /getopt.*Po/d' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's|"getopt\.h"|<getopt.h>|g' ${WRKSRC}/ui/mtr.c
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>