2005-11-19 05:34:52 +01:00
|
|
|
# New ports collection makefile for: avahi
|
|
|
|
# Date created: 18 November 2005
|
|
|
|
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= avahi
|
2005-11-25 04:04:40 +01:00
|
|
|
PORTVERSION= 0.6.1
|
2005-12-05 04:13:06 +01:00
|
|
|
PORTREVISION= 2
|
2005-11-19 05:34:52 +01:00
|
|
|
CATEGORIES= net dns
|
|
|
|
MASTER_SITES= http://www.freedesktop.org/~lennart/
|
|
|
|
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
|
|
|
COMMENT= Service discovery on a local network
|
|
|
|
|
|
|
|
LIB_DEPENDS= expat.5:${PORTSDIR}/textproc/expat2 \
|
|
|
|
daemon.2:${PORTSDIR}/devel/libdaemon \
|
|
|
|
dbus-1.1:${PORTSDIR}/devel/dbus \
|
|
|
|
gdbm.3:${PORTSDIR}/databases/gdbm
|
|
|
|
|
|
|
|
USE_GNOME= gnomehack ltverhack glib20
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_AUTOTOOLS= libtool:15
|
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
CONFIGURE_ARGS= --with-distro=freebsd \
|
2005-12-05 01:40:06 +01:00
|
|
|
--with-dbus-system-address=unix:path=/var/run/dbus \
|
2005-11-19 05:34:52 +01:00
|
|
|
--disable-qt3 \
|
|
|
|
--disable-qt4 \
|
|
|
|
--disable-python \
|
|
|
|
--disable-mono \
|
|
|
|
--disable-monodoc \
|
|
|
|
--disable-doxygen-doc \
|
2005-12-05 04:13:06 +01:00
|
|
|
--disable-doxygen-dot \
|
|
|
|
--localstatedir=/var
|
2005-11-19 05:34:52 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
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 \
|
|
|
|
avahi-resolve-host-name.1 avahi-resolve.1
|
|
|
|
MAN5= avahi-daemon.conf.5 avahi.service.5
|
|
|
|
MAN8= avahi-daemon.8 avahi-dnsconfd.8 avahi-dnsconfd.action.8
|
|
|
|
|
2005-11-19 18:38:17 +01:00
|
|
|
OPTIONS= GTK2 "Build a GTK+ 2 browser utility" off
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2005-11-19 20:43:36 +01:00
|
|
|
.if ${OSVERSION} < 500000
|
2005-11-19 20:49:12 +01:00
|
|
|
IGNORE= does not work on FreeBSD 4.X
|
2005-11-19 20:43:36 +01:00
|
|
|
.endif
|
|
|
|
|
2005-11-19 18:38:17 +01:00
|
|
|
.if defined(WITH_GTK2)
|
|
|
|
USE_GNOME+= libglade2
|
|
|
|
PLIST_SUB+= GTK=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-gtk
|
|
|
|
PLIST_SUB+= GTK="@comment "
|
|
|
|
.endif
|
|
|
|
|
2005-11-19 05:34:52 +01:00
|
|
|
post-install:
|
|
|
|
.if !defined(PACKAGE_BUILDING)
|
|
|
|
@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
|
|
|
.endif
|
|
|
|
|
2005-11-19 18:38:17 +01:00
|
|
|
.include <bsd.port.post.mk>
|