You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
53 lines
1.9 KiB
Tcl
53 lines
1.9 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 npm 1.0
|
|
|
|
name gemini-cli
|
|
version 0.50.0
|
|
revision 0
|
|
|
|
categories llm
|
|
platforms darwin
|
|
maintainers {breun @breun} openmaintainer
|
|
license Apache-2
|
|
supported_archs x86_64 arm64
|
|
|
|
description Use Google Gemini from your terminal
|
|
long_description Gemini CLI is an open-source AI agent that brings the power of Google Gemini directly into your terminal.
|
|
|
|
homepage https://geminicli.com
|
|
|
|
npm.rootname @google/${name}
|
|
distname ${name}-${version}
|
|
|
|
checksums rmd160 40aa6d40cad3194a3dea675b13f84771aa9a3eff \
|
|
sha256 b18d84212dff9eef0352f9cd99a024f5d9757766683778e1c40218827c741dd4 \
|
|
size 20711326
|
|
|
|
post-destroot {
|
|
set node_modules_dir ${destroot}${prefix}/lib/node_modules/${npm.rootname}/node_modules
|
|
|
|
# Remove binaries for other operating systems
|
|
if {${os.platform} ne "darwin"} {
|
|
delete {*}[glob ${node_modules_dir}/@lydell/node-pty-darwin*]
|
|
}
|
|
if {${os.platform} ne "linux"} {
|
|
delete ${node_modules_dir}/clipboardy/fallbacks/linux
|
|
}
|
|
if {${os.platform} ne "windows"} {
|
|
delete ${node_modules_dir}/clipboardy/fallbacks/windows
|
|
}
|
|
|
|
# Remove binaries for other CPU architectures
|
|
if {${configure.build_arch} ne "x86_64"} {
|
|
delete ${node_modules_dir}/node-pty/prebuilds/darwin-x64
|
|
delete ${node_modules_dir}/tree-sitter-bash/prebuilds/darwin-x64
|
|
}
|
|
if {${configure.build_arch} ne "arm64"} {
|
|
delete ${node_modules_dir}/@lydell/node-pty-darwin-arm64
|
|
delete ${node_modules_dir}/node-pty/prebuilds/darwin-arm64
|
|
delete ${node_modules_dir}/tree-sitter-bash/prebuilds/darwin-arm64
|
|
}
|
|
}
|