2001-06-23 15:56:03 +00:00
|
|
|
# New ports collection makefile for: libevent
|
|
|
|
# Date created: 20 June 2001
|
|
|
|
# Whom: Pete Fritchman <petef@databits.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= libevent
|
2010-07-25 15:39:20 +00:00
|
|
|
PORTVERSION= 1.4.14b
|
2001-06-23 15:56:03 +00:00
|
|
|
CATEGORIES= devel
|
2002-10-21 16:37:40 +00:00
|
|
|
MASTER_SITES= http://monkey.org/~provos/
|
2008-08-19 16:39:25 +00:00
|
|
|
DISTNAME= ${PORTNAME}-${DISTVERSION}-stable
|
2001-06-23 15:56:03 +00:00
|
|
|
|
2010-08-03 01:08:14 +00:00
|
|
|
MAINTAINER= mm@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= Provides an API to execute callback functions on certain events
|
2001-06-23 15:56:03 +00:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2006-08-14 22:55:18 +00:00
|
|
|
USE_LDCONFIG= yes
|
2001-06-23 15:56:03 +00:00
|
|
|
|
2006-11-06 04:04:07 +00:00
|
|
|
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
|
2001-06-23 15:56:03 +00:00
|
|
|
|
2004-04-19 16:43:34 +00:00
|
|
|
post-patch:
|
2004-12-29 20:43:25 +00:00
|
|
|
@${REINPLACE_CMD} -e 's,CFLAGS =,CFLAGS +=,' ${WRKSRC}/Makefile.in
|
2006-11-29 17:13:24 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|<stdint.h>|<inttypes.h>|' \
|
|
|
|
${WRKSRC}/epoll.c ${WRKSRC}/epoll_sub.c ${WRKSRC}/evdns.c
|
2001-06-23 15:56:03 +00:00
|
|
|
|
2008-09-07 14:47:43 +00:00
|
|
|
regression-test: build
|
|
|
|
@(${SH} ${WRKSRC}/test/regress)
|
|
|
|
|
2006-11-29 17:13:24 +00:00
|
|
|
.include <bsd.port.mk>
|