blob: 4e2397ffe87f335e95c324fa789d8777a301a9d9 (
plain)
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
|
# $NetBSD: Makefile,v 1.6 2009/01/08 01:00:15 obache Exp $
DISTNAME= avahi-0.6.23
PKGREVISION= 2
CATEGORIES= net
MASTER_SITES= http://avahi.org/download/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://avahi.org/
COMMENT= Facilitate service discovery on a local network
GNU_CONFIGURE= YES
USE_DIRS+= xdg-1.4
USE_LIBTOOL= YES
USE_PKGINSTALL= YES
USE_PKGLOCALEDIR= YES
USE_TOOLS+= pkg-config gmake intltool msgfmt
MAKE_JOBS_SAFE= no
PKGCONFIG_OVERRIDE+= avahi-client.pc.in
PKGCONFIG_OVERRIDE+= avahi-compat-howl.pc.in
PKGCONFIG_OVERRIDE+= avahi-compat-libdns_sd.pc.in
PKGCONFIG_OVERRIDE+= avahi-core.pc.in
PKGCONFIG_OVERRIDE+= avahi-glib.pc.in
PKGCONFIG_OVERRIDE+= avahi-gobject.pc.in
PKGCONFIG_OVERRIDE+= avahi-qt3.pc.in
PKGCONFIG_OVERRIDE+= avahi-qt4.pc.in
PKGCONFIG_OVERRIDE+= avahi-sharp.pc.in
PKGCONFIG_OVERRIDE+= avahi-ui-sharp.pc.in
PKGCONFIG_OVERRIDE+= avahi-ui.pc.in
AVAHI_USER= avahi
AVAHI_GROUP= avahi
RCD_SCRIPTS= avahidaemon
BUILD_DEFS= VARBASE PKG_SYSCONFBASE
PLIST_SRC= ${PKGDIR}/PLIST
PKG_SYSCONFSUBDIR= avahi
USE_LANGUAGES= c c++
MAKE_DIRS= ${PKG_SYSCONFDIR}/services
PKG_USERS= ${AVAHI_USER}:${AVAHI_GROUP}
PKG_GROUPS= ${AVAHI_GROUP}
PKG_GECOS.${AVAHI_USER}= Avahi user
.include "options.mk"
.if ${OPSYS} == "NetBSD"
CFLAGS+= -D_NETBSD_SOURCE
.endif
PLIST_SRC+= ${PKGDIR}/PLIST.shared
CONF_FILES+= ${PREFIX}/share/examples/avahi/avahi-daemon.conf \
${PKG_SYSCONFDIR}/avahi-daemon.conf
CONF_FILES+= ${PREFIX}/share/examples/avahi/hosts \
${PKG_SYSCONFDIR}/hosts
CONF_FILES+= ${PREFIX}/share/examples/avahi/avahi-dnsconfd.action \
${PKG_SYSCONFDIR}/avahi-dnsconfd.action
CONF_FILES+= ${PREFIX}/share/examples/avahi/ssh.service \
${PKG_SYSCONFDIR}/services/ssh.service
CONF_FILES+= ${PREFIX}/share/examples/avahi/avahi-dbus.conf \
${PKG_SYSCONFBASE}/dbus-1/system.d/avahi-dbus.conf
CONFIGURE_ARGS+= --with-avahi-user=${AVAHI_USER:Q}
CONFIGURE_ARGS+= --with-avahi-group=${AVAHI_GROUP:Q}
CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q}
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASE}
CONFIGURE_ARGS+= --disable-qt3
CONFIGURE_ARGS+= --disable-qt4
CONFIGURE_ARGS+= --disable-mono
CONFIGURE_ARGS+= --disable-monodoc
CONFIGURE_ARGS+= --disable-doxygen-doc
CONFIGURE_ARGS+= --disable-doxygen-dot
CONFIGURE_ARGS+= --disable-doxygen-html
CONFIGURE_ARGS+= --disable-xmltoman
CONFIGURE_ARGS+= --disable-autoipd
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/avahi
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/avahi
${MKDIR} ${PKG_SYSCONFDIR}/services
${INSTALL_DATA} ${WRKSRC}/avahi-daemon/avahi-daemon.conf \
${PREFIX}/share/examples/avahi
${INSTALL_DATA} ${WRKSRC}/avahi-daemon/hosts \
${PREFIX}/share/examples/avahi
${INSTALL_DATA} ${WRKSRC}/avahi-dnsconfd/avahi-dnsconfd.action \
${PREFIX}/share/examples/avahi
${INSTALL_DATA} ${WRKSRC}/avahi-daemon/ssh.service \
${PREFIX}/share/examples/avahi
${INSTALL_DATA} ${WRKSRC}/avahi-daemon/avahi-dbus.conf \
${PREFIX}/share/examples/avahi/avahi-dbus.conf
${INSTALL_DATA} ${WRKSRC}/docs/HACKING ${PREFIX}/share/doc/avahi
${INSTALL_DATA} ${WRKSRC}/docs/INSTALL ${PREFIX}/share/doc/avahi
${INSTALL_DATA} ${WRKSRC}/docs/NEWS ${PREFIX}/share/doc/avahi
${INSTALL_DATA} ${WRKSRC}/docs/README ${PREFIX}/share/doc/avahi
${INSTALL_DATA} ${WRKSRC}/docs/TODO ${PREFIX}/share/doc/avahi
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/libdaemon/buildlink3.mk"
.include "../../devel/libglade/buildlink3.mk"
.include "../../sysutils/dbus/buildlink3.mk"
.include "../../textproc/expat/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|