aboutsummaryrefslogtreecommitdiff
path: root/net/mtr
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-07-13 13:29:56 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-07-13 13:29:56 +0000
commit374ebdbe643a8d0b42a9cf289fa5fcb27130ba01 (patch)
tree8aabb555399abb69898083b0c209923786bab5bb /net/mtr
parent33fc1368380eabf8dbe9f4b25238d6012a1a58e4 (diff)
downloadports-374ebdbe643a8d0b42a9cf289fa5fcb27130ba01.tar.gz
ports-374ebdbe643a8d0b42a9cf289fa5fcb27130ba01.zip
- Update to 0.85
Notes
Notes: svn path=/head/; revision=322924
Diffstat (limited to 'net/mtr')
-rw-r--r--net/mtr/Makefile17
-rw-r--r--net/mtr/distinfo4
2 files changed, 12 insertions, 9 deletions
diff --git a/net/mtr/Makefile b/net/mtr/Makefile
index a6eadacf0e26..f67af5599627 100644
--- a/net/mtr/Makefile
+++ b/net/mtr/Makefile
@@ -2,10 +2,9 @@
# $FreeBSD$
PORTNAME= mtr
-PORTVERSION= 0.84
+PORTVERSION= 0.85
CATEGORIES= net
MASTER_SITES= ftp://ftp.bitwizard.nl/mtr/ \
- http://launchpadlibrarian.net/130869615/ \
LOCAL/sunpoet
MAINTAINER= sunpoet@FreeBSD.org
@@ -13,15 +12,12 @@ COMMENT= Traceroute and ping in a single network diagnostic tool
LICENSE= GPLv2
-OPTIONS_DEFINE= IPV6 X11
+OPTIONS_DEFINE= GLIB IPV6 X11
OPTIONS_DEFAULT=X11
+GLIB_DESC= Build with glib library
X11_DESC= Build X11-enabled mtr
-CPPFLAGS+= -I${LOCALBASE}/include/glib-2.0
GNU_CONFIGURE= yes
-LDFLAGS+= -L${LOCALBASE}/lib -lglib-2.0
-USE_GMAKE= yes
-USE_GNOME= _glib20
USES= pkgconfig
MAN8= mtr.8
@@ -29,6 +25,13 @@ PLIST_FILES= sbin/mtr
.include <bsd.port.options.mk>
+.if ${PORT_OPTIONS:MGLIB}
+CONFIGURE_ARGS+=--with-glib
+USE_GNOME= _glib20
+.else
+CONFIGURE_ARGS+=--without-glib
+.endif
+
.if ${PORT_OPTIONS:MIPV6}
CONFIGURE_ARGS+=--enable-ipv6
CATEGORIES+= ipv6
diff --git a/net/mtr/distinfo b/net/mtr/distinfo
index 9c866dd03e0e..1c5fe49fec2a 100644
--- a/net/mtr/distinfo
+++ b/net/mtr/distinfo
@@ -1,2 +1,2 @@
-SHA256 (mtr-0.84.tar.gz) = e9eb34001f6e11e56f5389a879dc42dd8862f63053148f77823dbf8f36b7286b
-SIZE (mtr-0.84.tar.gz) = 286912
+SHA256 (mtr-0.85.tar.gz) = cb2d62c9a2dc230f1c7a46c07116516d71e8bef94ce29fadf797829053dd5501
+SIZE (mtr-0.85.tar.gz) = 534196