blob: 165104ba93d70c7b01453576e32f50c1545f77d2 (
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
|
# Created by: Pete Fritchman <petef@databits.net>
# $FreeBSD$
PORTNAME= libevent
PORTVERSION= 1.4.14b
PORTREVISION?= 2
CATEGORIES= devel
MASTER_SITES= http://monkey.org/~provos/
DISTNAME= ${PORTNAME}-${DISTVERSION}-stable
MAINTAINER= mm@FreeBSD.org
COMMENT?= Provides an API to execute callback functions on certain events
LICENSE= BSD
GNU_CONFIGURE= yes
.if !defined(_BUILDING_LIBEVENT_HIPHOP)
USE_LDCONFIG= yes
MAN3= event.3 \
evdns.3
MLINKS= event.3 event_init.3 \
- event_dispatch.3 \
- event_loop.3 \
- event_loopexit.3 \
- event_set.3 \
- event_base_dispatch.3 \
- event_base_loop.3 \
- event_base_loopexit.3 \
- event_base_set.3 \
- event_add.3 \
- event_del.3 \
- event_once.3 \
- event_pending.3 \
- event_initialized.3 \
- event_priority_init.3 \
- event_priority_set.3 \
- evtimer_set.3 \
- evtimer_add.3 \
- evtimer_del.3 \
- evtimer_pending.3 \
- evtimer_initialized.3 \
- signal_set.3 \
- signal_add.3 \
- signal_del.3 \
- signal_pending.3 \
- signal_initialized.3 \
- bufferevent_new.3 \
- bufferevent_free.3 \
- bufferevent_write.3 \
- bufferevent_write_buffer.3 \
- bufferevent_read.3 \
- bufferevent_enable.3 \
- bufferevent_disable.3 \
- bufferevent_settimeout.3 \
- bufferevent_base_set.3 \
- evbuffer_new.3 \
- evbuffer_free.3 \
- evbuffer_add.3 \
- evbuffer_add_buffer.3 \
- evbuffer_add_printf.3 \
- evbuffer_add_vprintf.3 \
- evbuffer_drain.3 \
- evbuffer_write.3 \
- evbuffer_read.3 \
- evbuffer_find.3 \
- evbuffer_readline.3 \
- evhttp_start.3 \
- evhttp_free.3 \
evdns.3 evdns_init.3 \
- evdns_shutdown.3 \
- evdns_err_to_string.3 \
- evdns_nameserver_add.3 \
- evdns_count_nameservers.3 \
- evdns_clear_nameservers_and_suspend.3 \
- evdns_resume.3 \
- evdns_nameserver_ip_add.3 \
- evdns_resolve_ipv4.3 \
- evdns_resolve_reverse.3 \
- evdns_resolv_conf_parse.3 \
- evdns_search_clear.3 \
- evdns_search_add.3 \
- evdns_search_ndots_set.3 \
- evdns_set_log_fn.3 \
- evdns_config_windows_nameservers.3
.endif
NO_STAGE= yes
pre-configure:
@${MKDIR} ${WRKSRC}/m4
post-patch:
@${REINPLACE_CMD} -e 's,CFLAGS =,CFLAGS +=,' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e '/LIBS/s/-lrt//g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|<stdint.h>|<inttypes.h>|' \
${WRKSRC}/epoll.c ${WRKSRC}/epoll_sub.c ${WRKSRC}/evdns.c
regression-test: build
@(${SH} ${WRKSRC}/test/regress)
.include <bsd.port.mk>
|