aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2013-07-13 21:29:56 +0800
committersunpoet <sunpoet@FreeBSD.org>2013-07-13 21:29:56 +0800
commit141549e3b0ad7cf9b92441e7d1d9425b07b5596c (patch)
tree8aabb555399abb69898083b0c209923786bab5bb /net
parent06c375cbcc2cb90765b892c9212a76d66f9a45f9 (diff)
downloadfreebsd-ports-gnome-141549e3b0ad7cf9b92441e7d1d9425b07b5596c.tar.gz
freebsd-ports-gnome-141549e3b0ad7cf9b92441e7d1d9425b07b5596c.tar.zst
freebsd-ports-gnome-141549e3b0ad7cf9b92441e7d1d9425b07b5596c.zip
- Update to 0.85
- Add OPTIONS: GLIB Changes: https://github.com/traviscross/mtr/blob/master/NEWS
Diffstat (limited to 'net')
-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