Files
2023-01-09 16:39:32 -05:00

59 lines
1.8 KiB
Tcl

# -*- 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.]+)}