Files
Joshua Root e75b2782c1 net/*: set github.tarball_from explicitly
In preparation for changing the default.
2025-01-27 01:32:42 +11:00

35 lines
1.3 KiB
Tcl

# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup github 1.0
github.setup edenhill kcat 1.7.1
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
categories net
license BSD
maintainers {gmail.com:alexey.trenikhin+macports @alexeyt820} \
openmaintainer
description Generic command line non-JVM Apache Kafka producer and consumer
long_description Generic non-JVM producer and consumer for Apache Kafka >=0.8, think of it as a netcat for Kafka.
checksums sha256 3a7943b028d94884ba95890fadd50f1e09326f66473ce9c99289fabf40385255 \
rmd160 9a964e418c945c03215ebee1f891aabf135e1808 \
size 142743
configure.args --enable-json
depends_lib port:yajl \
port:librdkafka
# configure fails with gcc-4.2
compiler.blacklist-append \
*gcc-4.*
# https://github.com/edenhill/kcat/issues/448
if {[string match *gcc* ${configure.compiler}] \
&& ${configure.build_arch} in [list arm i386 ppc]} {
configure.ldflags-append \
-latomic
}