# New ports collection makefile for:	howl
# Date created:			21 July 2003
# Whom:				David Magda <dmagda+howl@ee.ryerson.ca>
# $FreeBSD: ports/net/howl/Makefile,v 1.34 2010/12/04 07:32:54 ade Exp $
#

PORTNAME=	howl
PORTVERSION=	1.0.0
PORTREVISION=	1
CATEGORIES?=	net devel
MASTER_SITES=	http://www.porchdogsoft.com/download/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Zeroconf/Bonjour(tm) implementation

CONFLICTS=	avahi-[0-9]*

USE_AUTOTOOLS=	libtool
USE_GMAKE=	yes
USE_GNOME=	gnometarget pkgconfig
USE_LDCONFIG=	yes
GNU_CONFIGURE=	yes

USE_RC_SUBR=	mdnsresponder

PLIST_SUB=	VERSION="${PORTVERSION}"

CPPFLAGS+=	${PTHREAD_CFLAGS}
LDFLAGS+=	${PTHREAD_LIBS}
CONFIGURE_ENV+=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${PTHREAD_LIBS}"

MAN8=		mDNSResponder.8

post-patch:
	@${REINPLACE_CMD} -e 's|-pthread||g' ${WRKSRC}/configure

.include <bsd.port.mk>
