Files
ports/www/libmicrohttpd/Makefile
T
Hung-Yi Chen e7e0cd5d8f www/libmicrohttpd: Update to 0.9.75
- Correct license declaration.
- Remove libgcrypt dependency. Neither MHD nor GnuTLS needs it.
- Enforce configure to use libcurl if TESTCURL is enabled.

PR:		260777
Reported by:	Evgeny Grin (co-maintainer of GNU libmicrohttpd, via mail)
2022-01-11 03:15:47 +08:00

38 lines
774 B
Makefile

# Created by: David Barksdale <amatus@gnu.org>
PORTNAME= libmicrohttpd
DISTVERSION= 0.9.75
CATEGORIES= www
MASTER_SITES= GNU
MAINTAINER= gaod@hychen.org
COMMENT= C library for embedding HTTP server functionality
LICENSE= LGPL21+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= cpe libtool localbase pathfix
USE_LDCONFIG= yes
CPE_VENDOR= gnu
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
TEST_TARGET= check
CONFIGURE_ARGS= --disable-examples
OPTIONS_DEFINE= GNUTLS TESTCURL
OPTIONS_DEFAULT= GNUTLS
TESTCURL_DESC= Use curl when running unit tests
GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls
GNUTLS_CONFIGURE_ENABLE=https
TESTCURL_LIB_DEPENDS= libcurl.so:ftp/curl
TESTCURL_CONFIGURE_ENABLE= curl
INFO= libmicrohttpd libmicrohttpd-tutorial
.include <bsd.port.mk>