summaryrefslogtreecommitdiffstats
path: root/net/avahi/Makefile
blob: 6fbc9ef2ea0380123edd9f3586c4c5f9e7491ea9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD: head/net/avahi/Makefile 314632 2013-03-19 10:40:22Z kwm $
#   $MCom$

PORTNAME=   avahi
PORTVERSION=    0.6.31
PORTREVISION?=  0
CATEGORIES?=    net dns
MASTER_SITES=   # empty
DISTFILES=  # empty
EXTRACT_ONLY=   # empty

MAINTAINER= gnome@FreeBSD.org
COMMENT=    The "meta-port" for the Avahi service discovery suite

RUN_DEPENDS=    avahi-resolve:${PORTSDIR}/net/avahi-app \
        avahi-app>=0.6.31:${PORTSDIR}/net/avahi-app

OPTIONS_DEFINE= AUTOIPD GTK LIBDNS MONO QT3 QT4 PYTHON
OPTIONS_DEFAULT=AUTOIPD GTK LIBDNS
AUTOIPD_DESC=   IPv4LL network address configuration daemon
GTK_DESC=   Gtk+ tools and bindings
LIBDNS_DESC=    Apple's mDNSResponder compatibility library
QT3_DESC=   Qt 3 toolkit

NO_BUILD=   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:MQT3}
RUN_DEPENDS+=   ${LOCALBASE}/libdata/pkgconfig/avahi-qt3.pc:${PORTSDIR}/net/avahi-qt3
.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

do-install:

.include <bsd.port.mk>