summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2013-10-10 14:36:49 +0000
committersunpoet <sunpoet@FreeBSD.org>2013-10-10 14:36:49 +0000
commit3ee5b5a555ee4580c08274bb65c9fc81ecfe97d7 (patch)
tree2205a9fc6768674ed745a88b53c4849111266875
parent77e7488c8fd96a489504ca9a374f4b462994b90a (diff)
downloadFreeBSD-ports-3ee5b5a555ee4580c08274bb65c9fc81ecfe97d7.zip
FreeBSD-ports-3ee5b5a555ee4580c08274bb65c9fc81ecfe97d7.tar.gz
- Convert to new OPTIONS helper
- Support STAGEDIR
-rw-r--r--net/mtr/Makefile32
1 files changed, 10 insertions, 22 deletions
diff --git a/net/mtr/Makefile b/net/mtr/Makefile
index 87f8cf9..5a288b8 100644
--- a/net/mtr/Makefile
+++ b/net/mtr/Makefile
@@ -21,31 +21,19 @@ X11_DESC= Build X11-enabled mtr
GNU_CONFIGURE= yes
USES= pkgconfig
-MAN8= mtr.8
-PLIST_FILES= sbin/mtr
+PLIST_FILES= man/man8/mtr.8.gz \
+ sbin/mtr
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MGLIB}
-CONFIGURE_ARGS+=--with-glib
-USE_GNOME= glib20
-.else
-CONFIGURE_ARGS+=--without-glib
-.endif
+GLIB_CONFIGURE_WITH= glib
+GLIB_USE= GNOME=glib20
+IPV6_CATEGORIES= ipv6
+IPV6_CONFIGURE_ENABLE= ipv6
+X11_CONFIGURE_WITH= gtk
+X11_USE= GNOME=gtk20
-.if ${PORT_OPTIONS:MIPV6}
-CONFIGURE_ARGS+=--enable-ipv6
-CATEGORIES+= ipv6
-.else
-CONFIGURE_ARGS+=--disable-ipv6
-.endif
+.include <bsd.port.options.mk>
-.if ${PORT_OPTIONS:MX11}
-CONFIGURE_ARGS+=--with-gtk
-USE_GNOME= gtk20
-.else
-CONFIGURE_ARGS+=--without-gtk
+.if !${PORT_OPTIONS:MX11}
PKGNAMESUFFIX+= -nox11
.endif
OpenPOWER on IntegriCloud