File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ # -*- 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
2
+
3
+ PortSystem 1.0
4
+ PortGroup github 1.0
5
+
6
+ github.setup LumitoLuma chatgpt-client bd4b13db19b45c548bb8ef81a13feb42ff495680
7
+ version 0.5.2
8
+ revision 0
9
+ maintainers nomaintainer
10
+
11
+ categories www devel
12
+ description Simple ChatGPT client written in C
13
+ long_description ${name} is a simple ChatGPT client written in C (GNU89) \
14
+ for UNIX-based systems.
15
+ license GPL-3
16
+ checksums rmd160 c9cccb841f4e33366d732d37212e054d7dcb4992 \
17
+ sha256 686173d27261ed8df869124981eb7827c54decf308deddba70cc66508d405616 \
18
+ size 20352
19
+ github.tarball_from archive
20
+
21
+ depends_lib-append port:curl \
22
+ port:libcjson \
23
+ port:readline
24
+
25
+ use_configure no
26
+
27
+ build.cmd ${configure.cc}
28
+ build.cmd-append -o chatgpt chatgpt.c -O2 -std=gnu89 -L${prefix} /lib -lcurl -lcjson -lreadline
29
+ build.target
30
+
31
+ destroot {
32
+ xinstall -m 0755 -W ${worksrcpath} chatgpt ${destroot}${prefix} /bin
33
+ xinstall -d ${destroot}${prefix} /share/doc/${name}
34
+ xinstall -m 0644 -W ${worksrcpath} LICENSE README.md ${destroot}${prefix} /share/doc/${name}
35
+ }
You can’t perform that action at this time.
0 commit comments