summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authortmclaugh <tmclaugh@FreeBSD.org>2006-02-19 07:04:48 +0000
committertmclaugh <tmclaugh@FreeBSD.org>2006-02-19 07:04:48 +0000
commitda9197708609758d858e926c0063d12aadca9381 (patch)
tree1ace79bd42719a2f9d4b685933373e358b037ef3 /net
parentd437685ed00e63e3cab6ec27af0f4c306a8a051c (diff)
downloadFreeBSD-ports-da9197708609758d858e926c0063d12aadca9381.zip
FreeBSD-ports-da9197708609758d858e926c0063d12aadca9381.tar.gz
Prepare port to act as a master to an avahi-sharp slave
Approved by: marcus on IRC
Diffstat (limited to 'net')
-rw-r--r--net/avahi/Makefile19
1 files changed, 12 insertions, 7 deletions
diff --git a/net/avahi/Makefile b/net/avahi/Makefile
index 0eab7b6..a375637 100644
--- a/net/avahi/Makefile
+++ b/net/avahi/Makefile
@@ -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>
OpenPOWER on IntegriCloud