summaryrefslogtreecommitdiff
path: root/net/trantor/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/trantor/Makefile')
-rw-r--r--net/trantor/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/net/trantor/Makefile b/net/trantor/Makefile
new file mode 100644
index 000000000000..12806dadef60
--- /dev/null
+++ b/net/trantor/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= trantor
+DISTVERSIONPREFIX= v
+DISTVERSION= 1.5.24
+CATEGORIES= net
+
+MAINTAINER= zi@FreeBSD.org
+COMMENT= Non-blocking I/O tcp network lib based on c++14/17
+WWW= https://github.com/an-tao/trantor
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/License
+
+USES= cmake ssl
+USE_LDCONFIG= yes
+USE_GITHUB= yes
+GH_ACCOUNT= an-tao
+
+CMAKE_ARGS= -DTRANTOR_USE_TLS=openssl
+CMAKE_OFF= C-ARES
+CMAKE_ON= BUILD_SHARED_LIBS
+
+PLIST_SUB= PORTVERSION=${PORTVERSION}
+
+.include <bsd.port.mk>