pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/chat/lchat
Module Name: pkgsrc
Committed By: vins
Date: Thu Sep 4 17:23:50 UTC 2025
Added Files:
pkgsrc/chat/lchat: DESCR Makefile PLIST distinfo
pkgsrc/chat/lchat/patches: patch-config.mk
Log Message:
chat/lchat: initial import of package
lchat (line chat) is a line oriented front end for ii-like chat programs.
It handles the input from keyboard and output file in parallel. Thus, you are
able to type messages while new chat lines are arriving. Its main focus is on
usability and simplicity.
You can use lchat as frontend for the following programs and protocols:
* ii for IRC
* ratox for Tox
* sj and jj for XMPP
* icb for ICB
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/chat/lchat/DESCR pkgsrc/chat/lchat/Makefile \
pkgsrc/chat/lchat/PLIST pkgsrc/chat/lchat/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/chat/lchat/patches/patch-config.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/chat/lchat/DESCR
diff -u /dev/null pkgsrc/chat/lchat/DESCR:1.1
--- /dev/null Thu Sep 4 17:23:50 2025
+++ pkgsrc/chat/lchat/DESCR Thu Sep 4 17:23:49 2025
@@ -0,0 +1,11 @@
+lchat (line chat) is a line oriented front end for ii-like chat programs.
+It handles the input from keyboard and output file in parallel. Thus, you are
+able to type messages while new chat lines are arriving. Its main focus is on
+usability and simplicity.
+
+You can use lchat as frontend for the following programs and protocols:
+
+* ii for IRC
+* ratox for Tox
+* sj and jj for XMPP
+* icb for ICB
Index: pkgsrc/chat/lchat/Makefile
diff -u /dev/null pkgsrc/chat/lchat/Makefile:1.1
--- /dev/null Thu Sep 4 17:23:50 2025
+++ pkgsrc/chat/lchat/Makefile Thu Sep 4 17:23:50 2025
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2025/09/04 17:23:50 vins Exp $
+
+DISTNAME= lchat-1.0
+CATEGORIES= chat
+MASTER_SITES= https://dl.suckless.org/tools/
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://tools.suckless.org/lchat/
+COMMENT= Line oriented front end for chat programs
+LICENSE= mit
+
+CFLAGS.NetBSD+= -D_NETBSD_SOURCE # asprintf()
+
+SUBST_CLASSES+= pkgsrc
+SUBST_STAGE.pkgsrc= pre-configure
+SUBST_FILES.pkgsrc= config.mk
+SUBST_VARS.pkgsrc+= PREFIX PKGMANDIR
+SUBST_MESSAGE.pkgsrc= Replacing pkgsrc placeholders
+
+INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
+
+.include "../../textproc/libgrapheme/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/chat/lchat/PLIST
diff -u /dev/null pkgsrc/chat/lchat/PLIST:1.1
--- /dev/null Thu Sep 4 17:23:50 2025
+++ pkgsrc/chat/lchat/PLIST Thu Sep 4 17:23:50 2025
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2025/09/04 17:23:50 vins Exp $
+bin/lchat
+man/man1/lchat.1
Index: pkgsrc/chat/lchat/distinfo
diff -u /dev/null pkgsrc/chat/lchat/distinfo:1.1
--- /dev/null Thu Sep 4 17:23:50 2025
+++ pkgsrc/chat/lchat/distinfo Thu Sep 4 17:23:50 2025
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2025/09/04 17:23:50 vins Exp $
+
+BLAKE2s (lchat-1.0.tar.gz) = fc9ab2ada90429da361dd47267eeb989bfb7a73abfd0850da10ae127137f605c
+SHA512 (lchat-1.0.tar.gz) = cde5fd193d7c8251ca94bc8a4e648faaad01ec9eac5b09365c34a51646aa70e7031ec40acce121e8187cec2f692caa16a0a3fb68223b2fcfba1a411757e70923
+Size (lchat-1.0.tar.gz) = 24455 bytes
+SHA1 (patch-config.mk) = 06482d0c744a657e69876997137589c0d1dabb8b
Index: pkgsrc/chat/lchat/patches/patch-config.mk
diff -u /dev/null pkgsrc/chat/lchat/patches/patch-config.mk:1.1
--- /dev/null Thu Sep 4 17:23:50 2025
+++ pkgsrc/chat/lchat/patches/patch-config.mk Thu Sep 4 17:23:50 2025
@@ -0,0 +1,24 @@
+$NetBSD: patch-config.mk,v 1.1 2025/09/04 17:23:50 vins Exp $
+
+* pkgsrc PREFIX support.
+* Do not override CFLAGS and LIBS.
+
+--- config.mk.orig 2025-09-04 16:02:51.758000596 +0000
++++ config.mk
+@@ -1,12 +1,12 @@
+ VERSION = 1.0
+
+ # paths
+-PREFIX = /usr/local
++PREFIX = @PREFIX@
+ BINDIR = $(PREFIX)/bin
+-MANDIR = $(PREFIX)/man
++MANDIR = $(PREFIX)/@PKGMANDIR@
+ MAN1DIR = $(MANDIR)/man1
+
+-CFLAGS = -std=c99 -pedantic -Wall -Wextra -I/usr/local/include
++CFLAGS += -std=c99 -pedantic -Wall -Wextra
+
+ # grapheme.h
+-LIBS = -L/usr/local/lib -lgrapheme
++LIBS += $(LDFLAGS) -lgrapheme
Home |
Main Index |
Thread Index |
Old Index