Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jul 2015 13:30:19 +0000 (UTC)
From:      Koop Mast <kwm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r391996 - head/net/avahi
Message-ID:  <201507141330.t6EDUJ6g000302@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kwm
Date: Tue Jul 14 13:30:18 2015
New Revision: 391996
URL: https://svnweb.freebsd.org/changeset/ports/391996

Log:
  Convert to USES=metaport and OptionsNG.
  
  PR:		201505
  Submitted by:	Andriy Voskoboinyk <s3erios@gmail.com>

Modified:
  head/net/avahi/Makefile

Modified: head/net/avahi/Makefile
==============================================================================
--- head/net/avahi/Makefile	Tue Jul 14 13:25:38 2015	(r391995)
+++ head/net/avahi/Makefile	Tue Jul 14 13:30:18 2015	(r391996)
@@ -6,49 +6,25 @@ PORTNAME=	avahi
 PORTVERSION=	0.6.31
 PORTREVISION?=	1
 CATEGORIES?=	net dns
-MASTER_SITES=	# empty
-DISTFILES=	# empty
-EXTRACT_ONLY=	# empty
 
 MAINTAINER=	gnome@FreeBSD.org
 COMMENT=	"meta-port" for the Avahi service discovery suite
 
 RUN_DEPENDS=	avahi-app>=0.6.31:${PORTSDIR}/net/avahi-app
 
+USES=		metaport
+
 OPTIONS_DEFINE=	AUTOIPD GTK MONO QT4 PYTHON
 OPTIONS_DEFAULT=AUTOIPD GTK
 AUTOIPD_DESC=	IPv4LL network address configuration daemon
 GTK_DESC=	Gtk+ tools and bindings
 LIBDNS_DESC=	Apple's mDNSResponder compatibility library
 
-NO_BUILD=	yes
-NO_INSTALL=	yes
-NO_MTREE=	yes
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MAUTOIPD}
-RUN_DEPENDS+=	avahi-autoipd:${PORTSDIR}/net/avahi-autoipd
-.endif
-
-.if ${PORT_OPTIONS:MGTK}
-RUN_DEPENDS+=	avahi-discover-standalone:${PORTSDIR}/net/avahi-gtk
-.endif
-
-#.if ${PORT_OPTIONS:MLIBDNS}
-#RUN_DEPENDS+=	${LOCALBASE}/libdata/pkgconfig/avahi-compat-libdns_sd.pc:${PORTSDIR}/net/avahi-libdns
-#.endif
-
-.if ${PORT_OPTIONS:MMONO}
-RUN_DEPENDS+=	${LOCALBASE}/lib/mono/avahi-sharp/avahi-sharp.dll:${PORTSDIR}/net/avahi-sharp
-.endif
-
-.if ${PORT_OPTIONS:MQT4}
-RUN_DEPENDS+=	${LOCALBASE}/libdata/pkgconfig/avahi-qt4.pc:${PORTSDIR}/net/avahi-qt4
-.endif
-
-.if ${PORT_OPTIONS:MPYTHON}
-RUN_DEPENDS+=	avahi-bookmarks:${PORTSDIR}/net/py-avahi
-.endif
+AUTOIPD_RUN_DEPENDS=	avahi-autoipd:${PORTSDIR}/net/avahi-autoipd
+GTK_RUN_DEPENDS=	avahi-discover-standalone:${PORTSDIR}/net/avahi-gtk
+#LIBDNS_RUN_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/avahi-compat-libdns_sd.pc:${PORTSDIR}/net/avahi-libdns
+MONO_RUN_DEPENDS=	${LOCALBASE}/lib/mono/avahi-sharp/avahi-sharp.dll:${PORTSDIR}/net/avahi-sharp
+QT4_RUN_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/avahi-qt4.pc:${PORTSDIR}/net/avahi-qt4
+PYTHON_RUN_DEPENDS=	avahi-bookmarks:${PORTSDIR}/net/py-avahi
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507141330.t6EDUJ6g000302>