From 3ee5b5a555ee4580c08274bb65c9fc81ecfe97d7 Mon Sep 17 00:00:00 2001 From: sunpoet Date: Thu, 10 Oct 2013 14:36:49 +0000 Subject: - Convert to new OPTIONS helper - Support STAGEDIR --- net/mtr/Makefile | 32 ++++++++++---------------------- 1 file 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 - -.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 -.if ${PORT_OPTIONS:MX11} -CONFIGURE_ARGS+=--with-gtk -USE_GNOME= gtk20 -.else -CONFIGURE_ARGS+=--without-gtk +.if !${PORT_OPTIONS:MX11} PKGNAMESUFFIX+= -nox11 .endif -- cgit v1.1