pkgsrc-WIP-changes archive

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

newsraft: include the examples



Module Name:	pkgsrc-wip
Committed By:	Kevin Bloom <kevin.bloom%posteo.net@localhost>
Pushed By:	nuclearkev
Date:		Tue Jan 9 22:13:42 2024 -0500
Changeset:	c0ecb5dc5e6ff2f3ea097a6a8062187072f1b874

Modified Files:
	newsraft/DESCR
	newsraft/Makefile
	newsraft/PLIST
	newsraft/TODO

Log Message:
newsraft: include the examples

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c0ecb5dc5e6ff2f3ea097a6a8062187072f1b874

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

diffstat:
 newsraft/DESCR    | 16 +++++++---------
 newsraft/Makefile | 11 ++++++++---
 newsraft/PLIST    |  2 ++
 newsraft/TODO     |  1 -
 4 files changed, 17 insertions(+), 13 deletions(-)

diffs:
diff --git a/newsraft/DESCR b/newsraft/DESCR
index 742a2b35b0..c3c28c5add 100644
--- a/newsraft/DESCR
+++ b/newsraft/DESCR
@@ -1,9 +1,7 @@
-newsraft is a feed reader with a ncurses user interface. It is
-greatly inspired by newsboat and tries to be its lightweight
-counterpart. newsraft supports parallel downloads, section-based
-feeds grouping, opening links in any program, viewing news from all
-feeds with explore mode, automatic updates for feeds and sections,
-multiple actions key bindings, support for feed generating scripts,
-text search by news titles, and interactive interface for viewing
-news content.
-
+newsraft is a feed reader with a ncurses user interface. It attempts
+to be lightweight version newsboat. newsraft supports parallel
+downloads, section-based feeds grouping, opening links in any
+program, viewing news from all feeds with explore mode, automatic
+updates for feeds and sections, multiple actions key bindings,
+support for feed generating scripts, text search by news titles,
+and interactive interface for viewing news content.
diff --git a/newsraft/Makefile b/newsraft/Makefile
index 5b210f45a9..cdb414fc5e 100644
--- a/newsraft/Makefile
+++ b/newsraft/Makefile
@@ -2,7 +2,7 @@
 
 DISTNAME=	newsraft-0.22
 CATEGORIES=	news
-MASTER_SITES=	https://codeberg.org/newsraft/newsraft
+MASTER_SITES=	https://codeberg.org/newsraft/newsraft/
 
 MAINTAINER=	kevin.bloom%posteo.net@localhost
 HOMEPAGE=	https://codeberg.org/newsraft
@@ -27,11 +27,16 @@ DEPENDS+=	sqlite3>=3.36.0:../../databases/sqlite3
 DEPENDS+=	yajl>=2.1.0:../../devel/yajl
 TOOL_DEPENDS+=	scdoc-[0-9]*:../../textproc/scdoc
 
-INSTALLATION_DIRS+=	bin man/man1
+EGDIR=			${PREFIX}/share/examples/newsraft
+
+INSTALLATION_DIRS+=	bin man/man1 share/examples/newsraft
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/newsraft ${DESTDIR}${PREFIX}/bin && \
-	${INSTALL_MAN} ${WRKSRC}/doc/newsraft.1 ${DESTDIR}${PREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/doc/newsraft.1 \
+		${DESTDIR}${PKGMANDIR}/man1 && \
+	${CP} ${WRKSRC}/doc/examples/config ${DESTDIR}${EGDIR} && \
+	${CP} ${WRKSRC}/doc/examples/feeds ${DESTDIR}${EGDIR}
 
 .include "../../www/curl/buildlink3.mk"
 .include "../../devel/yajl/buildlink3.mk"
diff --git a/newsraft/PLIST b/newsraft/PLIST
index 9383f297ce..155a66883b 100644
--- a/newsraft/PLIST
+++ b/newsraft/PLIST
@@ -1,3 +1,5 @@
 @comment $NetBSD$
 bin/newsraft
 man/man1/newsraft.1
+share/examples/newsraft/config
+share/examples/newsraft/feeds
diff --git a/newsraft/TODO b/newsraft/TODO
index 2371cc532a..4398574e9f 100644
--- a/newsraft/TODO
+++ b/newsraft/TODO
@@ -1,4 +1,3 @@
-docs/example
 COMMIT_MSG
 test
 merge wip/gumbo-parser in -current


Home | Main Index | Thread Index | Old Index