View | Details | Raw Unified | Return to bug 223710
Collapse All | Expand All

(-)b/dns/getdns/Makefile (-2 / +9 lines)
Lines 3-12 Link Here
3
3
4
PORTNAME=	getdns
4
PORTNAME=	getdns
5
PORTVERSION=	1.2.1
5
PORTVERSION=	1.2.1
6
PORTREVISION=	1
6
CATEGORIES=	dns ipv6
7
CATEGORIES=	dns ipv6
7
MASTER_SITES=	https://getdnsapi.net/dist/ \
8
MASTER_SITES=	https://getdnsapi.net/dist/ \
8
		ZI \
9
		ZI \
9
		http://getdnsapi.net/dist/ \
10
		http://getdnsapi.net/dist/
10
11
11
MAINTAINER=	zi@FreeBSD.org
12
MAINTAINER=	zi@FreeBSD.org
12
COMMENT=	Modern asynchronous DNS API
13
COMMENT=	Modern asynchronous DNS API
Lines 32-42 PLIST_SUB+= SOVERSION="${SOVERSION}" SOMAJVER="${SOMAJVER}" Link Here
32
SUB_FILES+=	pkg-message
33
SUB_FILES+=	pkg-message
33
34
34
OPTIONS_SUB=	yes
35
OPTIONS_SUB=	yes
35
OPTIONS_DEFINE=	DOCS LIBEV LIBEVENT LIBUV
36
OPTIONS_DEFINE=	DOCS LIBEV LIBEVENT LIBUV STUBBY
36
37
37
LIBEV_DESC=	Build with libev extension
38
LIBEV_DESC=	Build with libev extension
38
LIBEVENT_DESC=	Build with libevent extension
39
LIBEVENT_DESC=	Build with libevent extension
39
LIBUV_DESC=	Build with libuv extension
40
LIBUV_DESC=	Build with libuv extension
41
STUBBY_DESC=	Build with Stubby DNS/TLS resolver
40
42
41
LIBEV_LIB_DEPENDS=	libev.so:devel/libev
43
LIBEV_LIB_DEPENDS=	libev.so:devel/libev
42
LIBEV_CONFIGURE_WITH=	libev
44
LIBEV_CONFIGURE_WITH=	libev
Lines 44-49 LIBEVENT_LIB_DEPENDS= libevent_core.so:devel/libevent Link Here
44
LIBEVENT_CONFIGURE_WITH=libevent
46
LIBEVENT_CONFIGURE_WITH=libevent
45
LIBUV_LIB_DEPENDS=	libuv.so:devel/libuv
47
LIBUV_LIB_DEPENDS=	libuv.so:devel/libuv
46
LIBUV_CONFIGURE_WITH=	libuv
48
LIBUV_CONFIGURE_WITH=	libuv
49
STUBBY_LIB_DEPENDS=	libyaml.so:textproc/libyaml
50
STUBBY_CONFIGURE_WITH=	stubby
47
51
48
post-patch:
52
post-patch:
49
	${REINPLACE_CMD} -Ee 's,^(sharedoc = ).*,\1${WRKDIR}/doc,' \
53
	${REINPLACE_CMD} -Ee 's,^(sharedoc = ).*,\1${WRKDIR}/doc,' \
Lines 53-56 post-install: Link Here
53
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgetdns*.so.*
57
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgetdns*.so.*
54
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/getdns_query
58
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/getdns_query
55
59
60
post-install-STUBBY-on:
61
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/stubby
62
56
.include <bsd.port.mk>
63
.include <bsd.port.mk>
(-)b/dns/getdns/pkg-plist (+1 lines)
Lines 1-4 Link Here
1
bin/getdns_query
1
bin/getdns_query
2
%%STUBBY%%bin/stubby
2
include/getdns/getdns.h
3
include/getdns/getdns.h
3
include/getdns/getdns_extra.h
4
include/getdns/getdns_extra.h
4
%%LIBEV%%include/getdns/getdns_ext_libev.h
5
%%LIBEV%%include/getdns/getdns_ext_libev.h

Return to bug 223710