ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/mports/trunk/www/nghttp2/Makefile
Revision: 23545
Committed: Sat May 12 20:57:21 2018 UTC (6 years ago) by laffer1
Content type: text/plain
File size: 2096 byte(s)
Log Message:
fix ssl

File Contents

# Content
1 # Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
2 # $FreeBSD: head/www/nghttp2/Makefile 394075 2015-08-13 17:31:14Z sunpoet $
3 # $MidnightBSD$
4
5 PORTNAME= nghttp2
6 PORTVERSION= 1.8.0
7 PORTREVISION= 2
8 CATEGORIES= www net
9 MASTER_SITES= https://github.com/tatsuhiro-t/${PORTNAME}/releases/download/v${PORTVERSION}/ \
10 FREEBSD_LOCAL/sunpoet
11
12 MAINTAINER= ports@MidnightBSD.org
13 COMMENT= HTTP/2.0 C Library
14
15 LICENSE= mit
16
17 BUILD_DEPENDS= libev>=4.15:${PORTSDIR}/devel/libev \
18 libevent>=2.0.8:${PORTSDIR}/devel/libevent \
19 spdylay>=1.3.0:${PORTSDIR}/www/spdylay
20 LIB_DEPENDS= libev.so:${PORTSDIR}/devel/libev \
21 libevent_openssl.so:${PORTSDIR}/devel/libevent \
22 libspdylay.so:${PORTSDIR}/www/spdylay
23 RUN_DEPENDS:= ${BUILD_DEPENDS}
24
25 OPTIONS_DEFINE= ASIO DOCS HPACK
26 OPTIONS_DEFAULT=HPACK
27 OPTIONS_SUB= yes
28
29 CONFIGURE_ARGS= --disable-python-bindings \
30 --enable-app \
31 --enable-examples \
32 --with-spdylay
33 CONFIGURE_ENV= LIBEV_CFLAGS="-I${LOCALBASE}/include" \
34 LIBEV_LIBS="-L${LOCALBASE}/lib -lev" \
35 OPENSSL_CFLAGS="-I${OPENSSLINC}" \
36 OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl" \
37 ZLIB_CFLAGS="-I${INCLUDEDIR}" \
38 ZLIB_LIBS="-L${LIBDIR} -lz"
39 CPPFLAGS+= -I${LOCALBASE}/include
40 GNU_CONFIGURE= yes
41 INSTALL_TARGET= install-strip
42 LIBS+= -L${LOCALBASE}/lib -lev
43 PATHFIX_MAKEFILEIN= Makefile.am
44 USE_CXXSTD= c++11
45 USE_GNOME= libxml2
46 USE_LDCONFIG= yes
47 USES= autoreconf compiler:c++11-lib gmake libtool pathfix pkgconfig tar:xz ssl
48
49 PORTDATA= fetch-ocsp-response
50 PORTDOCS= *
51
52 ASIO_BUILD_DEPENDS= boost-libs>=1.54.0:${PORTSDIR}/devel/boost-libs
53 ASIO_CONFIGURE_OFF= --with-boost=no
54 ASIO_CONFIGURE_ON= --enable-asio-lib --with-boost=${LOCALBASE} --with-boost-asio --with-boost-system --with-boost-thread
55 ASIO_LIB_DEPENDS= libboost_thread.so:${PORTSDIR}/devel/boost-libs
56 ASIO_RUN_DEPENDS= boost-libs>=1.54.0:${PORTSDIR}/devel/boost-libs
57 HPACK_CONFIGURE_ENABLE= hpack-tools
58 HPACK_LIB_DEPENDS= libjansson.so:${PORTSDIR}/devel/jansson
59 HPACK_BUILD_DEPENDS= ${LOCALBASE}/lib/libjansson.so:${PORTSDIR}/devel/jansson
60
61 .include <bsd.port.pre.mk>
62
63 CPPFLAGS+= -D_GLIBCXX_USE_C99
64
65 .include <bsd.port.post.mk>

Properties

Name Value
svn:eol-style native
svn:keywords MidnightBSD=%H
svn:mime-type text/plain