diff options
Diffstat (limited to 'www/tocaia')
-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 |
4 files changed, 54 insertions, 0 deletions
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. |