aboutsummaryrefslogtreecommitdiffstats
path: root/net/gnome-nettool
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2017-12-16 17:00:35 +0800
committerKoop Mast <kwm@rainbow-runner.nl>2018-02-04 06:09:34 +0800
commitbee96eb2b3c90e26db7048334ca8e8ebf495c58a (patch)
tree57be4c14e74b774c0beebab383e7f446463b2bb3 /net/gnome-nettool
parenta85147bee522cb66a98b922f86c8a0946ddf9e51 (diff)
downloadfreebsd-ports-gnome-bee96eb2b3c90e26db7048334ca8e8ebf495c58a.tar.gz
freebsd-ports-gnome-bee96eb2b3c90e26db7048334ca8e8ebf495c58a.tar.zst
freebsd-ports-gnome-bee96eb2b3c90e26db7048334ca8e8ebf495c58a.zip
- Switch to USES=localbase
- Remove obsolete OSVERSION condition Approved by: portmgr blanket
Diffstat (limited to 'net/gnome-nettool')
-rw-r--r--net/gnome-nettool/Makefile11
1 files changed, 2 insertions, 9 deletions
diff --git a/net/gnome-nettool/Makefile b/net/gnome-nettool/Makefile
index c0fc32214b47..6e4d33becc1c 100644
--- a/net/gnome-nettool/Makefile
+++ b/net/gnome-nettool/Makefile
@@ -13,21 +13,14 @@ COMMENT= GNOME utility that provides network information statistics
BUILD_DEPENDS= itstool:textproc/itstool
LIB_DEPENDS= libgtop-2.0.so:devel/libgtop
+RUN_DEPENDS= ${LOCALBASE}/bin/dig:dns/bind-tools
USE_GNOME= gtk30 intlhack libxml2:build
-USES= gettext gmake libtool pathfix pkgconfig tar:xz
+USES= gettext gmake libtool localbase:ldflags pathfix pkgconfig tar:xz
INSTALLS_ICONS= yes
GNU_CONFIGURE= yes
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
GLIB_SCHEMAS= org.gnome.gnome-nettool.gschema.xml
-.include <bsd.port.options.mk>
-
-.if ${OPSYS} == DragonFly || (${OPSYS} == FreeBSD && ${OSVERSION} > 1000000)
-RUN_DEPENDS+= ${LOCALBASE}/bin/dig:dns/bind-tools
-.endif
-
.include <bsd.port.mk>