pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/nanotodon



Module Name:    pkgsrc
Committed By:   tsutsui
Date:           Sat Feb  8 00:53:01 UTC 2020

Added Files:
        pkgsrc/net/nanotodon: DESCR Makefile PLIST distinfo
        pkgsrc/net/nanotodon/patches: patch-Makefile

Log Message:
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


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

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

Added files:

Index: pkgsrc/net/nanotodon/DESCR
diff -u /dev/null pkgsrc/net/nanotodon/DESCR:1.1
--- /dev/null   Sat Feb  8 00:53:01 2020
+++ pkgsrc/net/nanotodon/DESCR  Sat Feb  8 00:53:01 2020
@@ -0,0 +1 @@
+Nanotodon is a light-weight CUI/C99 mastodon client.
Index: pkgsrc/net/nanotodon/Makefile
diff -u /dev/null pkgsrc/net/nanotodon/Makefile:1.1
--- /dev/null   Sat Feb  8 00:53:01 2020
+++ pkgsrc/net/nanotodon/Makefile       Sat Feb  8 00:53:01 2020
@@ -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"
Index: pkgsrc/net/nanotodon/PLIST
diff -u /dev/null pkgsrc/net/nanotodon/PLIST:1.1
--- /dev/null   Sat Feb  8 00:53:01 2020
+++ pkgsrc/net/nanotodon/PLIST  Sat Feb  8 00:53:01 2020
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2020/02/08 00:53:01 tsutsui Exp $
+bin/nanotodon
Index: pkgsrc/net/nanotodon/distinfo
diff -u /dev/null pkgsrc/net/nanotodon/distinfo:1.1
--- /dev/null   Sat Feb  8 00:53:01 2020
+++ pkgsrc/net/nanotodon/distinfo       Sat Feb  8 00:53:01 2020
@@ -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

Index: pkgsrc/net/nanotodon/patches/patch-Makefile
diff -u /dev/null pkgsrc/net/nanotodon/patches/patch-Makefile:1.1
--- /dev/null   Sat Feb  8 00:53:01 2020
+++ pkgsrc/net/nanotodon/patches/patch-Makefile Sat Feb  8 00:53:01 2020
@@ -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