aboutsummaryrefslogtreecommitdiff
path: root/net/avahi
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2015-07-14 13:30:18 +0000
committerKoop Mast <kwm@FreeBSD.org>2015-07-14 13:30:18 +0000
commit2fabe081aa1036fae8680f799f86f6a827e8f5cd (patch)
tree9dd51a87f32f604af4b6b79a0a692ba5e03f2a47 /net/avahi
parent8355c3af6b1e87535b726a293c3a14844216a50e (diff)
downloadports-2fabe081aa1036fae8680f799f86f6a827e8f5cd.tar.gz
ports-2fabe081aa1036fae8680f799f86f6a827e8f5cd.zip
Convert to USES=metaport and OptionsNG.
PR: 201505 Submitted by: Andriy Voskoboinyk <s3erios@gmail.com>
Notes
Notes: svn path=/head/; revision=391996
Diffstat (limited to 'net/avahi')
-rw-r--r--net/avahi/Makefile40
1 files changed, 8 insertions, 32 deletions
diff --git a/net/avahi/Makefile b/net/avahi/Makefile
index 2150f683a049..ed509fb92e5a 100644
--- a/net/avahi/Makefile
+++ b/net/avahi/Makefile
@@ -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>