summaryrefslogtreecommitdiff
path: root/dns/libasr/Makefile
blob: 0dc93a2e4fb75978b4ab7002978ad846d14779f8 (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
PORTNAME=	libasr
PORTVERSION=	1.0.4
CATEGORIES=	dns
MASTER_SITES=	http://www.opensmtpd.org/archives/

MAINTAINER=	fluffy@FreeBSD.org
COMMENT=	Asynchronous DNS resolver library
WWW=		https://github.com/OpenSMTPD/libasr

LICENSE=	ISCL BSD4CLAUSE BSD3CLAUSE BSD2CLAUSE
LICENSE_COMB=	multi
LICENSE_FILE=	${WRKSRC}/LICENCE

USES=		cpe groff libtool

CONFLICTS=	libasr-devel

CPE_VENDOR=	openbsd

GNU_CONFIGURE=	yes
USE_LDCONFIG=	yes
CONFIGURE_ARGS=	--with-mantype="man"

post-patch:
#	Obsoleted on RFC 2553bis-02
	${REINPLACE_CMD} 's|EAI_NODATA|EAI_NONAME|g' \
		 ${WRKSRC}/src/getaddrinfo_async.c

.include <bsd.port.mk>