pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/nanotodon net/nanotodon: import nanotodon-0.1.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9725dc339dcc
branches:  trunk
changeset: 411213:9725dc339dcc
user:      tsutsui <tsutsui%pkgsrc.org@localhost>
date:      Sat Feb 08 00:53:01 2020 +0000

description:
net/nanotodon: import nanotodon-0.1.0.

Nanotodon is a light-weight CUI/C99 mastodon client.

Even ancient m68k machines can get and post toots with streaming APIs.
MC68020 20MHz Sun 3/60 running nanotodon (and sayaka) was demonstrated
at Open Source Conference 2020 Osaka:
 https://mail-index.netbsd.org/netbsd-advocacy/2020/01/28/msg000823.html

diffstat:

 net/nanotodon/DESCR                  |   1 +
 net/nanotodon/Makefile               |  23 +++++++++++++++++++++++
 net/nanotodon/PLIST                  |   2 ++
 net/nanotodon/distinfo               |   7 +++++++
 net/nanotodon/patches/patch-Makefile |  25 +++++++++++++++++++++++++
 5 files changed, 58 insertions(+), 0 deletions(-)

diffs (78 lines):

diff -r 35f75ceda684 -r 9725dc339dcc net/nanotodon/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/nanotodon/DESCR       Sat Feb 08 00:53:01 2020 +0000
@@ -0,0 +1,1 @@
+Nanotodon is a light-weight CUI/C99 mastodon client.
diff -r 35f75ceda684 -r 9725dc339dcc net/nanotodon/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/nanotodon/Makefile    Sat Feb 08 00:53:01 2020 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2020/02/08 00:53:01 tsutsui Exp $
+
+GITHUB_TAG=    v0.1.0
+DISTNAME=      nanotodon-${GITHUB_TAG:S/v//}
+CATEGORIES=    net
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=taka-tuos/}
+
+MAINTAINER=    tsutsui%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/taka-tuos/nanotodon
+COMMENT=       CUI/C99 mastodon client
+LICENSE=       mit
+
+INSTALLATION_DIRS+=    bin
+
+BUILD_TARGET=  default
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/nanotodon ${DESTDIR}${PREFIX}/bin
+
+.include "../../devel/ncursesw/buildlink3.mk"
+.include "../../textproc/json-c/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 35f75ceda684 -r 9725dc339dcc net/nanotodon/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/nanotodon/PLIST       Sat Feb 08 00:53:01 2020 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2020/02/08 00:53:01 tsutsui Exp $
+bin/nanotodon
diff -r 35f75ceda684 -r 9725dc339dcc net/nanotodon/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/nanotodon/distinfo    Sat Feb 08 00:53:01 2020 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2020/02/08 00:53:01 tsutsui Exp $
+
+SHA1 (nanotodon-0.1.0.tar.gz) = 36b48bc74b3687bc24cea9b0f21612204c8037b8
+RMD160 (nanotodon-0.1.0.tar.gz) = f5a39ddd0d21a41032053913d49972bf1d7f8e98
+SHA512 (nanotodon-0.1.0.tar.gz) = c1867b819781f69cfc7405b3e39c9751ca99f6f39ed9c380e42850065f0b88aa05c2c85d503d5473375865dc2e633beb3d7f78c0dbd021aaf0f21987fec2e58d
+Size (nanotodon-0.1.0.tar.gz) = 23522 bytes
+SHA1 (patch-Makefile) = 9e5eedce422aeb7e36322dbec5b223e632d3e544
diff -r 35f75ceda684 -r 9725dc339dcc net/nanotodon/patches/patch-Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/nanotodon/patches/patch-Makefile      Sat Feb 08 00:53:01 2020 +0000
@@ -0,0 +1,25 @@
+$NetBSD: patch-Makefile,v 1.1 2020/02/08 00:53:01 tsutsui Exp $
+
+Misc options for pkgsrc builds.
+
+--- Makefile.orig      2020-02-06 05:46:29.000000000 +0000
++++ Makefile
+@@ -3,7 +3,7 @@ OBJS_TARGET    = nanotodon.o config.o messa
+ 
+ CFLAGS = -g
+ # optimization
+-#CFLAGS+= -O2
++CFLAGS+= -O2
+ # Use $XDG_CONFIG_HOME or ~/.config dir to save config files
+ CFLAGS+= -DSUPPORT_XDG_BASE_DIR
+ 
+@@ -11,7 +11,7 @@ LDFLAGS = 
+ LIBS = -lcurl -ljson-c -lncursesw -lpthread -lm 
+ 
+ # for pkgsrc build
+-#CFLAGS+= -I/usr/pkg/include -I/usr/pkg/include/ncursesw -DNCURSES_WIDECHAR
+-#LDFLAGS+= -L/usr/pkg/lib -Wl,-R/usr/pkg/lib
++CFLAGS+= -I/usr/pkg/include -I/usr/pkg/include/ncursesw -DNCURSES_WIDECHAR
++LDFLAGS+= -L/usr/pkg/lib -Wl,-R/usr/pkg/lib
+ 
+ include Makefile.in



Home | Main Index | Thread Index | Old Index