Changeset View
Changeset View
Standalone View
Standalone View
devel/erlang-exmpp/Makefile
Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Lines | |||||
OPTIONS_DEFINE= DOCS | OPTIONS_DEFINE= DOCS | ||||
DOCS_CONFIGURE_ENABLE= documentation | DOCS_CONFIGURE_ENABLE= documentation | ||||
MAKE_JOBS_UNSAFE= yes | MAKE_JOBS_UNSAFE= yes | ||||
.include <bsd.port.options.mk> | .include <bsd.port.options.mk> | ||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200085 && ${SSL_DEFAULT} == base | .if ${OPSYS} == FreeBSD && ${SSL_DEFAULT} == base | ||||
BROKEN= Does not support OpenSSL 1.1 | BROKEN= Does not support OpenSSL 1.1 | ||||
.endif | .endif | ||||
post-configure: | post-configure: | ||||
${REINPLACE_CMD} 's|\(-spec.*\)\/[0-9] ::\(.*\)|\1\2|g' ${WRKSRC}/src/network/*.erl | ${REINPLACE_CMD} 's|\(-spec.*\)\/[0-9] ::\(.*\)|\1\2|g' ${WRKSRC}/src/network/*.erl | ||||
${REINPLACE_CMD} 's|\(-spec.*\)\/[0-9] ::\(.*\)|\1\2|g' ${WRKSRC}/src/core/*.erl | ${REINPLACE_CMD} 's|\(-spec.*\)\/[0-9] ::\(.*\)|\1\2|g' ${WRKSRC}/src/core/*.erl | ||||
${MAKE_CMD} clean -C ${WRKSRC} | ${MAKE_CMD} clean -C ${WRKSRC} | ||||
post-install: | post-install: | ||||
.for _file in exmpp_xml_expat_legacy.so exmpp_compress_zlib.so \ | .for _file in exmpp_xml_expat_legacy.so exmpp_compress_zlib.so \ | ||||
exmpp_xml_expat.so exmpp_stringprep.so exmpp_xml_libxml2.so \ | exmpp_xml_expat.so exmpp_stringprep.so exmpp_xml_libxml2.so \ | ||||
exmpp_tls_openssl.so | exmpp_tls_openssl.so | ||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/priv/lib/${_file} | ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/priv/lib/${_file} | ||||
.endfor | .endfor | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |