New port: www/browsh: Text-based browser supporting HTML5, CSS3, JS, video and WebGL

Browsh is a fully-modern text-based browser. It renders anything that a
modern browser can; HTML5, CSS3, JS, video and even WebGL. Its main purpose
is to be run on a remote server and accessed via SSH/Mosh or the in-browser
HTML service in order to significantly reduce bandwidth and thus both
increase browsing speeds and decrease bandwidth costs.

WWW: https://www.brow.sh/

Differential Revision:	https://reviews.freebsd.org/D22853
This commit is contained in:
Mateusz Piotrowski 2020-02-01 16:48:22 +00:00
parent 083799bb17
commit 015dae0049
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=524778
3 changed files with 58 additions and 0 deletions

42
www/browsh/Makefile Normal file
View File

@ -0,0 +1,42 @@
# $FreeBSD$
PORTNAME= browsh
DISTVERSIONPREFIX= v
DISTVERSION= 1.6.4
CATEGORIES= www
MASTER_SITES= https://github.com/browsh-org/browsh/releases/download/${DISTVERSIONFULL}/
DISTNAME= browsh_${DISTVERSION}_freebsd_${ARCH:S/i386/386/}
EXTRACT_SUFX= # none
MAINTAINER= 0mp@FreeBSD.org
COMMENT= Text-based browser supporting HTML5, CSS3, JS, video and WebGL
LICENSE= LGPL21
ONLY_FOR_ARCHS= amd64 arm64 armv6 armv7 i386
ONLY_FOR_ARCHS_REASON= Upstream does not provide binaries for other architerctures
RUN_DEPENDS= firefox>63:www/firefox
EXTRACT_CMD= ${CP}
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS= ${WRKSRC}
NO_BUILD= yes
NO_WRKSUBDIR= yes
PLIST_FILES= bin/browsh
_ALL_DISTFILES= browsh_${DISTVERSION}_freebsd_386 \
browsh_${DISTVERSION}_freebsd_amd64 \
browsh_${DISTVERSION}_freebsd_armv6 \
browsh_${DISTVERSION}_freebsd_armv7
.if make(makesum)
DISTFILES:= ${_ALL_DISTFILES}
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME} ${STAGEDIR}${PREFIX}/bin/browsh
.include <bsd.port.mk>

9
www/browsh/distinfo Normal file
View File

@ -0,0 +1,9 @@
TIMESTAMP = 1575900712
SHA256 (browsh_1.6.4_freebsd_386) = 60541fd77e6c8d7afa0b1305f3651c6b62e49c14e328db7bb09593ac33dda191
SIZE (browsh_1.6.4_freebsd_386) = 7773664
SHA256 (browsh_1.6.4_freebsd_amd64) = f5aadc13a130063fef62844a58e9e69247c8986b5290e73328da4514dbd2a7b4
SIZE (browsh_1.6.4_freebsd_amd64) = 9050048
SHA256 (browsh_1.6.4_freebsd_armv6) = f15f4f4cb28f8dc1b969cb7179c2a3c34bad9c0b9aeea7ede9d944f3ca2d62cc
SIZE (browsh_1.6.4_freebsd_armv6) = 7796728
SHA256 (browsh_1.6.4_freebsd_armv7) = 31c6237e0570ca7e53140c4ec1d745d27f8083f07f7bd9d7f065434f60d32e45
SIZE (browsh_1.6.4_freebsd_armv7) = 7796728

7
www/browsh/pkg-descr Normal file
View File

@ -0,0 +1,7 @@
Browsh is a fully-modern text-based browser. It renders anything that a modern
browser can; HTML5, CSS3, JS, video and even WebGL. Its main purpose is to be
run on a remote server and accessed via SSH/Mosh or the in-browser HTML service
in order to significantly reduce bandwidth and thus both increase browsing
speeds and decrease bandwidth costs.
WWW: https://www.brow.sh/