openbsd-ports/devel/libevent2/Makefile
naddy 530c7ea2c9 Import libevent 2.0.13.
Libevent is a library for writing fast portable nonblocking IO.

This port omits all the libevent1 compatibility parts so it does
not clash with libevent1 from base.  Applications will link with
-levent_core (-levent_extra) and pkg-config is set up this way.

Verified that none of our libevent1-using ports pick this up by
accident.
2011-09-23 08:50:12 +00:00

36 lines
852 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2011/09/23 08:50:12 naddy Exp $
COMMENT= event notification library
V= 2.0.13
DISTNAME= libevent-$V-stable
PKGNAME= libevent-$V
CATEGORIES= devel
HOMEPAGE= http://monkey.org/~provos/libevent/
SHARED_LIBS+= event_core 0.0 # 6.2
SHARED_LIBS+= event_extra 0.0 # 6.2
SHARED_LIBS+= event_openssl 0.0 # 6.2
SHARED_LIBS+= event_pthreads 0.0 # 6.2
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://monkey.org/~provos/
USE_LIBTOOL= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
MAKE_FLAGS= RELEASE=""
# Skip compatibility bits that conflict with libevent1
FAKE_FLAGS= LIBEVENT_LIBS_LA="libevent_core.la libevent_extra.la \
libevent_openssl.la libevent_pthreads.la" \
EVENT1_HDRS=""
.include <bsd.port.mk>