Files
2026-05-06 13:22:05 +00:00

31 lines
664 B
Makefile

COMMENT = tiny embeddable httpd library written in C
DISTNAME = libmicrohttpd-1.0.5
CATEGORIES = www
SHARED_LIBS += microhttpd 0.7 # 74.3
HOMEPAGE = https://www.gnu.org/software/libmicrohttpd/
# LGPLv2.1+
PERMIT_PACKAGE = Yes
WANTLIB += brotlidec brotlienc gmp gnutls hogweed iconv idn2 intl
WANTLIB += nettle p11-kit pthread tasn1 unistring z zstd
SITES = ${SITE_GNU:=libmicrohttpd/}
DEBUG_PACKAGES = ${BUILD_PACKAGES}
CONFIGURE_STYLE = gnu
# Checks these during configure but used only in testing.
BUILD_DEPENDS = ${TEST_DEPENDS}
LIB_DEPENDS = security/gnutls
TEST_DEPENDS = misc/zzuf \
net/curl \
net/socat
.include <bsd.port.mk>