ports/net/libcares/Makefile

33 lines
593 B
Makefile
Raw Normal View History

2023-08-16 22:26:55 +00:00
COMMENT= asynchronous resolver library
2024-08-12 19:33:26 +00:00
V= 1.33.0
2023-08-16 22:26:55 +00:00
DISTNAME= c-ares-${V}
PKGNAME= libcares-${V}
CATEGORIES= net devel
2024-08-12 19:33:26 +00:00
SITES= https://github.com/c-ares/c-ares/releases/download/v${V}/
2023-08-16 22:26:55 +00:00
2024-08-12 19:33:26 +00:00
SHARED_LIBS += cares 4.2 # 2.18.0
2023-08-16 22:26:55 +00:00
2024-08-12 19:33:26 +00:00
HOMEPAGE= https://c-ares.org/
2023-08-16 22:26:55 +00:00
MAINTAINER= Brad Smith <brad@comstyle.com>
# MIT
PERMIT_PACKAGE= Yes
WANTLIB+= pthread
MODULES= devel/cmake
# C++
COMPILER= base-clang ports-gcc
BUILD_DEPENDS+= devel/gtest
CONFIGURE_ARGS+=-DCARES_BUILD_TESTS=ON \
-DCARES_BUILD_TOOLS=OFF \
-DCARES_STATIC=ON \
-DCARES_SYMBOL_HIDING=ON
2023-08-16 22:26:55 +00:00
.include <bsd.port.mk>