- Use INSTALL_TARGET=install-strip

- Do not silence installation message
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2014-08-30 15:36:12 +00:00
parent e95240f1c1
commit 5663f45e32
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=366636

View File

@ -22,6 +22,7 @@ CONFIGURE_ENV= OPENSSL_CFLAGS="-I${OPENSSLINC}" \
ZLIB_CFLAGS="-I${INCLUDEDIR}" \
ZLIB_LIBS="-L${LIBDIR} -lz"
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USE_CXXSTD= c++11
USE_GNOME= libxml2
USE_LDCONFIG= yes
@ -39,11 +40,8 @@ IGNORE= spdylay requires OpenSSL 1.0.1+
post-patch:
@${REINPLACE_CMD} -e 's|^Requires.private: zlib$$|Libs.private: -L${LIBDIR} -lz|' ${WRKSRC}/lib/libspdylay.pc.in
post-build:
@${STRIP_CMD} ${WRKSRC}/lib/.libs/libspdylay.so.7
post-install:
@${INSTALL_SCRIPT} ${WRKSRC}/examples/spdycli ${STAGEDIR}${PREFIX}/bin/
@${INSTALL_DATA} ${WRKSRC}/shrpx.conf.sample ${STAGEDIR}${PREFIX}/etc/
${INSTALL_SCRIPT} ${WRKSRC}/examples/spdycli ${STAGEDIR}${PREFIX}/bin/
${INSTALL_DATA} ${WRKSRC}/shrpx.conf.sample ${STAGEDIR}${PREFIX}/etc/
.include <bsd.port.post.mk>