1998-08-24 01:56:04 +00:00
|
|
|
# New ports collection makefile for: mtr
|
|
|
|
# Date created: 12 August 1998
|
|
|
|
# Whom: Bill Fumerola <billf@chc-chimes.com>
|
|
|
|
#
|
1999-08-30 14:24:37 +00:00
|
|
|
# $FreeBSD$
|
1998-08-24 01:56:04 +00:00
|
|
|
#
|
|
|
|
|
2000-04-09 18:14:07 +00:00
|
|
|
PORTNAME= mtr
|
2006-11-07 14:29:04 +00:00
|
|
|
PORTVERSION= 0.72
|
2005-05-28 17:26:23 +00:00
|
|
|
CATEGORIES= net ipv6
|
1999-03-01 22:15:45 +00:00
|
|
|
MASTER_SITES= ftp://ftp.bitwizard.nl/mtr/ \
|
2006-05-04 18:51:42 +00:00
|
|
|
http://www.mirrors.wiretapped.net/security/network-mapping/mtr/ \
|
|
|
|
http://gd.tuwien.ac.at/infosys/network/tools/mtr/ \
|
|
|
|
http://mirrors.evolva.ro/util/mtr/
|
1998-08-24 01:56:04 +00:00
|
|
|
|
2006-05-04 18:51:42 +00:00
|
|
|
MAINTAINER= rainer.alves@gmail.com
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= Traceroute and ping in a single graphical network diagnostic tool
|
2000-01-25 18:33:42 +00:00
|
|
|
|
2003-02-10 01:44:12 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2000-01-27 08:25:29 +00:00
|
|
|
USE_GMAKE= yes
|
2000-01-25 18:33:42 +00:00
|
|
|
|
2004-02-06 13:12:53 +00:00
|
|
|
MAN8= mtr.8
|
|
|
|
PLIST_FILES= sbin/mtr
|
2000-01-25 18:33:42 +00:00
|
|
|
|
2004-10-29 22:31:02 +00:00
|
|
|
.if !defined(WITHOUT_X11)
|
|
|
|
.if defined(WITH_GTK1)
|
|
|
|
USE_GNOME= gtk12
|
|
|
|
PKGNAMESUFFIX= -gtk1
|
2000-05-07 15:18:14 +00:00
|
|
|
.else
|
2004-10-29 22:31:02 +00:00
|
|
|
USE_GNOME= gtk20
|
|
|
|
CONFIGURE_ARGS=--enable-gtk2
|
2000-05-07 15:18:14 +00:00
|
|
|
.endif
|
1998-08-25 00:04:05 +00:00
|
|
|
USE_XLIB= yes
|
2004-10-29 22:31:02 +00:00
|
|
|
CONFIGURE_ARGS+=--with-gtk-prefix=${X11BASE}
|
2000-10-05 06:47:41 +00:00
|
|
|
.else
|
2004-10-29 22:31:02 +00:00
|
|
|
PKGNAMESUFFIX= -nox11
|
|
|
|
CONFIGURE_ARGS=--without-gtk --with-gtk-prefix=/nonexistant
|
1999-04-13 20:53:18 +00:00
|
|
|
.endif
|
1998-08-24 01:56:04 +00:00
|
|
|
|
2006-11-07 14:29:04 +00:00
|
|
|
post-configure:
|
|
|
|
@${REINPLACE_CMD} -e 's|-lresolv||g' ${WRKSRC}/Makefile
|
|
|
|
|
1998-08-25 00:04:05 +00:00
|
|
|
post-install:
|
1999-04-13 20:53:18 +00:00
|
|
|
@${ECHO} ""
|
|
|
|
@${ECHO} "${PREFIX}/sbin/mtr is setuid \"root\" "
|
|
|
|
@${ECHO} ""
|
1999-10-28 08:06:00 +00:00
|
|
|
@${ECHO} "Please read about potential security issues"
|
1999-04-13 20:53:18 +00:00
|
|
|
@${ECHO} "in file ${WRKSRC}/SECURITY (not installed)"
|
|
|
|
@${ECHO} ""
|
1998-08-25 00:04:05 +00:00
|
|
|
|
2004-10-29 22:31:02 +00:00
|
|
|
.include <bsd.port.mk>
|