summaryrefslogtreecommitdiff
path: root/net/avahi/buildlink3.mk
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2008-12-20 17:36:14 +0000
committerwiz <wiz@pkgsrc.org>2008-12-20 17:36:14 +0000
commit0458939a92003e17c00bf6b8930a139eab3fa18c (patch)
treefe6772f10e4ddbb2e31d1448bf3025c31a1bf594 /net/avahi/buildlink3.mk
parentc262953d556ed51edeef0961bf8e7599fdd48436 (diff)
downloadpkgsrc-0458939a92003e17c00bf6b8930a139eab3fa18c.tar.gz
Initial import of avahi-0.6.23, packaged for pkgsrc-wip by Adrian Portelli,
then majorly reworked by myself. You can blame us both now ;) Avahi is an Implementation the DNS Service Discovery and Multicast DNS specifications for Zeroconf Computing. It uses D-BUS for communication between user applications and a system daemon. The daemon is used to coordinate application efforts in caching replies, necessary to minimize the traffic imposed on networks.
Diffstat (limited to 'net/avahi/buildlink3.mk')
-rw-r--r--net/avahi/buildlink3.mk29
1 files changed, 29 insertions, 0 deletions
diff --git a/net/avahi/buildlink3.mk b/net/avahi/buildlink3.mk
new file mode 100644
index 00000000000..91a393401a6
--- /dev/null
+++ b/net/avahi/buildlink3.mk
@@ -0,0 +1,29 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/12/20 17:36:14 wiz Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+AVAHI_BUILDLINK3_MK:= ${AVAHI_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= avahi
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Navahi}
+BUILDLINK_PACKAGES+= avahi
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}avahi
+
+.if ${AVAHI_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.avahi+= avahi>=0.6.23
+BUILDLINK_PKGSRCDIR.avahi?= ../../net/avahi
+.endif # AVAHI_BUILDLINK3_MK
+
+pkgbase := avahi
+.include "../../mk/pkg-build-options.mk"
+
+.if !empty(PKG_BUILD_OPTIONS.avahi:Mgdbm)
+. include "../../databases/gdbm/buildlink3.mk"
+.endif
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../sysutils/dbus/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}