aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2018-04-02 01:01:32 +0800
committerkrion <krion@FreeBSD.org>2018-04-02 01:01:32 +0800
commite98019cbd86cec2b0db30fe7474284778d8c0f73 (patch)
tree619ca59a374d3c0206059db3d1a59c9abc474fc1 /www
parent93be135b8db0789e365cab7eb52b5287b2414ed2 (diff)
downloadfreebsd-ports-gnome-e98019cbd86cec2b0db30fe7474284778d8c0f73.tar.gz
freebsd-ports-gnome-e98019cbd86cec2b0db30fe7474284778d8c0f73.tar.zst
freebsd-ports-gnome-e98019cbd86cec2b0db30fe7474284778d8c0f73.zip
Add www/miniflux
Miniflux is a self-hosted software to read RSS/Atom/JSON feeds written in Go and using PostgreSQL backend.
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/miniflux/Makefile25
-rw-r--r--www/miniflux/distinfo3
-rw-r--r--www/miniflux/files/miniflux.conf.sample3
-rw-r--r--www/miniflux/pkg-descr3
-rw-r--r--www/miniflux/pkg-plist2
6 files changed, 37 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 4a743177190e..8a2d5b6a576c 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -397,6 +397,7 @@
SUBDIR += midori
SUBDIR += mimetex
SUBDIR += mini_httpd
+ SUBDIR += miniflux
SUBDIR += miniminiweb
SUBDIR += minio
SUBDIR += minio-client
diff --git a/www/miniflux/Makefile b/www/miniflux/Makefile
new file mode 100644
index 000000000000..195a8e8d35d5
--- /dev/null
+++ b/www/miniflux/Makefile
@@ -0,0 +1,25 @@
+# $FreeBSD$
+
+PORTNAME= miniflux
+DISTVERSION= 2.0.4
+CATEGORIES= www
+
+MAINTAINER= krion@FreeBSD.org
+COMMENT= Miniflux is a self-hosted software to read RSS/Atom/JSON feeds
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= go pgsql
+WANT_PGSQL= server
+
+USE_GITHUB= yes
+GH_ACCOUNT= miniflux
+
+GO_PKGNAME= github.com/miniflux/${PORTNAME}
+
+post-install:
+ ${INSTALL_DATA} ${FILESDIR}/miniflux.conf.sample \
+ ${STAGEDIR}${PREFIX}/etc
+
+.include <bsd.port.mk>
diff --git a/www/miniflux/distinfo b/www/miniflux/distinfo
new file mode 100644
index 000000000000..7b9053f085a7
--- /dev/null
+++ b/www/miniflux/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1522595350
+SHA256 (miniflux-miniflux-2.0.4_GH0.tar.gz) = 4151bee3bb7f650eaab0a4dc31ba272f872c1b5d6f1f2677c037f4cbf8127b48
+SIZE (miniflux-miniflux-2.0.4_GH0.tar.gz) = 12420546
diff --git a/www/miniflux/files/miniflux.conf.sample b/www/miniflux/files/miniflux.conf.sample
new file mode 100644
index 000000000000..f8f6464ff63f
--- /dev/null
+++ b/www/miniflux/files/miniflux.conf.sample
@@ -0,0 +1,3 @@
+# See https://docs.miniflux.net/
+
+LISTEN_ADDR=0.0.0.0:8080
diff --git a/www/miniflux/pkg-descr b/www/miniflux/pkg-descr
new file mode 100644
index 000000000000..f1d560f1d55c
--- /dev/null
+++ b/www/miniflux/pkg-descr
@@ -0,0 +1,3 @@
+Miniflux is a minimalist and opinionated feed reader written in Go.
+
+WWW: https://miniflux.net/
diff --git a/www/miniflux/pkg-plist b/www/miniflux/pkg-plist
new file mode 100644
index 000000000000..2f43bc48135f
--- /dev/null
+++ b/www/miniflux/pkg-plist
@@ -0,0 +1,2 @@
+bin/miniflux
+@sample etc/miniflux.conf.sample