summaryrefslogtreecommitdiffstats
path: root/net/avahi
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-03-03 06:44:33 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-03-03 06:44:33 +0800
commit9bd08bcd943dbaaf183b6e6c60691688084432ea (patch)
tree8af2844c04827b1e58b60b84418529c7f83306f8 /net/avahi
parentf15b2216db0f75b56ff82cfd50c82104bc2dc2f2 (diff)
downloadmarcuscom-ports-9bd08bcd943dbaaf183b6e6c60691688084432ea.tar
marcuscom-ports-9bd08bcd943dbaaf183b6e6c60691688084432ea.tar.gz
marcuscom-ports-9bd08bcd943dbaaf183b6e6c60691688084432ea.tar.bz2
marcuscom-ports-9bd08bcd943dbaaf183b6e6c60691688084432ea.tar.lz
marcuscom-ports-9bd08bcd943dbaaf183b6e6c60691688084432ea.tar.xz
marcuscom-ports-9bd08bcd943dbaaf183b6e6c60691688084432ea.tar.zst
marcuscom-ports-9bd08bcd943dbaaf183b6e6c60691688084432ea.zip
Merge avahi slave support from FreeBSD ports.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@5838 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'net/avahi')
-rw-r--r--net/avahi/Makefile24
1 files changed, 15 insertions, 9 deletions
diff --git a/net/avahi/Makefile b/net/avahi/Makefile
index a6450444d..c73ab04f2 100644
--- a/net/avahi/Makefile
+++ b/net/avahi/Makefile
@@ -3,27 +3,27 @@
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/net/avahi/Makefile,v 1.7 2006/01/31 12:25:11 ahze Exp $
+# $MCom: ports/net/avahi/Makefile,v 1.8 2006/02/25 00:12:30 marcus Exp $
PORTNAME= avahi
PORTVERSION= 0.6.5
-PORTREVISION= 4
-CATEGORIES= net dns
+PORTREVISION?= 4
+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 \
@@ -41,7 +41,6 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
PTHREAD_LIBS="${PTHREAD_LIBS}"
CONFLICTS= howl-[0-9]* mDNSResponder-[0-9]*
-USE_RC_SUBR= yes
MAN1= avahi-browse-domains.1 avahi-browse.1 avahi-publish-address.1 \
avahi-publish-service.1 avahi-publish.1 avahi-resolve-address.1 \
@@ -51,8 +50,13 @@ MAN8= avahi-daemon.8 avahi-dnsconfd.8 avahi-dnsconfd.action.8
OPTIONS= GTK2 "Build a GTK+ 2 browser utility" off
+.if !defined(AVAHI_SLAVE)
+USE_RC_SUBR= yes
+.endif
+
.include <bsd.port.pre.mk>
+.if !defined(AVAHI_SLAVE)
.if ${OSVERSION} < 500000
IGNORE= does not work on FreeBSD 4.X
.endif
@@ -70,4 +74,6 @@ post-install:
@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.endif
+.endif
+
.include <bsd.port.post.mk>