Prepare port to act as a master to an avahi-sharp slave
Approved by: marcus on IRC
This commit is contained in:
parent
4737682cb3
commit
3f88c858b1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=156362
1 changed files with 12 additions and 7 deletions
|
@ -7,23 +7,23 @@
|
|||
|
||||
PORTNAME= avahi
|
||||
PORTVERSION= 0.6.5
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= net dns
|
||||
PORTREVISION?= 2
|
||||
CATEGORIES?= net dns
|
||||
MASTER_SITES= http://www.avahi.org/download/
|
||||
|
||||
MAINTAINER= gnome@FreeBSD.org
|
||||
COMMENT= Service discovery on a local network
|
||||
MAINTAINER?= gnome@FreeBSD.org
|
||||
COMMENT?= Service discovery on a local network
|
||||
|
||||
LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2 \
|
||||
LIB_DEPENDS?= expat.6:${PORTSDIR}/textproc/expat2 \
|
||||
daemon.2:${PORTSDIR}/devel/libdaemon \
|
||||
dbus-1.2:${PORTSDIR}/devel/dbus \
|
||||
gdbm.3:${PORTSDIR}/databases/gdbm
|
||||
|
||||
USE_GNOME= gnomehack ltverhack glib20
|
||||
USE_GNOME?= gnomehack ltverhack glib20
|
||||
USE_GMAKE= yes
|
||||
USE_AUTOTOOLS= libtool:15
|
||||
INSTALLS_SHLIB= yes
|
||||
CONFIGURE_ARGS= --with-distro=freebsd \
|
||||
CONFIGURE_ARGS?=--with-distro=freebsd \
|
||||
--with-dbus-system-address=unix:path=/var/run/dbus \
|
||||
--disable-qt3 \
|
||||
--disable-qt4 \
|
||||
|
@ -38,6 +38,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|||
PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
|
||||
PTHREAD_LIBS="${PTHREAD_LIBS}"
|
||||
|
||||
.if !defined(AVAHI_SLAVE)
|
||||
USE_RC_SUBR= yes
|
||||
|
||||
MAN1= avahi-browse-domains.1 avahi-browse.1 avahi-publish-address.1 \
|
||||
|
@ -47,9 +48,11 @@ MAN5= avahi-daemon.conf.5 avahi.service.5
|
|||
MAN8= avahi-daemon.8 avahi-dnsconfd.8 avahi-dnsconfd.action.8
|
||||
|
||||
OPTIONS= GTK2 "Build a GTK+ 2 browser utility" off
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if !defined(AVAHI_SLAVE)
|
||||
.if ${OSVERSION} < 500000
|
||||
IGNORE= does not work on FreeBSD 4.X
|
||||
.endif
|
||||
|
@ -67,4 +70,6 @@ post-install:
|
|||
@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
||||
.endif
|
||||
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
Loading…
Reference in a new issue