git: 76aee1b05b96 - main - www/darkhttpd: Add new port
Date: Wed, 02 Mar 2022 09:23:16 UTC
The branch main has been updated by fernape:
URL: https://cgit.FreeBSD.org/ports/commit/?id=76aee1b05b961872993f4a1967e3fbc748ff9a63
commit 76aee1b05b961872993f4a1967e3fbc748ff9a63
Author: Henrich Hartzer <henrichhartzer@tuta.io>
AuthorDate: 2022-03-01 13:15:29 +0000
Commit: Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2022-03-02 09:20:31 +0000
www/darkhttpd: Add new port
Simple static http web server.
When you need a web server in a hurry.
PR: 262234
Reported by: henrichhartzer@tuta.io
Reviewed by: diizzy@
---
www/Makefile | 1 +
www/darkhttpd/Makefile | 21 +++++++++++++++++++++
www/darkhttpd/distinfo | 3 +++
www/darkhttpd/pkg-descr | 3 +++
4 files changed, 28 insertions(+)
diff --git a/www/Makefile b/www/Makefile
index c88826e2c74f..b8c639aa36b4 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -96,6 +96,7 @@
SUBDIR += csstidy
SUBDIR += ctemplate
SUBDIR += cutelyst
+ SUBDIR += darkhttpd
SUBDIR += davical
SUBDIR += davix
SUBDIR += dddbl
diff --git a/www/darkhttpd/Makefile b/www/darkhttpd/Makefile
new file mode 100644
index 000000000000..8f71a91792aa
--- /dev/null
+++ b/www/darkhttpd/Makefile
@@ -0,0 +1,21 @@
+PORTNAME= darkhttpd
+DISTVERSION= 1.13
+DISTVERSIONPREFIX= v
+CATEGORIES= www
+
+MAINTAINER= henrichartzer@tuta.io
+COMMENT= Simple, static web server
+
+LICENSE= ISCL
+
+USE_GITHUB= yes
+GH_ACCOUNT= emikulic
+
+NO_INSTALL= yes
+
+PLIST_FILES= bin/darkhttpd
+
+do-install:
+ ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} ${STAGEDIR}${LOCALBASE}/bin
+
+.include <bsd.port.mk>
diff --git a/www/darkhttpd/distinfo b/www/darkhttpd/distinfo
new file mode 100644
index 000000000000..4b3146c56d99
--- /dev/null
+++ b/www/darkhttpd/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1646208775
+SHA256 (emikulic-darkhttpd-v1.13_GH0.tar.gz) = 1d88c395ac79ca9365aa5af71afe4ad136a4ed45099ca398168d4a2014dc0fc2
+SIZE (emikulic-darkhttpd-v1.13_GH0.tar.gz) = 37708
diff --git a/www/darkhttpd/pkg-descr b/www/darkhttpd/pkg-descr
new file mode 100644
index 000000000000..f2dd7f69a62b
--- /dev/null
+++ b/www/darkhttpd/pkg-descr
@@ -0,0 +1,3 @@
+darkhttpd is a simple, static web server. No configuration file, no CGI.
+
+WWW: https://unix4lyfe.org/darkhttpd/