diff --git a/net/avahi-app/Makefile b/net/avahi-app/Makefile index f8b0282c3915..d26231e41838 100644 --- a/net/avahi-app/Makefile +++ b/net/avahi-app/Makefile @@ -1,154 +1,155 @@ PORTNAME= avahi PORTVERSION= 0.8 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES?= net dns MASTER_SITES= http://www.avahi.org/download/ PKGNAMESUFFIX?= -app MAINTAINER?= desktop@FreeBSD.org COMMENT?= Service discovery on a local network WWW= https://www.avahi.org/ LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/LICENSE AVAHI_SLAVE?= no .if ${AVAHI_SLAVE} != header LIB_DEPENDS?= libexpat.so:textproc/expat2 \ libdaemon.so:devel/libdaemon \ libdbus-glib-1.so:devel/dbus-glib \ libdbus-1.so:devel/dbus \ libgdbm.so:databases/gdbm \ libevent.so:devel/libevent USERS?= ${PORTNAME} GROUPS?= ${USERS} USES+= alias cpe gettext gmake gnome libtool pathfix pkgconfig USE_GNOME+= glib20 intltool introspection:build USE_GNOME_SUBR= yes USE_LDCONFIG= yes GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS?=--with-distro=freebsd \ --with-dbus-system-socket=unix:path=/var/run/dbus/system_bus_socket \ --enable-introspection=yes \ --disable-static \ --disable-monodoc \ --disable-doxygen-doc \ --disable-doxygen-dot \ --disable-qt3 \ --disable-qt4 \ --localstatedir=/var \ --enable-compat-howl CPPFLAGS+= -I${LOCALBASE}/include -DHAVE_KQUEUE LDFLAGS+= -L${LOCALBASE}/lib -lintl INSTALL_TARGET= install-strip .if ${AVAHI_SLAVE} == no CONFLICTS= howl DAEMON_CONFIG_FILES= hosts avahi-daemon.conf .endif .endif # !avahi-header .include .if ${AVAHI_SLAVE} != header .if ${AVAHI_SLAVE} == autoipd CONFIGURE_ARGS+=--enable-autoipd .else CONFIGURE_ARGS+=--disable-autoipd .endif .if ${AVAHI_SLAVE} == gtk # We disable man pages, because bssh.1 is not generated (no xmltoman port) CONFIGURE_ARGS+=--enable-gtk \ --disable-manpages .else CONFIGURE_ARGS+=--disable-gtk .endif .if ${AVAHI_SLAVE} == gtk3 CONFIGURE_ARGS+=--enable-gtk3 .else CONFIGURE_ARGS+=--disable-gtk3 .endif .if ${AVAHI_SLAVE} == libdns CONFIGURE_ARGS+=--enable-compat-libdns_sd .else CONFIGURE_ARGS+=--disable-compat-libdns_sd .endif .if ${AVAHI_SLAVE} == python CONFIGURE_ARGS+=--enable-python .else CONFIGURE_ARGS+=--disable-python .endif .if ${AVAHI_SLAVE} == qt5 CONFIGURE_ARGS+=--enable-qt5 \ --disable-expat \ --disable-gdbm .else CONFIGURE_ARGS+=--disable-qt5 .endif .if ${AVAHI_SLAVE} == sharp CONFIGURE_ARGS+=--enable-mono .else CONFIGURE_ARGS+=--disable-mono .endif CONFIGURE_ARGS+=--disable-stack-protector post-patch: avahi-post-patch avahi-post-patch: @${REINPLACE_CMD} -e 's|avahi_runtime_dir="/run"|avahi_runtime_dir="/var/run"|' \ ${WRKSRC}/configure @${RM} ${WRKSRC}/man/*.bak @${REINPLACE_CMD} -e 's|-ldl||g ; s|netdev|network|g' \ ${WRKSRC}/configure \ ${WRKSRC}/avahi-client/Makefile.in \ ${WRKSRC}/avahi-daemon/Makefile.in @${REINPLACE_CMD} -e 's|have_inotify=yes|have_inotify=no|' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|%%GNOME_SUBR%%|${GNOME_SUBR}|' \ ${WRKSRC}/initscript/freebsd/avahi-dnsconfd.sh.in \ ${WRKSRC}/initscript/freebsd/avahi-daemon.sh.in post-build: avahi-post-build avahi-post-build: .for f in ${AVAHI_PKGCONFIG} @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} \ ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${f} .endfor pre-su-install: avahi-pre-su-install avahi-pre-su-install: .if ${AVAHI_SLAVE}=="no" @${MKDIR} ${STAGEDIR}${PREFIX}/lib/avahi @${TOUCH} -f ${STAGEDIR}${PREFIX}/lib/avahi/.keep .endif post-install: avahi-post-install avahi-post-install: .if defined(MANPAGES) && ${AVAHI_SLAVE} != gtk .for f in ${MANPAGES} - ${INSTALL_DATA} ${WRKSRC}/man/${f} ${STAGEDIR}${PREFIX}/man/man${f:E}/${f} + ${INSTALL_DATA} ${WRKSRC}/man/${f} ${STAGEDIR}${PREFIX}/share/man/man${f:E}/${f} .endfor .endif .for f in ${AVAHI_PKGCONFIG} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/libdata/pkgconfig .endfor .for f in ${DAEMON_CONFIG_FILES} ${MKDIR} ${STAGEDIR}${PREFIX}/etc/avahi ${INSTALL_DATA} ${WRKSRC}/avahi-daemon/${f} \ ${STAGEDIR}${PREFIX}/etc/avahi/${f}.sample .endfor .if ${AVAHI_SLAVE}==no ${MKDIR} ${STAGEDIR}${PREFIX}/share/dbus-1/system-services ${INSTALL_DATA} ${WRKSRC}/avahi-daemon/org.freedesktop.Avahi.service \ ${STAGEDIR}${PREFIX}/share/dbus-1/system-services .endif .endif # ! avahi-header .include diff --git a/net/avahi-app/pkg-plist b/net/avahi-app/pkg-plist index 6e1dca049cdc..c72badbe1a0b 100644 --- a/net/avahi-app/pkg-plist +++ b/net/avahi-app/pkg-plist @@ -1,172 +1,172 @@ bin/avahi-browse bin/avahi-browse-domains bin/avahi-publish bin/avahi-publish-address bin/avahi-publish-service bin/avahi-resolve bin/avahi-resolve-address bin/avahi-resolve-host-name bin/avahi-set-host-name @sample etc/avahi/avahi-daemon.conf.sample etc/avahi/avahi-dnsconfd.action @sample etc/avahi/hosts.sample etc/avahi/services/sftp-ssh.service etc/avahi/services/ssh.service etc/dbus-1/system.d/avahi-dbus.conf etc/rc.d/avahi-daemon etc/rc.d/avahi-dnsconfd include/avahi-client/client.h include/avahi-client/lookup.h include/avahi-client/publish.h include/avahi-common/address.h include/avahi-common/alternative.h include/avahi-common/cdecl.h include/avahi-common/defs.h include/avahi-common/domain.h include/avahi-common/error.h include/avahi-common/gccmacro.h include/avahi-common/llist.h include/avahi-common/malloc.h include/avahi-common/rlist.h include/avahi-common/simple-watch.h include/avahi-common/strlst.h include/avahi-common/thread-watch.h include/avahi-common/timeval.h include/avahi-common/watch.h include/avahi-compat-howl/corby/buffer.h include/avahi-compat-howl/corby/channel.h include/avahi-compat-howl/corby/corby.h include/avahi-compat-howl/corby/message.h include/avahi-compat-howl/corby/object.h include/avahi-compat-howl/corby/orb.h include/avahi-compat-howl/discovery/discovery.h include/avahi-compat-howl/discovery/text_record.h include/avahi-compat-howl/howl.h include/avahi-compat-howl/rendezvous/rendezvous.h include/avahi-compat-howl/rendezvous/text_record.h include/avahi-compat-howl/salt/address.h include/avahi-compat-howl/salt/debug.h include/avahi-compat-howl/salt/interface.h include/avahi-compat-howl/salt/platform.h include/avahi-compat-howl/salt/salt.h include/avahi-compat-howl/salt/signal.h include/avahi-compat-howl/salt/socket.h include/avahi-compat-howl/salt/time.h include/avahi-core/core.h include/avahi-core/log.h include/avahi-core/lookup.h include/avahi-core/publish.h include/avahi-core/rr.h include/avahi-glib/glib-malloc.h include/avahi-glib/glib-watch.h include/avahi-gobject/ga-client.h include/avahi-gobject/ga-entry-group.h include/avahi-gobject/ga-enums.h include/avahi-gobject/ga-error.h include/avahi-gobject/ga-record-browser.h include/avahi-gobject/ga-service-browser.h include/avahi-gobject/ga-service-resolver.h include/avahi-libevent/libevent-watch.h lib/avahi/.keep lib/girepository-1.0/Avahi-0.6.typelib lib/girepository-1.0/AvahiCore-0.6.typelib lib/libavahi-client.so lib/libavahi-client.so.3 lib/libavahi-client.so.3.2.9 lib/libavahi-common.so lib/libavahi-common.so.3 lib/libavahi-common.so.3.5.4 lib/libavahi-core.so lib/libavahi-core.so.7 lib/libavahi-core.so.7.1.0 lib/libavahi-glib.so lib/libavahi-glib.so.1 lib/libavahi-glib.so.1.0.2 lib/libavahi-gobject.so lib/libavahi-gobject.so.0 lib/libavahi-gobject.so.0.0.5 lib/libavahi-libevent.so lib/libavahi-libevent.so.1 lib/libavahi-libevent.so.1.0.0 lib/libhowl.so lib/libhowl.so.0 lib/libhowl.so.0.0.0 libdata/pkgconfig/avahi-client.pc libdata/pkgconfig/avahi-compat-howl.pc libdata/pkgconfig/avahi-core.pc libdata/pkgconfig/avahi-glib.pc libdata/pkgconfig/avahi-gobject.pc libdata/pkgconfig/avahi-libevent.pc -man/man1/avahi-browse-domains.1.gz -man/man1/avahi-browse.1.gz -man/man1/avahi-publish-address.1.gz -man/man1/avahi-publish-service.1.gz -man/man1/avahi-publish.1.gz -man/man1/avahi-resolve-address.1.gz -man/man1/avahi-resolve-host-name.1.gz -man/man1/avahi-resolve.1.gz -man/man1/avahi-set-host-name.1.gz -man/man5/avahi-daemon.conf.5.gz -man/man5/avahi.hosts.5.gz -man/man5/avahi.service.5.gz -man/man8/avahi-daemon.8.gz -man/man8/avahi-dnsconfd.8.gz -man/man8/avahi-dnsconfd.action.8.gz +share/man/man1/avahi-browse-domains.1.gz +share/man/man1/avahi-browse.1.gz +share/man/man1/avahi-publish-address.1.gz +share/man/man1/avahi-publish-service.1.gz +share/man/man1/avahi-publish.1.gz +share/man/man1/avahi-resolve-address.1.gz +share/man/man1/avahi-resolve-host-name.1.gz +share/man/man1/avahi-resolve.1.gz +share/man/man1/avahi-set-host-name.1.gz +share/man/man5/avahi-daemon.conf.5.gz +share/man/man5/avahi.hosts.5.gz +share/man/man5/avahi.service.5.gz +share/man/man8/avahi-daemon.8.gz +share/man/man8/avahi-dnsconfd.8.gz +share/man/man8/avahi-dnsconfd.action.8.gz sbin/avahi-daemon sbin/avahi-dnsconfd %%DATADIR%%/avahi-service.dtd share/dbus-1/interfaces/org.freedesktop.Avahi.AddressResolver.xml share/dbus-1/interfaces/org.freedesktop.Avahi.DomainBrowser.xml share/dbus-1/interfaces/org.freedesktop.Avahi.EntryGroup.xml share/dbus-1/interfaces/org.freedesktop.Avahi.HostNameResolver.xml share/dbus-1/interfaces/org.freedesktop.Avahi.RecordBrowser.xml share/dbus-1/interfaces/org.freedesktop.Avahi.Server.xml share/dbus-1/interfaces/org.freedesktop.Avahi.ServiceBrowser.xml share/dbus-1/interfaces/org.freedesktop.Avahi.ServiceResolver.xml share/dbus-1/interfaces/org.freedesktop.Avahi.ServiceTypeBrowser.xml share/dbus-1/system-services/org.freedesktop.Avahi.service share/gir-1.0/Avahi-0.6.gir share/gir-1.0/AvahiCore-0.6.gir share/locale/ach/LC_MESSAGES/avahi.mo share/locale/ar/LC_MESSAGES/avahi.mo share/locale/bg/LC_MESSAGES/avahi.mo share/locale/ca/LC_MESSAGES/avahi.mo share/locale/cs/LC_MESSAGES/avahi.mo share/locale/da/LC_MESSAGES/avahi.mo share/locale/de/LC_MESSAGES/avahi.mo share/locale/el/LC_MESSAGES/avahi.mo share/locale/en_AU/LC_MESSAGES/avahi.mo share/locale/en_CA/LC_MESSAGES/avahi.mo share/locale/en_GB/LC_MESSAGES/avahi.mo share/locale/en_NZ/LC_MESSAGES/avahi.mo share/locale/eo/LC_MESSAGES/avahi.mo share/locale/et/LC_MESSAGES/avahi.mo share/locale/es/LC_MESSAGES/avahi.mo share/locale/fa/LC_MESSAGES/avahi.mo share/locale/fi/LC_MESSAGES/avahi.mo share/locale/fo/LC_MESSAGES/avahi.mo share/locale/fr/LC_MESSAGES/avahi.mo share/locale/gl/LC_MESSAGES/avahi.mo share/locale/he/LC_MESSAGES/avahi.mo share/locale/hu/LC_MESSAGES/avahi.mo share/locale/id/LC_MESSAGES/avahi.mo share/locale/it/LC_MESSAGES/avahi.mo share/locale/ja/LC_MESSAGES/avahi.mo share/locale/ko/LC_MESSAGES/avahi.mo share/locale/lv/LC_MESSAGES/avahi.mo share/locale/ms/LC_MESSAGES/avahi.mo share/locale/nl/LC_MESSAGES/avahi.mo share/locale/oc/LC_MESSAGES/avahi.mo share/locale/pl/LC_MESSAGES/avahi.mo share/locale/pt_BR/LC_MESSAGES/avahi.mo share/locale/ro/LC_MESSAGES/avahi.mo share/locale/ru/LC_MESSAGES/avahi.mo share/locale/sk/LC_MESSAGES/avahi.mo share/locale/sl/LC_MESSAGES/avahi.mo share/locale/sr/LC_MESSAGES/avahi.mo share/locale/sv/LC_MESSAGES/avahi.mo share/locale/sr@latin/LC_MESSAGES/avahi.mo share/locale/tr/LC_MESSAGES/avahi.mo share/locale/uk/LC_MESSAGES/avahi.mo share/locale/zh_CN/LC_MESSAGES/avahi.mo share/locale/zh_TW/LC_MESSAGES/avahi.mo