1 |
# New ports collection makefile for: avahi |
2 |
# Date created: 18 November 2005 |
3 |
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> |
4 |
# |
5 |
# $MidnightBSD: mports/net/avahi/Makefile,v 1.7 2009/02/28 16:58:20 laffer1 Exp $ |
6 |
# $FreeBSD: ports/net/avahi/Makefile,v 1.56 2007/12/20 18:23:32 ahze Exp $ |
7 |
# |
8 |
|
9 |
PORTNAME= avahi |
10 |
PORTVERSION= 0.6.28 |
11 |
PORTREVISION?= 0 |
12 |
CATEGORIES?= net dns |
13 |
MASTER_SITES= # empty |
14 |
DISTFILES= # empty |
15 |
EXTRACT_ONLY= # empty |
16 |
|
17 |
MAINTAINER= ports@MidnightBSD.org |
18 |
COMMENT= The "meta-port" for the Avahi service discovery suite |
19 |
LICENSE= lgpl |
20 |
|
21 |
RUN_DEPENDS= avahi-resolve:${PORTSDIR}/net/avahi-app \ |
22 |
avahi-app>=0.6.20_2:${PORTSDIR}/net/avahi-app |
23 |
|
24 |
OPTIONS= AUTOIPD "IPv4LL network address configuration daemon" off \ |
25 |
GTK "Gtk+ tools and bindings" off \ |
26 |
LIBDNS "Apple's mDNSResponder compatibility library" off \ |
27 |
MONO "Mono bindings" off \ |
28 |
QT3 "Qt 3 bindings" off \ |
29 |
QT4 "Qt 4 bindings" off \ |
30 |
PYTHON "Python bindings and tools" off |
31 |
|
32 |
NO_BUILD= yes |
33 |
|
34 |
.include <bsd.port.pre.mk> |
35 |
|
36 |
.if defined(WITH_AUTOIPD) |
37 |
RUN_DEPENDS+= avahi-autoipd:${PORTSDIR}/net/avahi-autoipd |
38 |
.endif |
39 |
|
40 |
.if defined(WITH_GTK) |
41 |
RUN_DEPENDS+= avahi-discover-standalone:${PORTSDIR}/net/avahi-gtk |
42 |
.endif |
43 |
|
44 |
.if defined(WITH_LIBDNS) |
45 |
RUN_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/avahi-compat-libdns_sd.pc:${PORTSDIR}/net/avahi-libdns |
46 |
.endif |
47 |
|
48 |
.if defined(WITH_MONO) |
49 |
RUN_DEPENDS+= ${LOCALBASE}/lib/mono/avahi-sharp/avahi-sharp.dll:${PORTSDIR}/net/avahi-sharp |
50 |
.endif |
51 |
|
52 |
.if defined(WITH_QT3) |
53 |
RUN_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/avahi-qt3.pc:${PORTSDIR}/net/avahi-qt3 |
54 |
.endif |
55 |
|
56 |
.if defined(WITH_QT4) |
57 |
RUN_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/avahi-qt4.pc:${PORTSDIR}/net/avahi-qt4 |
58 |
.endif |
59 |
|
60 |
.if defined(WITH_PYTHON) |
61 |
RUN_DEPENDS+= avahi-bookmarks:${PORTSDIR}/net/py-avahi |
62 |
.endif |
63 |
|
64 |
do-install: |
65 |
|
66 |
.include <bsd.port.post.mk> |