1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/net/mtr/Makefile

54 lines
1.1 KiB
Makefile
Raw Normal View History

# 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$
#
PORTNAME= mtr
PORTVERSION= 0.42
2000-01-18 12:34:34 +00:00
CATEGORIES= net ipv6
1999-03-01 22:15:45 +00:00
MASTER_SITES= ftp://ftp.bitwizard.nl/mtr/ \
http://www.giovannelli.it/~gmarco/files/
MAINTAINER= billf@FreeBSD.org
HAS_CONFIGURE= yes
USE_GMAKE= yes
2000-10-05 06:47:41 +00:00
WANT_GTK= yes
MAN8= mtr.8
.include <bsd.port.pre.mk>
2000-05-07 15:18:14 +00:00
.if ${OSVERSION} >= 400014
PATCHFILES= mtr-042-v6-20000719.diff.gz
2000-05-07 15:18:14 +00:00
PATCH_SITES= ftp://ftp.kame.net/pub/kame/misc/
PATCH_DIST_STRIP= -p1
2000-05-07 15:18:14 +00:00
CONFIGURE_ARGS+=--enable-ipv6
.else
CONFIGURE_ARGS+=--disable-ipv6
2000-05-07 15:18:14 +00:00
.endif
2000-10-05 06:47:41 +00:00
.if defined(HAVE_GTK)
USE_XLIB= yes
2000-10-05 06:47:41 +00:00
USE_GTK= yes
.else
CONFIGURE_ARGS+=--with-gtk-prefix=/nopath
.endif
do-install:
${INSTALL} -c -s -m 4755 -o root -g wheel ${WRKSRC}/mtr ${PREFIX}/sbin
${INSTALL_DATA} ${WRKSRC}/mtr.8 ${PREFIX}/man/man8
post-install:
@${ECHO} ""
@${ECHO} "${PREFIX}/sbin/mtr is setuid \"root\" "
@${ECHO} ""
1999-10-28 08:06:00 +00:00
@${ECHO} "Please read about potential security issues"
@${ECHO} "in file ${WRKSRC}/SECURITY (not installed)"
@${ECHO} ""
.include <bsd.port.post.mk>