2003-08-11 00:29:22 +02:00
|
|
|
# New ports collection makefile for: howl
|
|
|
|
# Date created: 21 July 2003
|
|
|
|
# Whom: David Magda <dmagda+howl@ee.ryerson.ca>
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= howl
|
2005-07-03 08:24:36 +02:00
|
|
|
PORTVERSION= 1.0.0
|
2003-08-11 00:29:22 +02:00
|
|
|
CATEGORIES?= net devel
|
2004-01-16 18:12:57 +01:00
|
|
|
MASTER_SITES= http://www.porchdogsoft.com/download/
|
2003-08-11 00:29:22 +02:00
|
|
|
|
2005-01-30 05:03:36 +01:00
|
|
|
MAINTAINER= marcus@FreeBSD.org
|
2005-07-03 08:24:36 +02:00
|
|
|
COMMENT= Zeroconf/Bonjour(tm) implementation
|
2003-08-11 00:29:22 +02:00
|
|
|
|
|
|
|
USE_GMAKE= yes
|
2004-08-17 22:22:24 +02:00
|
|
|
USE_GNOME= gnometarget pkgconfig
|
2005-07-04 07:02:51 +02:00
|
|
|
USE_GETOPT_LONG=yes
|
2005-11-15 07:52:12 +01:00
|
|
|
USE_AUTOTOOLS= libtool:15
|
2005-01-30 05:03:36 +01:00
|
|
|
USE_RC_SUBR= yes
|
2005-01-24 21:10:58 +01:00
|
|
|
CPPFLAGS+= ${PTHREAD_CFLAGS}
|
2005-07-04 07:11:17 +02:00
|
|
|
LDFLAGS+= ${PTHREAD_LIBS}
|
2004-04-15 10:45:06 +02:00
|
|
|
USE_REINPLACE= yes
|
2003-11-18 18:41:27 +01:00
|
|
|
|
2004-05-31 14:15:55 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
2004-04-11 16:12:03 +02:00
|
|
|
MAN8= mDNSResponder.8
|
|
|
|
|
2003-11-18 18:41:27 +01:00
|
|
|
PLIST_SUB= VERSION="${PORTVERSION}"
|
2005-01-30 05:03:36 +01:00
|
|
|
RC_SCRIPTS_SUB= RC_SUBR=${RC_SUBR} PREFIX=${PREFIX}
|
2005-01-02 02:07:46 +01:00
|
|
|
|
2005-07-04 07:11:17 +02:00
|
|
|
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${PTHREAD_LIBS}"
|
2005-01-24 21:10:58 +01:00
|
|
|
|
2005-01-30 05:03:36 +01:00
|
|
|
post-extract:
|
|
|
|
@${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
|
|
|
|
${FILESDIR}/mdnsresponder.sh > ${WRKSRC}/mdnsresponder.sh
|
|
|
|
|
2004-04-15 10:45:06 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|-pthread||g' ${WRKSRC}/configure
|
|
|
|
|
2005-01-30 05:03:36 +01:00
|
|
|
post-install:
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/mdnsresponder.sh \
|
|
|
|
${PREFIX}/etc/rc.d/mdnsresponder.sh
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|