aboutsummaryrefslogtreecommitdiff
path: root/net/gnome-nettool
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2017-12-16 09:00:35 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2017-12-16 09:00:35 +0000
commitad0ce013861780b29eb6dd0e4d9484d2774a4223 (patch)
tree7fadc2d32740a346bdcef590eb255f22aa14da6d /net/gnome-nettool
parent2edfa058ea9450d44376a14dec58c861620387c1 (diff)
downloadports-ad0ce013861780b29eb6dd0e4d9484d2774a4223.tar.gz
ports-ad0ce013861780b29eb6dd0e4d9484d2774a4223.zip
- Switch to USES=localbase
- Remove obsolete OSVERSION condition Approved by: portmgr blanket
Notes
Notes: svn path=/head/; revision=456462
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>