mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-18 08:02:48 +00:00
e59c88cece
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from GCC 5.4 to GCC 6.4 under most circumstances. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang, c++14-lang, c++0x, c11, or gcc-c++11-lib. PR: 219275
42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= spdylay
|
|
PORTVERSION= 1.4.0
|
|
PORTREVISION= 5
|
|
CATEGORIES= www net
|
|
MASTER_SITES= https://github.com/tatsuhiro-t/${PORTNAME}/releases/download/v${PORTVERSION}/ \
|
|
LOCAL/sunpoet
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= SPDY protocol version 2, 3 and 3.1 implementation in C
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
BROKEN_SSL= openssl-devel
|
|
BROKEN_powerpc64= does not link: undefined reference to 'std::ctype<char>::_M_widen_init()'
|
|
BROKEN_sparc64= does not build: fails to link
|
|
|
|
BUILD_DEPENDS= libevent>=2.0.8:devel/libevent
|
|
LIB_DEPENDS= libevent_openssl.so:devel/libevent
|
|
|
|
CONFIGURE_ARGS= --enable-examples \
|
|
--enable-src
|
|
CONFIGURE_ENV= OPENSSL_CFLAGS="-I${OPENSSLINC}" \
|
|
OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl"
|
|
GNU_CONFIGURE= yes
|
|
INSTALL_TARGET= install-strip
|
|
USE_CXXSTD= c++11
|
|
USE_GNOME= libxml2
|
|
USE_LDCONFIG= yes
|
|
USES= compiler:c++11-lang gnome libtool pathfix pkgconfig ssl tar:xz
|
|
|
|
PORTDOCS= *
|
|
|
|
post-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/examples/spdycli ${STAGEDIR}${PREFIX}/bin/
|
|
${INSTALL_DATA} ${WRKSRC}/shrpx.conf.sample ${STAGEDIR}${PREFIX}/etc/
|
|
|
|
.include <bsd.port.mk>
|