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

PORTNAME=	libasr
PORTVERSION=	201602131606
PORTREVISION=	3
CATEGORIES=	dns
MASTER_SITES=	http://www.opensmtpd.org/archives/
PKGNAMESUFFIX=	-devel

MAINTAINER=	fluffy@FreeBSD.org
COMMENT=	Asynchronous DNS resolver library (development snapshot)

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

USES=		cpe groff libtool

CONFLICTS=	libasr-[0-9]*

OPTIONS_DEFINE=	CA_BUNDLE
OPTIONS_DEFAULT=	CA_BUNDLE

CA_BUNDLE_DESC=	Use NSS CA bundle for SSL instead of /etc/ssl/cert.pem

CPE_VENDOR=	openbsd

GNU_CONFIGURE=	yes
USE_LDCONFIG=	yes
CONFIGURE_ARGS=	--with-mantype="man"
INSTALL_TARGET=	install-strip

CA_BUNDLE_CONFIGURE_WITH=	ca-file=${LOCALBASE}/share/certs/ca-root-nss.crt
CA_BUNDLE_RUN_DEPENDS=	${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss

post-patch:
	${REINPLACE_CMD} -e '/opensslv.h/d' ${WRKSRC}/openbsd-compat/includes.h

.include <bsd.port.mk>