diff options
author | Valter Nazianzeno <manipuladordedados@gmail.com> | 2025-09-02 23:39:12 -0300 |
---|---|---|
committer | Hiroki Tagato <tagattie@FreeBSD.org> | 2025-09-05 11:16:32 +0900 |
commit | 82376e2567c790c9dfcc18bc3adc009fe2fef21e (patch) | |
tree | 667ad6a92a59ef701bd506b7be34a2fb23b3925c | |
parent | sysutils/py-pyinfra: Update 3.3.1 => 3.5, take maintainership (diff) |
www/tocaia: add port: Portable TUI Gopher client written in C89 for POSIX systems
Tocaia is a minimalist and cross-platform Gopher client.
Built with minimal dependencies, it offers a fast, efficient,
and a direct browsing experience navigating the Gopherspace.
WWW: https://github.com/manipuladordedados/tocaia
PR: 289195
Reported by: Valter Nazianzeno <manipuladordedados@gmail.com> (new maintainer)
Reviewed by: Yusuf Yaman <nxjoseph@protonmail.com>
Diffstat (limited to '')
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/tocaia/Makefile | 17 | ||||
-rw-r--r-- | www/tocaia/distinfo | 3 | ||||
-rw-r--r-- | www/tocaia/files/patch-Makefile | 31 | ||||
-rw-r--r-- | www/tocaia/pkg-descr | 3 |
5 files changed, 55 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index 4aa83a615b71..5d9ca2a97e52 100644 --- a/www/Makefile +++ b/www/Makefile @@ -2541,6 +2541,7 @@ SUBDIR += tinyproxy SUBDIR += tivoka SUBDIR += tntnet + SUBDIR += tocaia SUBDIR += tokyopromenade SUBDIR += tomcat-devel SUBDIR += tomcat-native diff --git a/www/tocaia/Makefile b/www/tocaia/Makefile new file mode 100644 index 000000000000..e0a00bebb391 --- /dev/null +++ b/www/tocaia/Makefile @@ -0,0 +1,17 @@ +PORTNAME= tocaia +DISTVERSION= 0.9.0 +CATEGORIES= www + +MAINTAINER= manipuladordedados@gmail.com +COMMENT= Portable TUI Gopher client written in C89 for POSIX systems +WWW= https://github.com/manipuladordedados/tocaia + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +USE_GITHUB= yes +GH_ACCOUNT= manipuladordedados + +PLIST_FILES= bin/${PORTNAME} + +.include <bsd.port.mk> diff --git a/www/tocaia/distinfo b/www/tocaia/distinfo new file mode 100644 index 000000000000..dc4f55f11700 --- /dev/null +++ b/www/tocaia/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1756766827 +SHA256 (manipuladordedados-tocaia-0.9.0_GH0.tar.gz) = be4528728d782bfac6b4dba9c7df639f2d3b888715751c25ca44310960f0c58f +SIZE (manipuladordedados-tocaia-0.9.0_GH0.tar.gz) = 1101255 diff --git a/www/tocaia/files/patch-Makefile b/www/tocaia/files/patch-Makefile new file mode 100644 index 000000000000..8e4c5f1b6afe --- /dev/null +++ b/www/tocaia/files/patch-Makefile @@ -0,0 +1,31 @@ +--- Makefile.orig 2025-08-31 09:07:10 UTC ++++ Makefile +@@ -1,12 +1,13 @@ +-CC ?= cc +-CFLAGS = -std=c89 -Wall -pedantic ++CC ?= cc ++CFLAGS += -std=c89 -Wall -pedantic + +-OBJ = tocaia.o +-EXEC = tocaia ++OBJ = tocaia.o ++EXEC = tocaia + +-PREFIX ?= /usr/local +-BINDIR = $(PREFIX)/bin +-INSTALL ?= install ++PREFIX ?= /usr/local ++BINDIR = $(PREFIX)/bin ++INSTALL ?= install ++STRIP ?= strip + + all: $(EXEC) + +@@ -24,6 +25,7 @@ install: $(EXEC) + install: $(EXEC) + mkdir -p $(DESTDIR)$(BINDIR) + $(INSTALL) -m 755 $(EXEC) $(DESTDIR)$(BINDIR)/$(EXEC) ++ $(STRIP) $(DESTDIR)$(BINDIR)/$(EXEC) + + uninstall: + rm -f $(DESTDIR)$(BINDIR)/$(EXEC) diff --git a/www/tocaia/pkg-descr b/www/tocaia/pkg-descr new file mode 100644 index 000000000000..1599b39ef498 --- /dev/null +++ b/www/tocaia/pkg-descr @@ -0,0 +1,3 @@ +Tocaia is a minimalist and cross-platform Gopher client. +Built with minimal dependencies, it offers a fast, efficient, +and a direct browsing experience navigating the Gopherspace. |