Changeset View
Changeset View
Standalone View
Standalone View
www/spdylay/Makefile
Show All 31 Lines | |||||
USE_LDCONFIG= yes | USE_LDCONFIG= yes | ||||
USE_OPENSSL= yes | USE_OPENSSL= yes | ||||
USES= compiler:c++11-lang libtool pathfix pkgconfig tar:xz | USES= compiler:c++11-lang libtool pathfix pkgconfig tar:xz | ||||
PORTDOCS= * | PORTDOCS= * | ||||
.include <bsd.port.pre.mk> | .include <bsd.port.pre.mk> | ||||
.if ${OSVERSION} < 1000000 && !defined(WITH_OPENSSL_PORT) | .if ${OSVERSION} < 1000000 && ${SSL_DEFAULT} == base | ||||
IGNORE= spdylay requires OpenSSL 1.0.1+ | IGNORE= spdylay requires OpenSSL 1.0.1+ | ||||
.endif | .endif | ||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} -e 's|^Requires.private: zlib$$|Libs.private: -L${LIBDIR} -lz|' ${WRKSRC}/lib/libspdylay.pc.in | @${REINPLACE_CMD} -e 's|^Requires.private: zlib$$|Libs.private: -L${LIBDIR} -lz|' ${WRKSRC}/lib/libspdylay.pc.in | ||||
post-install: | post-install: | ||||
${INSTALL_SCRIPT} ${WRKSRC}/examples/spdycli ${STAGEDIR}${PREFIX}/bin/ | ${INSTALL_SCRIPT} ${WRKSRC}/examples/spdycli ${STAGEDIR}${PREFIX}/bin/ | ||||
${INSTALL_DATA} ${WRKSRC}/shrpx.conf.sample ${STAGEDIR}${PREFIX}/etc/ | ${INSTALL_DATA} ${WRKSRC}/shrpx.conf.sample ${STAGEDIR}${PREFIX}/etc/ | ||||
.include <bsd.port.post.mk> | .include <bsd.port.post.mk> |