mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
net/mtr: Convert X11 option to x11 and nox11 flavors
net/mtr-nox11 is net/mtr@nox11 now.
This commit is contained in:
parent
3af6d00781
commit
4aeef9e30a
4 changed files with 16 additions and 9 deletions
|
@ -112,7 +112,7 @@ NAGPLUGINS_RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:net-mgmt/nagios
|
||||||
NMAP_RUN_DEPENDS= nmap:security/nmap
|
NMAP_RUN_DEPENDS= nmap:security/nmap
|
||||||
WMIC_RUN_DEPENDS= wmic:net-mgmt/wmi-client
|
WMIC_RUN_DEPENDS= wmic:net-mgmt/wmi-client
|
||||||
X11_RUN_DEPENDS= mtr:net/mtr
|
X11_RUN_DEPENDS= mtr:net/mtr
|
||||||
X11_RUN_DEPENDS_OFF= mtr:net/mtr-nox11
|
X11_RUN_DEPENDS_OFF= mtr:net/mtr@nox11
|
||||||
X11_USES= magick:6
|
X11_USES= magick:6
|
||||||
X11_USES_OFF= magick:6,nox11
|
X11_USES_OFF= magick:6,nox11
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,7 @@ NO_BUILD= yes
|
||||||
|
|
||||||
RUN_DEPENDS+= rrdtool:databases/rrdtool \
|
RUN_DEPENDS+= rrdtool:databases/rrdtool \
|
||||||
dot:graphics/graphviz \
|
dot:graphics/graphviz \
|
||||||
mtr:net/mtr-nox11 \
|
mtr:net/mtr@nox11 \
|
||||||
${LOCALBASE}/share/pear/Net/IPv4.php:net/pear-Net_IPv4@${PHP_FLAVOR} \
|
${LOCALBASE}/share/pear/Net/IPv4.php:net/pear-Net_IPv4@${PHP_FLAVOR} \
|
||||||
${LOCALBASE}/share/pear/Net/IPv6.php:net/pear-Net_IPv6@${PHP_FLAVOR} \
|
${LOCALBASE}/share/pear/Net/IPv6.php:net/pear-Net_IPv6@${PHP_FLAVOR} \
|
||||||
snmpget:net-mgmt/net-snmp \
|
snmpget:net-mgmt/net-snmp \
|
||||||
|
|
|
@ -18,7 +18,7 @@ LIB_DEPENDS= libpng.so:graphics/png \
|
||||||
libcares.so:dns/c-ares
|
libcares.so:dns/c-ares
|
||||||
RUN_DEPENDS= rrdtool:databases/rrdtool \
|
RUN_DEPENDS= rrdtool:databases/rrdtool \
|
||||||
fping:net/fping \
|
fping:net/fping \
|
||||||
mtr:net/mtr-nox11
|
mtr:net/mtr@nox11
|
||||||
|
|
||||||
USERS= xymon
|
USERS= xymon
|
||||||
GROUPS= xymon
|
GROUPS= xymon
|
||||||
|
|
|
@ -17,22 +17,29 @@ USES= autoreconf ncurses pkgconfig
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
LDFLAGS+= -lncurses
|
LDFLAGS+= -lncurses
|
||||||
|
|
||||||
|
FLAVORS= x11 nox11
|
||||||
|
FLAVOR?= ${FLAVORS:[1]}
|
||||||
|
nox11_PKGNAMESUFFIX= -nox11
|
||||||
|
.if ${FLAVOR} == x11
|
||||||
|
CONFIGURE_ARGS+=--with-gtk
|
||||||
|
USE_GNOME= gtk20
|
||||||
|
USES+= gnome
|
||||||
|
.else
|
||||||
|
CONFIGURE_ARGS+=--without-gtk
|
||||||
|
.endif
|
||||||
|
|
||||||
USE_GITHUB= yes
|
USE_GITHUB= yes
|
||||||
GH_ACCOUNT= traviscross
|
GH_ACCOUNT= traviscross
|
||||||
|
|
||||||
CONFLICTS_INSTALL= mtr mtr-nox11
|
CONFLICTS_INSTALL= mtr mtr-nox11
|
||||||
|
|
||||||
OPTIONS_DEFINE= IPV6 JSON X11
|
OPTIONS_DEFINE= IPV6 JSON
|
||||||
OPTIONS_DEFAULT=JSON X11
|
OPTIONS_DEFAULT=JSON
|
||||||
JSON_DESC= JSON support
|
JSON_DESC= JSON support
|
||||||
X11_DESC= Build X11-enabled mtr
|
|
||||||
|
|
||||||
IPV6_CONFIGURE_ENABLE= ipv6
|
IPV6_CONFIGURE_ENABLE= ipv6
|
||||||
JSON_CONFIGURE_WITH= jansson
|
JSON_CONFIGURE_WITH= jansson
|
||||||
JSON_LIB_DEPENDS= libjansson.so:devel/jansson
|
JSON_LIB_DEPENDS= libjansson.so:devel/jansson
|
||||||
X11_CONFIGURE_WITH= gtk
|
|
||||||
X11_USE= GNOME=gtk20
|
|
||||||
X11_USES= gnome
|
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
@${ECHO_MSG} ""
|
@${ECHO_MSG} ""
|
||||||
|
|
Loading…
Add table
Reference in a new issue