freebsd-ports/devel/libevent/Makefile
Mark Felder e315d82646 devel/libevent: Fix QA warning
Need shebangfix for Python script, but we will consciously avoid adding
Python as a build or run dependency for a script that is unlikely to be
used.

PR:		224575
MFH:		2018Q1
2018-01-16 22:15:05 +00:00

36 lines
798 B
Makefile

# Created by: Martin Matuska <mm@FreeBSD.org>
# $FreeBSD$
PORTNAME= libevent
PORTVERSION= 2.1.8
PORTREVISION= 1
DISTVERSIONPREFIX= release-
DISTVERSIONSUFFIX= -stable
CATEGORIES= devel
MAINTAINER= mm@FreeBSD.org
COMMENT= API for executing callback functions on events or timeouts
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= autoreconf libtool pathfix python:2.7,env shebangfix
SHEBANG_FILES= event_rpcgen.py
USE_GITHUB= yes
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
TEST_TARGET= check
USE_LDCONFIG= yes
OPTIONS_DEFINE= OPENSSL THREADS
OPTIONS_DEFAULT= OPENSSL THREADS
OPTIONS_SUB= yes
OPENSSL_USES= ssl
OPENSSL_CPPFLAGS= -I${OPENSSLINC}
OPENSSL_LDFLAGS= -L${OPENSSLLIB}
OPENSSL_CONFIGURE_ENABLE= openssl
THREADS_CONFIGURE_ENABLE= thread-support
.include <bsd.port.mk>