summaryrefslogtreecommitdiff
path: root/net/mtr/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/mtr/Makefile')
-rw-r--r--net/mtr/Makefile45
1 files changed, 45 insertions, 0 deletions
diff --git a/net/mtr/Makefile b/net/mtr/Makefile
new file mode 100644
index 00000000000..bde25cdef1a
--- /dev/null
+++ b/net/mtr/Makefile
@@ -0,0 +1,45 @@
+# New ports collection makefile for: mtr
+# Version required: 0.41
+# Date created: 12 August 1998
+# Whom: Bill Fumerola <billf@chc-chimes.com>
+#
+# $FreeBSD: ports/net/mtr/Makefile,v 1.16 1999/10/28 08:06:00 mharo Exp $
+#
+
+DISTNAME= mtr-0.41
+CATEGORIES= net
+MASTER_SITES= ftp://ftp.bitwizard.nl/mtr/ \
+ http://www.giovannelli.it/~gmarco/files/
+
+MAINTAINER= billf@FreeBSD.org
+
+HAS_CONFIGURE= yes
+
+MAN8= mtr.8
+
+pre-patch:
+.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
+USE_XLIB= yes
+LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
+CONFIGURE_ENV= GTK_CONFIG="${X11BASE}/bin/gtk12-config"
+.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} ""
+ @${ECHO} "Please read about potential security issues"
+ @${ECHO} "in file ${WRKSRC}/SECURITY (not installed)"
+ @${ECHO} ""
+
+.include <bsd.port.mk>