Lines 16-22
Link Here
|
16 |
MAINTAINER= sunpoet@FreeBSD.org |
16 |
MAINTAINER= sunpoet@FreeBSD.org |
17 |
COMMENT= Traceroute and ping in a single graphical network diagnostic tool |
17 |
COMMENT= Traceroute and ping in a single graphical network diagnostic tool |
18 |
|
18 |
|
19 |
OPTIONS= IPV6 "Build IPv6 support" on |
19 |
OPTIONS_DEFINE= IPV6 X11 |
20 |
|
20 |
|
21 |
GNU_CONFIGURE= yes |
21 |
GNU_CONFIGURE= yes |
22 |
USE_GMAKE= yes |
22 |
USE_GMAKE= yes |
Lines 26-45
Link Here
|
26 |
|
26 |
|
27 |
.include <bsd.port.options.mk> |
27 |
.include <bsd.port.options.mk> |
28 |
|
28 |
|
29 |
.if !defined(WITHOUT_IPV6) |
29 |
.if ${PORT_OPTIONS:MIPV6} |
30 |
CONFIGURE_ARGS+=--enable-ipv6 |
30 |
CONFIGURE_ARGS+=--enable-ipv6 |
31 |
CATEGORIES+= ipv6 |
31 |
CATEGORIES+= ipv6 |
32 |
.else |
32 |
.else |
33 |
CONFIGURE_ARGS+=--disable-ipv6 |
33 |
CONFIGURE_ARGS+=--disable-ipv6 |
34 |
.endif |
34 |
.endif |
35 |
|
35 |
|
36 |
.if !defined(WITHOUT_X11) |
36 |
.if ${PORT_OPTIONS:MX11} |
37 |
CONFIGURE_ARGS+=--with-gtk |
37 |
CONFIGURE_ARGS+=--with-gtk |
38 |
OPTIONS+= X11 "Build X11-enabled mtr" on |
|
|
39 |
USE_GNOME= gtk20 |
38 |
USE_GNOME= gtk20 |
40 |
.else |
39 |
.else |
41 |
CONFIGURE_ARGS+=--without-gtk |
40 |
CONFIGURE_ARGS+=--without-gtk |
42 |
OPTIONS+= X11 "Build X11-enabled mtr" off |
|
|
43 |
PKGNAMESUFFIX= -nox11 |
41 |
PKGNAMESUFFIX= -nox11 |
44 |
.endif |
42 |
.endif |