Files
ports/net/mtr/Makefile
T
Vasil Dimov f2be70c6f4 Update from 0.69 to 0.70
PR:		ports/95298
Submitted by:	Antonio Querubin <tony@lava.netg>
2006-04-21 14:31:05 +00:00

48 lines
1.0 KiB
Makefile

# New ports collection makefile for: mtr
# Date created: 12 August 1998
# Whom: Bill Fumerola <billf@chc-chimes.com>
#
# $FreeBSD$
#
PORTNAME= mtr
PORTVERSION= 0.70
CATEGORIES= net ipv6
MASTER_SITES= ftp://ftp.bitwizard.nl/mtr/ \
ftp://ftp.netsw.org/net/ip/audit/packets/ \
ftp://ftp.gw.com/mirrors/pub/unix/mtr/
MAINTAINER= ports@FreeBSD.org
COMMENT= Traceroute and ping in a single graphical network diagnostic tool
GNU_CONFIGURE= yes
USE_GMAKE= yes
MAN8= mtr.8
PLIST_FILES= sbin/mtr
.if !defined(WITHOUT_X11)
.if defined(WITH_GTK1)
USE_GNOME= gtk12
PKGNAMESUFFIX= -gtk1
.else
USE_GNOME= gtk20
CONFIGURE_ARGS=--enable-gtk2
.endif
USE_XLIB= yes
CONFIGURE_ARGS+=--with-gtk-prefix=${X11BASE}
.else
PKGNAMESUFFIX= -nox11
CONFIGURE_ARGS=--without-gtk --with-gtk-prefix=/nonexistant
.endif
post-install:
@${ECHO} ""
@${ECHO} "${PREFIX}/sbin/mtr is setuid \"root\" "
@${ECHO} ""
@${ECHO} "Please read about potential security issues"
@${ECHO} "in file ${WRKSRC}/SECURITY (not installed)"
@${ECHO} ""
.include <bsd.port.mk>