summaryrefslogtreecommitdiff
path: root/www/browsh/Makefile
blob: 48edd08b87b2ef5d8c1b6a152e94d49add2f4727 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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 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>