diff options
| author | Adam Weinberger <adamw@FreeBSD.org> | 2025-03-17 17:48:17 +0000 |
|---|---|---|
| committer | Adam Weinberger <adamw@FreeBSD.org> | 2025-03-17 17:55:05 +0000 |
| commit | 853acc201a9abfd81686e41c6e66faffcbd2fc41 (patch) | |
| tree | 6df4c19d2cc7aa1bf4901b6f8f3ed9965d81f114 | |
| parent | 98fd871fa55a7ce0df6ba9cae63d4e93f6709a52 (diff) | |
www/glance: Add port
Glance is a go-based dashboard with a plethora of widgets. It's
themeable, lightweight, attractive, and easy to configure.
https://github.com/glanceapp/glance
| -rw-r--r-- | www/Makefile | 1 | ||||
| -rw-r--r-- | www/glance/Makefile | 35 | ||||
| -rw-r--r-- | www/glance/distinfo | 5 | ||||
| -rw-r--r-- | www/glance/pkg-descr | 8 |
4 files changed, 49 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index 7d8547c00d87..1ddee69d6ffa 100644 --- a/www/Makefile +++ b/www/Makefile @@ -218,6 +218,7 @@ SUBDIR += gitlab SUBDIR += gitlab-pages SUBDIR += gitlab-workhorse + SUBDIR += glance SUBDIR += glassfish SUBDIR += glassfish4 SUBDIR += glpi diff --git a/www/glance/Makefile b/www/glance/Makefile new file mode 100644 index 000000000000..23dea0fa626a --- /dev/null +++ b/www/glance/Makefile @@ -0,0 +1,35 @@ +PORTNAME= glance +DISTVERSIONPREFIX= v +DISTVERSION= 0.7.7 +CATEGORIES= www + +MAINTAINER= adamw@FreeBSD.org +COMMENT= Self-hosted dashboard that puts all your feeds in one place +WWW= https://github.com/glanceapp/glance + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= go:modules +GO_MODULE= github.com/glanceapp/glance + +OPTIONS_DEFINE= DOCS EXAMPLES + +PLIST_FILES= bin/glance +PORTDOCS= configuration.md \ + custom-api.md \ + extensions.md \ + preconfigured-pages.md \ + themes.md \ + v0.7.0-upgrade.md +PORTEXAMPLES= glance.yml + +post-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/docs/*.md ${STAGEDIR}${DOCSDIR} + +post-install-EXAMPLES-on: + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/docs/glance.yml ${STAGEDIR}${EXAMPLESDIR} + +.include <bsd.port.mk> diff --git a/www/glance/distinfo b/www/glance/distinfo new file mode 100644 index 000000000000..9b8813f980d0 --- /dev/null +++ b/www/glance/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1742232990 +SHA256 (go/www_glance/glance-v0.7.7/v0.7.7.mod) = 6854d28439342a58e1a3d224fbbf98a5a6d89ccc385f063bfc1d817a98ce9e3f +SIZE (go/www_glance/glance-v0.7.7/v0.7.7.mod) = 1162 +SHA256 (go/www_glance/glance-v0.7.7/v0.7.7.zip) = 58389d6d93f032a1d2f585ebf9dbc19fc0e9c90fc2d7ec4b02b90c466e8d4c6d +SIZE (go/www_glance/glance-v0.7.7/v0.7.7.zip) = 13051025 diff --git a/www/glance/pkg-descr b/www/glance/pkg-descr new file mode 100644 index 000000000000..7f65faf5c701 --- /dev/null +++ b/www/glance/pkg-descr @@ -0,0 +1,8 @@ +Glance is a fast, lightweight dashboard that can display all manner of +widgets, including RSS feeds, stocks, Reddit and Hacker News and Twitch +feeds, bookmarks, system information, and more. + +It's configurable through a single straightforward YAML file, and is +easily themeable (see /usr/local/share/doc/glance/themes.md), including +Catppuccin Mocha which objectively everyone should be using anyway. +Widgets can be cached, so pages load nearly instantly. |
