blob: 9d473e0046bce77126c4dc8c9787d4d8fa8d4fd2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# ex:ts=8
# Ports collection makefile for: mDNSResponder
# Date created: Tues Mar 2, 2004
# Whom: Alfred Perlstein <alfred@freebsd.org>
#
# $FreeBSD$
#
PORTNAME= mDNSResponder
PORTVERSION= 98
CATEGORIES= net dns
MASTER_SITES= http://darwinsource.opendarwin.org/tarballs/apsl/
DISTNAME= ${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@freebsd.org
COMMENT= "Apple's mDNSResponder"
INSTALLS_SHLIB= YES
USE_GMAKE= YES
USE_REINPLACE= YES
MAKE_ARGS+= os=freebsd LOCALBASE=${PREFIX} MANPATH=${MANPREFIX}/man
BUILD_WRKSRC= ${WRKSRC}/mDNSPosix
INSTALL_WRKSRC= ${WRKSRC}/mDNSPosix
EXTRA_PROGS_BIN=mDNSClientPosix \
mDNSIdentify \
mDNSNetMonitor \
mDNSProxyResponderPosix \
mDNSResponderPosix
EXTRA_PROGS_SBIN=dnsextd
EXTRAMAN8= dnsextd.8 mDNSResponder.8
MAN8= mdnsd.8 ${EXTRAMAN8}
pre-build:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
${WRKSRC}/mDNSPosix/Makefile
post-install:
cd ${INSTALL_WRKSRC}/build/prod && \
${INSTALL_PROGRAM} ${EXTRA_PROGS_BIN} ${PREFIX}/bin && \
${INSTALL_PROGRAM} ${EXTRA_PROGS_SBIN} ${PREFIX}/sbin
. for section in 1 2 3 4 5 6 7 8
. for page in ${EXTRAMAN${section}}
${INSTALL_MAN} ${WRKSRC}/mDNSShared/${page} ${MAN${section}PREFIX}/man/man${page:E}/
. endfor
. endfor
.include <bsd.port.mk>
|