/
Portfile
58 lines (43 loc) · 1.77 KB
/
Portfile
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup github 1.0
github.setup vercel hyper 3.4.1 v
github.tarball_from archive
revision 0
homepage https://hyper.is
description A terminal built on web technologies
long_description \
{*}${description}. The goal of the project is to create a beautiful and \
extensible experience for command-line interface users, built on open web \
standards. In the beginning, our focus will be primarily around speed, \
stability and the development of the correct API for extension authors.
categories aqua shells
installs_libs no
license MIT
maintainers {gmail.com:herby.gillot @herbygillot} \
openmaintainer
checksums ${distname}${extract.suffix} \
rmd160 557ea4cc6df2a78752f60dd414de3b40ffbff7fe \
sha256 6d691955f16496d0ffb3c5885d8e00dbc387919216629a65ec326dacb2358e75 \
size 2800377
patchfiles patch-package-json.diff
depends_build port:python311 \
port:yarn
build.env-append CSC_IDENTITY_AUTO_DISCOVERY=false \
CC=${configure.cc} \
CXX=${configure.cxx} \
CPP=${configure.cpp}
use_configure no
use_xcode yes
build {
# Set up all JS dependencies
system -W ${worksrcpath} "yarn --frozen-lockfile"
# Build electron app
system -W ${worksrcpath} "${build.env} yarn run dist"
}
destroot {
copy \
[glob ${worksrcpath}/dist/mac*/Hyper.app] \
${destroot}${applications_dir}
}
github.livecheck.regex {([0-9.]+)}