1998-08-24 01:56:04 +00:00
|
|
|
# New ports collection makefile for: mtr
|
1998-11-04 03:47:26 +00:00
|
|
|
# Version required: 0.28
|
1998-08-24 01:56:04 +00:00
|
|
|
# Date created: 12 August 1998
|
|
|
|
# Whom: Bill Fumerola <billf@chc-chimes.com>
|
|
|
|
#
|
1999-05-29 03:56:15 +00:00
|
|
|
# $Id: Makefile,v 1.8 1999/04/13 20:53:16 billf Exp $
|
1998-08-24 01:56:04 +00:00
|
|
|
#
|
|
|
|
|
1999-04-13 20:53:18 +00:00
|
|
|
DISTNAME= mtr-0.37
|
1998-08-24 01:56:04 +00:00
|
|
|
CATEGORIES= net
|
1999-03-01 22:15:45 +00:00
|
|
|
MASTER_SITES= ftp://ftp.bitwizard.nl/mtr/ \
|
1999-04-13 20:53:18 +00:00
|
|
|
http://www.giovannelli.it/~gmarco/files/
|
1998-08-24 01:56:04 +00:00
|
|
|
|
1998-12-29 18:22:59 +00:00
|
|
|
MAINTAINER= billf@FreeBSD.org
|
1998-08-24 01:56:04 +00:00
|
|
|
|
1999-04-13 20:53:18 +00:00
|
|
|
HAS_CONFIGURE= yes
|
1998-08-24 01:56:04 +00:00
|
|
|
|
1999-04-13 20:53:18 +00:00
|
|
|
MAN8= mtr.8
|
|
|
|
|
|
|
|
pre-fetch:
|
|
|
|
.if !defined(USE_GTK)
|
|
|
|
@${ECHO} ""
|
|
|
|
@${ECHO} "If you want to compile with GTK support,"
|
|
|
|
@${ECHO} "hit Ctrl-C right now and use \"make USE_GTK=yes\" "
|
|
|
|
@${ECHO} ""
|
|
|
|
CONFIGURE_ARGS=--with-gtk-prefix=/nopath
|
|
|
|
.else
|
1998-08-25 00:04:05 +00:00
|
|
|
USE_XLIB= yes
|
1999-05-29 03:56:15 +00:00
|
|
|
LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
|
1999-04-13 20:53:18 +00:00
|
|
|
CONFIGURE_ENV= GTK_CONFIG="${X11BASE}/bin/gtk12-config"
|
|
|
|
.endif
|
1998-08-24 01:56:04 +00:00
|
|
|
|
1999-04-13 20:53:18 +00:00
|
|
|
do-install:
|
|
|
|
${INSTALL} -c -s -m 4755 -o root -g wheel ${WRKSRC}/mtr ${PREFIX}/sbin
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/mtr.8 ${PREFIX}/man/man8
|
1998-08-24 01:56:04 +00:00
|
|
|
|
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} ""
|
|
|
|
@${ECHO} "Please read about potential security iussues"
|
|
|
|
@${ECHO} "in file ${WRKSRC}/SECURITY (not installed)"
|
|
|
|
@${ECHO} ""
|
1998-08-25 00:04:05 +00:00
|
|
|
|
1998-08-24 01:56:04 +00:00
|
|
|
.include <bsd.port.mk>
|