summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Scholl <maintainer.freebsd@xpoundit.com>2021-06-01 22:18:26 -0400
committerGuangyuan Yang <ygy@FreeBSD.org>2021-06-01 22:18:26 -0400
commitf1e718499cb309115b622453026bbacc4af60d73 (patch)
tree626f81ec40911436a2b54b7bfb63165c6a3ffe44
parentmail/phplist: Update to 3.6.3 (diff)
www/civetweb: New port: Embedded C/C++ web server
PR: 255974 Approved by: lwhsu (mentor)
-rw-r--r--www/Makefile1
-rw-r--r--www/civetweb/Makefile21
-rw-r--r--www/civetweb/distinfo3
-rw-r--r--www/civetweb/pkg-descr3
-rw-r--r--www/civetweb/pkg-plist11
5 files changed, 39 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index dd4783cc6c6b..db02f8e78f5a 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -78,6 +78,7 @@
SUBDIR += chpasswd
SUBDIR += chrome-gnome-shell
SUBDIR += chromium
+ SUBDIR += civetweb
SUBDIR += ckeditor
SUBDIR += cl-lml
SUBDIR += cl-lml-sbcl
diff --git a/www/civetweb/Makefile b/www/civetweb/Makefile
new file mode 100644
index 000000000000..b011c9c4e494
--- /dev/null
+++ b/www/civetweb/Makefile
@@ -0,0 +1,21 @@
+# Created by: maintainer.freebsd@xpoundit.com
+
+PORTNAME= civetweb
+DISTVERSIONPREFIX= v
+DISTVERSION= 1.14
+CATEGORIES= www
+
+MAINTAINER= maintainer.freebsd@xpoundit.com
+COMMENT= Embedded C/C++ web server
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.md
+
+USES= cmake
+USE_GITHUB= yes
+USE_LDCONFIG= yes
+
+CMAKE_OFF= CIVETWEB_BUILD_TESTING
+CMAKE_ON= BUILD_SHARED_LIBS CIVETWEB_ENABLE_IPV6 CIVETWEB_ENABLE_SSL
+
+.include <bsd.port.mk>
diff --git a/www/civetweb/distinfo b/www/civetweb/distinfo
new file mode 100644
index 000000000000..96ea15e1a95d
--- /dev/null
+++ b/www/civetweb/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1620823043
+SHA256 (civetweb-civetweb-v1.14_GH0.tar.gz) = d02d7ab091c8b4edf21fc13a03c6db08a8a8b8605e35e0073251b9d88443c653
+SIZE (civetweb-civetweb-v1.14_GH0.tar.gz) = 12116842
diff --git a/www/civetweb/pkg-descr b/www/civetweb/pkg-descr
new file mode 100644
index 000000000000..e2c4fca9e0c5
--- /dev/null
+++ b/www/civetweb/pkg-descr
@@ -0,0 +1,3 @@
+Embedded C/C++ web server
+
+WWW: https://github.com/civetweb/civetweb
diff --git a/www/civetweb/pkg-plist b/www/civetweb/pkg-plist
new file mode 100644
index 000000000000..29cac23fe22a
--- /dev/null
+++ b/www/civetweb/pkg-plist
@@ -0,0 +1,11 @@
+bin/civetweb
+include/civetweb.h
+lib/cmake/civetweb/FindLibDl.cmake
+lib/cmake/civetweb/FindLibRt.cmake
+lib/cmake/civetweb/FindWinSock.cmake
+lib/cmake/civetweb/civetweb-config-version.cmake
+lib/cmake/civetweb/civetweb-config.cmake
+lib/cmake/civetweb/civetweb-targets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/civetweb/civetweb-targets.cmake
+lib/libcivetweb.so
+lib/libcivetweb.so.1.14.0