1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/www/browsh/Makefile
Mateusz Piotrowski 015dae0049 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
2020-02-01 16:48:22 +00:00

43 lines
1007 B
Makefile

# $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>