svn commit: r429563 - head/www/nghttp2
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Mon Dec 26 18:42:13 UTC 2016
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 at 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>
More information about the svn-ports-all
mailing list