diff options
Diffstat (limited to 'net/mDNSResponder/Makefile')
-rw-r--r-- | net/mDNSResponder/Makefile | 44 |
1 files changed, 36 insertions, 8 deletions
diff --git a/net/mDNSResponder/Makefile b/net/mDNSResponder/Makefile index 5be7cb250aa..2ddc1a36909 100644 --- a/net/mDNSResponder/Makefile +++ b/net/mDNSResponder/Makefile @@ -1,23 +1,51 @@ -# $NetBSD: Makefile,v 1.2 2005/05/22 20:08:25 jlam Exp $ +# $NetBSD: Makefile,v 1.3 2005/05/26 12:50:24 markd Exp $ -DISTNAME= mDNSResponder-62 +DISTNAME= mDNSResponder-107.1 CATEGORIES= net MASTER_SITES= http://darwinsource.opendarwin.org/tarballs/apsl/ MAINTAINER= tech-pkg@NetBSD.org -HOMEPAGE= http://developer.apple.com/darwin/projects/rendezvous/ -COMMENT= Apple's mDNS repsonder +HOMEPAGE= http://developer.apple.com/darwin/projects/bonjour/ +COMMENT= Apple's mDNS responder USE_TOOLS= gmake -MAKE_ARGS+= os=netbsd WRKSRC= ${WRKDIR}/${DISTNAME}/mDNSPosix +BUILDDIR= ${WRKSRC}/build/prod -BINARY= mDNSClientPosix mDNSIdentify mDNSNetMonitor mDNSProxyResponderPosix \ - mDNSResponderPosix mdnsd +.include "../../mk/bsd.prefs.mk" + +SO_SUFFIX= so +.if ${OPSYS} == "NetBSD" +MAKE_ENV+= os=netbsd +.elif ${OPSYS} == "FreeBSD" +MAKE_ENV+= os=freebsd +.elif ${OPSYS} == "OpenBSD" +MAKE_ENV+= os=openbsd +.elif ${OPSYS} == "SunOS" +MAKE_ENV+= os=solaris +.elif ${OPSYS} == "Linux" +MAKE_ENV+= os=linux +.elif ${OPSYS} == "Darwin" +MAKE_ENV+= os=jaguar +SO_SUFFIX= dylib +.else +MAKE_ENV+= os=netbsd +.endif +PLIST_SUBST+= SO_SUFFIX=${SO_SUFFIX} + +BINARY= mDNSClientPosix mDNSIdentify mDNSNetMonitor \ + mDNSProxyResponderPosix mDNSResponderPosix +SBINARY= mdnsd dnsextd do-install: for i in ${BINARY}; do \ - ${INSTALL_PROGRAM} ${WRKSRC}/build/prod/$$i ${PREFIX}/bin; \ + ${INSTALL_PROGRAM} ${BUILDDIR}/$$i ${PREFIX}/bin; \ + done + for i in ${SBINARY}; do \ + ${INSTALL_PROGRAM} ${BUILDDIR}/$$i ${PREFIX}/sbin; \ done + ${INSTALL_DATA} ${WRKSRC}/../mDNSShared/dns_sd.h ${PREFIX}/include + ${INSTALL_LIB} ${BUILDDIR}/libdns_sd.${SO_SUFFIX} ${PREFIX}/lib +.include "../../mk/pthread.buildlink3.mk" .include "../../mk/bsd.pkg.mk" |