blob: 8efbafb67a65db6f7354c5f3bcfca8e878003470 (
plain)
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
|
PORTNAME= nss_mdns
PORTVERSION= 0.14.1.20200624
CATEGORIES= dns
MAINTAINER= ashish@FreeBSD.org
COMMENT= NSS module implementing multicast DNS name resolution
WWW= https://github.com/lathiat/nss-mdns
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libavahi-client.so:net/avahi-app
USES= autoreconf gmake libtool pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= lathiat
GH_PROJECT= nss-mdns
GH_TAGNAME= 99c2f1c
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=/var \
--sysconfdir=/etc
INSTALL_TARGET= install-strip
CONFLICTS_INSTALL= mDNSResponder_nss
# TODO: Print a message about the etc directory used for mdns.allow
# being relative to ${PREFIX}.
PLIST_FILES= ${INSTALLED_MODULES:C/^/lib\//:C/$/.so.1/} \
${INSTALLED_MODULES:C/^/lib\//:C/$/.so/}
PORTDOCS= README.md
OPTIONS_DEFINE= DOCS
INSTALLED_MODULES= nss_mdns nss_mdns_minimal \
nss_mdns4 nss_mdns4_minimal \
nss_mdns6 nss_mdns6_minimal
post-install:
.for INSTALLED_MODULE in ${INSTALLED_MODULES}
${LN} -s ${INSTALLED_MODULE}.so.1 ${STAGEDIR}${PREFIX}/lib/${INSTALLED_MODULE}.so
.endfor
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}/
${INSTALL_DATA} ${INSTALL_WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|