Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Dec 2016 18:42:12 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r429563 - head/www/nghttp2
Message-ID:  <201612261842.uBQIgCfI048290@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Mon Dec 26 18:42:12 2016
New Revision: 429563
URL: https://svnweb.freebsd.org/changeset/ports/429563

Log:
  - Fix EXAMPLES option
  - Remove superfluous space
  - Bump PORTREVISION for dependency and package change

Modified:
  head/www/nghttp2/Makefile

Modified: head/www/nghttp2/Makefile
==============================================================================
--- head/www/nghttp2/Makefile	Mon Dec 26 18:28:45 2016	(r429562)
+++ head/www/nghttp2/Makefile	Mon Dec 26 18:42:12 2016	(r429563)
@@ -4,7 +4,7 @@
 PORTNAME=	nghttp2
 PORTVERSION=	1.17.0
 DISTVERSIONPREFIX=	v
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	www net
 
 MAINTAINER=	sunpoet@FreeBSD.org
@@ -52,6 +52,8 @@ ASIO_CONFIGURE_ON=	--enable-asio-lib --w
 ASIO_LIB_DEPENDS=	libboost_thread.so:devel/boost-libs
 ASIO_RUN_DEPENDS=	boost-libs>=1.54.0:devel/boost-libs
 EXAMPLES_CONFIGURE_ENABLE=	examples
+EXAMPLES_BUILD_DEPENDS=	libevent2>=2.0.8:devel/libevent2
+EXAMPLES_LIB_DEPENDS=	libevent_openssl.so:devel/libevent2
 HPACK_BUILD_DEPENDS=	jansson>=2.5:devel/jansson
 HPACK_CONFIGURE_ENABLE=	hpack-tools
 HPACK_LIB_DEPENDS=	libjansson.so:devel/jansson
@@ -88,9 +90,9 @@ post-install:
 	${MKDIR} ${STAGEDIR}${PREFIX}/etc/nghttpx/
 	${INSTALL_DATA} ${FILESDIR}/nghttpx.conf.sample ${STAGEDIR}${PREFIX}/etc/nghttpx/nghttpx.conf.sample
 
-post-install-examples-on:
+post-install-EXAMPLES-on:
 	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
-	${INSTALL_DATA} ${WRKSRC}/examples/*.c*  ${STAGEDIR}${EXAMPLESDIR}/
-	${INSTALL_PROGRAM} ${WRKSRC}/examples/.libs/*  ${STAGEDIR}${EXAMPLESDIR}/
+	${INSTALL_DATA} ${WRKSRC}/examples/*.c* ${STAGEDIR}${EXAMPLESDIR}/
+	cd ${WRKSRC}/examples/ && ${INSTALL_PROGRAM} client deflate libevent-client libevent-server ${STAGEDIR}${EXAMPLESDIR}/
 
 .include <bsd.port.post.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612261842.uBQIgCfI048290>