b25dc0767d
* Add an rcNG script for starting mDNSResponder * Assume maintainership Approved by: Paul Dlug <paul@aps.org> (previous maintainer)
42 lines
1,003 B
Makefile
42 lines
1,003 B
Makefile
# New ports collection makefile for: howl
|
|
# Date created: 21 July 2003
|
|
# Whom: David Magda <dmagda+howl@ee.ryerson.ca>
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= howl
|
|
PORTVERSION= 0.9.10
|
|
CATEGORIES?= net devel
|
|
MASTER_SITES= http://www.porchdogsoft.com/download/
|
|
|
|
MAINTAINER= marcus@FreeBSD.org
|
|
COMMENT= Zeroconf/Rendezvous implementation
|
|
|
|
USE_GMAKE= yes
|
|
USE_GNOME= gnometarget pkgconfig
|
|
USE_LIBTOOL_VER=15
|
|
USE_RC_SUBR= yes
|
|
CONFIGURE_ENV= LDFLAGS="${PTHREAD_LIBS}"
|
|
CPPFLAGS+= ${PTHREAD_CFLAGS}
|
|
USE_REINPLACE= yes
|
|
|
|
INSTALLS_SHLIB= yes
|
|
MAN8= mDNSResponder.8
|
|
|
|
PLIST_SUB= VERSION="${PORTVERSION}"
|
|
RC_SCRIPTS_SUB= RC_SUBR=${RC_SUBR} PREFIX=${PREFIX}
|
|
|
|
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
|
|
|
|
post-extract:
|
|
@${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
|
|
${FILESDIR}/mdnsresponder.sh > ${WRKSRC}/mdnsresponder.sh
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|-pthread||g' ${WRKSRC}/configure
|
|
|
|
post-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/mdnsresponder.sh \
|
|
${PREFIX}/etc/rc.d/mdnsresponder.sh
|
|
|
|
.include <bsd.port.mk>
|