summaryrefslogtreecommitdiff
path: root/dns/libasr/Makefile
blob: d4dbc76e63a529ffe00eb5e74e37da5d73e38b46 (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
# Created by: Ashish SHUKLA <ashish@FreeBSD.org>

PORTNAME=	libasr
PORTVERSION=	1.0.4
CATEGORIES=	dns
MASTER_SITES=	http://www.opensmtpd.org/archives/

MAINTAINER=	fluffy@FreeBSD.org
COMMENT=	Asynchronous DNS resolver library

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>