summaryrefslogtreecommitdiffstats
path: root/net/mtr/Makefile
diff options
context:
space:
mode:
authorbillf <billf@FreeBSD.org>1999-04-13 20:53:18 +0000
committerbillf <billf@FreeBSD.org>1999-04-13 20:53:18 +0000
commit6c37bbf976e664c2431802181bf2b2c05b7b0c9b (patch)
treecfecff1cbe711f2c42f57e7c2f6ec5b2a8fb7a56 /net/mtr/Makefile
parentb3744e8cc759157e6a65989a0c724dc7a48de4b6 (diff)
downloadFreeBSD-ports-6c37bbf976e664c2431802181bf2b2c05b7b0c9b.zip
FreeBSD-ports-6c37bbf976e664c2431802181bf2b2c05b7b0c9b.tar.gz
Upgrade to v0.37
99% of this update was from the original PR, which upgraded this port to 0.35 Because I sat on this for a week (sorry) another version was released. I did not include the ports version number in the DESCR file as patched in the PR, however, because I feel it is not needed. Also the patches below have been removed because the author included a a variation of them in the source code. PR: ports/11053 Submitted by: Gianmarco Giovanelli <gmarco@giovannelli.it>
Diffstat (limited to 'net/mtr/Makefile')
-rw-r--r--net/mtr/Makefile34
1 files changed, 26 insertions, 8 deletions
diff --git a/net/mtr/Makefile b/net/mtr/Makefile
index d760d8a..4e0db7b 100644
--- a/net/mtr/Makefile
+++ b/net/mtr/Makefile
@@ -3,25 +3,43 @@
# Date created: 12 August 1998
# Whom: Bill Fumerola <billf@chc-chimes.com>
#
-# $Id: Makefile,v 1.6 1999/01/22 22:15:39 nectar Exp $
+# $Id:$
#
-DISTNAME= mtr-0.28
+DISTNAME= mtr-0.37
CATEGORIES= net
MASTER_SITES= ftp://ftp.bitwizard.nl/mtr/ \
- http://www.FreeBSD.org/~billf/distfiles/
+ http://www.giovannelli.it/~gmarco/files/
MAINTAINER= billf@FreeBSD.org
-LIB_DEPENDS= gtk10.1:${PORTSDIR}/x11-toolkits/gtk10
+HAS_CONFIGURE= yes
-USE_AUTOCONF= yes
+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
USE_XLIB= yes
-CONFIGURE_ENV= GTK_CONFIG="${X11BASE}/bin/gtk10-config"
+LIB_DEPENDS= gtk12.1:${PORTSDIR}/x11-toolkits/gtk12
+CONFIGURE_ENV= GTK_CONFIG="${X11BASE}/bin/gtk12-config"
+.endif
-MAN8= mtr.8
+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:
- @chown root ${PREFIX}/sbin/mtr
+ @${ECHO} ""
+ @${ECHO} "${PREFIX}/sbin/mtr is setuid \"root\" "
+ @${ECHO} ""
+ @${ECHO} "Please read about potential security iussues"
+ @${ECHO} "in file ${WRKSRC}/SECURITY (not installed)"
+ @${ECHO} ""
.include <bsd.port.mk>
OpenPOWER on IntegriCloud