-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# -*- 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 | ||
Check warning on line 1 in net/Legcord/Portfile GitHub Actions / macos-14
Check warning on line 1 in net/Legcord/Portfile GitHub Actions / macos-15
|
||
|
||
PortSystem 1.0 | ||
PortGroup github 1.0 | ||
|
||
github.setup Legcord Legcord 1.0.5 v | ||
github.tarball_from archive | ||
distname ${github.project}-${github.version} | ||
|
||
categories net | ||
maintainers {@akierig fastmail.de:akierig} openmaintainer | ||
revision 0 | ||
|
||
checksums rmd160 0edc06299eb127ff3af513bd7ee935f3202d90f5 \ | ||
sha256 d3d3cb08fd0b858150b3a2ed696d461490b36714e4096f79097e4242f4772424 \ | ||
size 1601307 | ||
|
||
description lightweight alternative to the regular Discord application | ||
long_description ${name} is a {*}${description}. It wraps the Discord web \ | ||
client in a version of Chromium fully optimized for use \ | ||
with Discord's web interface, blocks trackers by default,\ | ||
and supports a variety of client plugin frameworks. | ||
|
||
supported_archs noarch | ||
platforms {darwin any} | ||
license OSL-3.0 | ||
|
||
depends_build port:pnpm | ||
|
||
use_configure no | ||
|
||
build { | ||
system -W ${worksrcpath} "pnpm install" | ||
system -W ${worksrcpath} "pnpm run build" | ||
system -W ${worksrcpath} "node_modules/.bin/electron-builder -m zip" | ||
} | ||
|
||
destroot { | ||
file copy ${worksrcpath}/dist/mac-${build_arch}/Legcord.app ${destroot}${applications_dir} | ||
} |