You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
chatgpt-client: new port
This commit is contained in:
committed by
Renee Otten
parent
a51c1fc6b2
commit
56b965e919
@@ -0,0 +1,35 @@
|
||||
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=portfile:et:sw=4:ts=4:sts=4
|
||||
|
||||
PortSystem 1.0
|
||||
PortGroup github 1.0
|
||||
|
||||
github.setup LumitoLuma chatgpt-client bd4b13db19b45c548bb8ef81a13feb42ff495680
|
||||
version 0.5.2
|
||||
revision 0
|
||||
maintainers nomaintainer
|
||||
|
||||
categories www devel
|
||||
description Simple ChatGPT client written in C
|
||||
long_description ${name} is a simple ChatGPT client written in C (GNU89) \
|
||||
for UNIX-based systems.
|
||||
license GPL-3
|
||||
checksums rmd160 c9cccb841f4e33366d732d37212e054d7dcb4992 \
|
||||
sha256 686173d27261ed8df869124981eb7827c54decf308deddba70cc66508d405616 \
|
||||
size 20352
|
||||
github.tarball_from archive
|
||||
|
||||
depends_lib-append port:curl \
|
||||
port:libcjson \
|
||||
port:readline
|
||||
|
||||
use_configure no
|
||||
|
||||
build.cmd ${configure.cc}
|
||||
build.cmd-append -o chatgpt chatgpt.c -O2 -std=gnu89 -L${prefix}/lib -lcurl -lcjson -lreadline
|
||||
build.target
|
||||
|
||||
destroot {
|
||||
xinstall -m 0755 -W ${worksrcpath} chatgpt ${destroot}${prefix}/bin
|
||||
xinstall -d ${destroot}${prefix}/share/doc/${name}
|
||||
xinstall -m 0644 -W ${worksrcpath} LICENSE README.md ${destroot}${prefix}/share/doc/${name}
|
||||
}
|
||||
Reference in New Issue
Block a user