pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/gopherus



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Mar  9 08:49:48 UTC 2025

Added Files:
        pkgsrc/net/gopherus: DESCR Makefile PLIST distinfo
        pkgsrc/net/gopherus/patches: patch-Makefile.lin

Log Message:
net/gopherus: import gopherus-1.2.2

Provided by Jeff Woodall in PR 59157 with some minor cleanups.

Gopherus is a free, multiplatform, console-mode Gopher client that
provides a classic text interface to Gopherspace.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/net/gopherus/DESCR pkgsrc/net/gopherus/Makefile \
    pkgsrc/net/gopherus/PLIST pkgsrc/net/gopherus/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/net/gopherus/patches/patch-Makefile.lin

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/net/gopherus/DESCR
diff -u /dev/null pkgsrc/net/gopherus/DESCR:1.1
--- /dev/null   Sun Mar  9 08:49:48 2025
+++ pkgsrc/net/gopherus/DESCR   Sun Mar  9 08:49:48 2025
@@ -0,0 +1,2 @@
+Gopherus is a free, multiplatform, console-mode Gopher client that
+provides a classic text interface to Gopherspace.
Index: pkgsrc/net/gopherus/Makefile
diff -u /dev/null pkgsrc/net/gopherus/Makefile:1.1
--- /dev/null   Sun Mar  9 08:49:48 2025
+++ pkgsrc/net/gopherus/Makefile        Sun Mar  9 08:49:48 2025
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2025/03/09 08:49:48 wiz Exp $
+
+DISTNAME=      gopherus-1.2.2
+CATEGORIES=    net
+MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=gopherus/}
+EXTRACT_SUFX=  .tar.xz
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://gopherus.sourceforge.net/
+COMMENT=       Lightweight ncurses-based Gopher client
+LICENSE=       2-clause-bsd
+
+USE_LANGUAGES= c
+USE_TOOLS+=    gmake
+MAKE_FILE=     Makefile.lin
+
+BINDIR=                        ${PREFIX}/bin
+DOCDIR=                        ${PREFIX}/share/doc/gopherus
+INSTALLATION_DIRS=     ${BINDIR} ${DOCDIR}
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/gopherus ${DESTDIR}${BINDIR}
+       ${INSTALL_DATA} ${WRKSRC}/gopherus.txt ${DESTDIR}${DOCDIR}
+
+.include "../../devel/ncurses/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/net/gopherus/PLIST
diff -u /dev/null pkgsrc/net/gopherus/PLIST:1.1
--- /dev/null   Sun Mar  9 08:49:48 2025
+++ pkgsrc/net/gopherus/PLIST   Sun Mar  9 08:49:48 2025
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2025/03/09 08:49:48 wiz Exp $
+bin/gopherus
+share/doc/gopherus/gopherus.txt
Index: pkgsrc/net/gopherus/distinfo
diff -u /dev/null pkgsrc/net/gopherus/distinfo:1.1
--- /dev/null   Sun Mar  9 08:49:48 2025
+++ pkgsrc/net/gopherus/distinfo        Sun Mar  9 08:49:48 2025
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2025/03/09 08:49:48 wiz Exp $
+
+BLAKE2s (gopherus-1.2.2.tar.xz) = f19e3cd9db5abd73517fdff452d9042f905a7c76760058955f70e2b6aa09d18d
+SHA512 (gopherus-1.2.2.tar.xz) = f4b912d13ef7fa281bf3e2d21efcaf4278d79eff335356bbc50a3fe221a76c78411eb50d309d17daa2542daa402006b4d772427fb59531d13ffd3e3583ace82a
+Size (gopherus-1.2.2.tar.xz) = 320688 bytes
+SHA1 (patch-Makefile.lin) = 455e27be57bfdc28265029b86919fd01a5f6082f

Index: pkgsrc/net/gopherus/patches/patch-Makefile.lin
diff -u /dev/null pkgsrc/net/gopherus/patches/patch-Makefile.lin:1.1
--- /dev/null   Sun Mar  9 08:49:48 2025
+++ pkgsrc/net/gopherus/patches/patch-Makefile.lin      Sun Mar  9 08:49:48 2025
@@ -0,0 +1,17 @@
+$NetBSD: patch-Makefile.lin,v 1.1 2025/03/09 08:49:48 wiz Exp $
+
+Fixes ncursesw6-config to match tool name in ../devel/ncurses
+
+--- Makefile.lin.orig  2022-11-13 07:40:00.442995420 +0000
++++ Makefile.lin
+@@ -9,8 +9,8 @@ CC ?= gcc
+ CFLAGS ?= -std=gnu99 -O3 -Wall -Wextra -pedantic
+ LDFLAGS ?=
+ 
+-NC_CFLAGS := $(shell ncursesw6-config --cflags)
+-LDLIBS += $(shell ncursesw6-config --libs)
++NC_CFLAGS := $(shell ncurses6-config --cflags)
++LDLIBS += $(shell ncurses6-config --libs)
+ 
+ all: gopherus
+ 



Home | Main Index | Thread Index | Old Index