PORTNAME=	avahi
PORTVERSION=	0.8
PORTREVISION?=	0
MASTER_SITES=   # none
CATEGORIES?=	net dns
DISTFILES=      # none
EXTRACT_ONLY=   # none

MAINTAINER=	ports@MidnightBSD.org
COMMENT=	"meta-port" for the Avahi service discovery suite
WWW=		https://www.avahi.org/

LICENSE=	lgpl2.1+

RUN_DEPENDS=	avahi-app>=0.8:net/avahi-app

NO_BUILD=       yes
NO_MTREE=       yes

OPTIONS_DEFINE=       AUTOIPD GTK2 GTK3 MONO QT5 PYTHON
OPTIONS_DEFAULT=AUTOIPD GTK3
AUTOIPD_DESC=	IPv4LL network address configuration daemon
LIBDNS_DESC=	Apple's mDNSResponder compatibility library

AUTOIPD_RUN_DEPENDS=	avahi-autoipd:net/avahi-autoipd
GTK2_RUN_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/avahi-ui.pc:net/avahi-gtk
GTK3_RUN_DEPENDS=	avahi-discover-standalone:net/avahi-gtk3
#LIBDNS_RUN_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/avahi-compat-libdns_sd.pc:net/avahi-libdns
MONO_RUN_DEPENDS=	${LOCALBASE}/lib/mono/avahi-sharp/avahi-sharp.dll:net/avahi-sharp
QT5_RUN_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/avahi-qt5.pc:net/avahi-qt5
PYTHON_RUN_DEPENDS=	avahi-bookmarks:net/py-avahi

do-install: build
	@${DO_NADA}

.include <bsd.port.mk>
