svn commit: r330010 - head/net/mtr

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Thu Oct 10 14:36:50 UTC 2013


Author: sunpoet
Date: Thu Oct 10 14:36:49 2013
New Revision: 330010
URL: http://svnweb.freebsd.org/changeset/ports/330010

Log:
  - Convert to new OPTIONS helper
  - Support STAGEDIR

Modified:
  head/net/mtr/Makefile

Modified: head/net/mtr/Makefile
==============================================================================
--- head/net/mtr/Makefile	Thu Oct 10 14:36:32 2013	(r330009)
+++ head/net/mtr/Makefile	Thu Oct 10 14:36:49 2013	(r330010)
@@ -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
 


More information about the svn-ports-all mailing list