pkgsrc-WIP-changes archive

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

pta: Import pta-0.1 as wip/pta retawq: Import retawq-0.2.6c as wip/retawq vis-editor: Update wip/vis-editor to 0.8 vis-editor: Fix dependency/add options.mk for ncursesw



Module Name:	pkgsrc-wip
Committed By:	Manuel Kuklinski <mk%asdfghasdfgh.de@localhost>
Pushed By:	mk
Date:		Mon Jul 3 20:41:31 2023 +0200
Changeset:	0856fc67f03ef8ca9acd167f4780e2444d4a633e

Modified Files:
	Makefile
	vis-editor/Makefile
	vis-editor/distinfo
Added Files:
	pta/DESCR
	pta/Makefile
	pta/PLIST
	pta/distinfo
	retawq/DESCR
	retawq/Makefile
	retawq/PLIST
	retawq/distinfo
	vis-editor/options.mk

Log Message:
pta: Import pta-0.1 as wip/pta
retawq: Import retawq-0.2.6c as wip/retawq
vis-editor: Update wip/vis-editor to 0.8
vis-editor: Fix dependency/add options.mk for ncursesw

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

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

diffstat:
 Makefile              |  2 ++
 pta/DESCR             | 23 ++++++++++++++++++++++
 pta/Makefile          | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++
 pta/PLIST             |  9 +++++++++
 pta/distinfo          |  5 +++++
 retawq/DESCR          |  6 ++++++
 retawq/Makefile       | 24 +++++++++++++++++++++++
 retawq/PLIST          |  2 ++
 retawq/distinfo       |  5 +++++
 vis-editor/Makefile   |  5 +++--
 vis-editor/distinfo   |  6 +++---
 vis-editor/options.mk | 19 ++++++++++++++++++
 12 files changed, 154 insertions(+), 5 deletions(-)

diffs:
diff --git a/Makefile b/Makefile
index 478821c99e..57e806893e 100644
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,8 @@
 
 COMMENT=	Work-in-progress packages
 
+SUBDIR+=	pta
+SUBDIR+=	retawq
 SUBDIR+=	2048-c
 SUBDIR+=	3dsconv
 SUBDIR+=	4ti2
diff --git a/pta/DESCR b/pta/DESCR
new file mode 100644
index 0000000000..0e4034cd75
--- /dev/null
+++ b/pta/DESCR
@@ -0,0 +1,23 @@
+TODO: Adjust the following lines from README
+
+# $Id: README,v 1.2 2020/09/27 15:38:25 schwarze Exp $
+#
+# Copyright (c) 2020 Ingo Schwarze <schwarze%openbsd.org@localhost>
+#
+# Permission to use, copy, modify, and distribute this software for any
+# purpose with or without fee is hereby granted, provided that the above
+# copyright notice and this permission notice appear in all copies.
+#
+# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+pta - the plain text accounting program
+---------------------------------------
+The Plain Text Accounting program reads bookkeeping journals and
+writes account lists, balances, and cost center assessments to
+...
diff --git a/pta/Makefile b/pta/Makefile
new file mode 100644
index 0000000000..e8ad97b5e8
--- /dev/null
+++ b/pta/Makefile
@@ -0,0 +1,53 @@
+# $NetBSD$
+
+DISTNAME=	pta-0.1
+CATEGORIES=	finance
+MASTER_SITES=	https://mandoc.bsd.lv/pta/release/
+
+MAINTAINER=	mk%asdfghasdfgh.de@localhost
+HOMEPAGE=	https://mandoc.bsd.lv/pta/release/
+COMMENT=	Reads and writes bookkeeping journals
+LICENSE=	isc
+
+USE_LANGUAGES=	# none
+USE_TOOLS=	perl:run
+REPLACE_PERL=	pta.pl
+
+EGDIR=		${PREFIX}/share/examples/${PKGBASE}
+#CONF_FILES=	${EGDIR}/journal.example.en ${PKG_SYSCONFDIR}/${PKGBASE}/journal.example.en
+#CONF_FILES=	${EGDIR}/accounts.example.de \
+#		${PKG_SYSCONFDIR}/${PKGBASE}/accounts.example.de
+#CONF_FILES=	${EGDIR}/accounts.example.en \
+		${PKG_SYSCONFDIR}/${PKGBASE}/accounts.example.en
+
+do-build:
+	${RM} '${WRKSRC}/Makefile'
+
+do-install:
+	${INSTALL_SCRIPT_DIR} '${DESTDIR}${PREFIX}/bin'
+	${INSTALL_SCRIPT} '${WRKSRC}/pta.pl' '${DESTDIR}${PREFIX}/bin/pta'
+
+	${INSTALL_MAN_DIR} '${DESTDIR}${PREFIX}/${PKGMANDIR}/man1'
+	${INSTALL_MAN} '${WRKSRC}/pta.1' \
+		'${DESTDIR}${PREFIX}/${PKGMANDIR}/man1'
+
+	${INSTALL_MAN_DIR} '${DESTDIR}${PREFIX}/${PKGMANDIR}/man5'
+	${INSTALL_MAN} '${WRKSRC}/pta-accounts.5' \
+		'${DESTDIR}${PREFIX}/${PKGMANDIR}/man5'
+	${INSTALL_MAN} '${WRKSRC}/pta-journal.5' \
+		'${DESTDIR}${PREFIX}/${PKGMANDIR}/man5'
+
+	${INSTALL_MAN_DIR} '${DESTDIR}${PREFIX}/${PKGMANDIR}/man7'
+	${INSTALL_MAN} '${WRKSRC}/pta-glossary.7' \
+		'${DESTDIR}${PREFIX}/${PKGMANDIR}/man7'
+
+	${INSTALL_DATA_DIR} '${DESTDIR}${EGDIR}'
+	${INSTALL_DATA} '${WRKSRC}/accounts.example.de' '${DESTDIR}${EGDIR}'
+
+	${INSTALL_DATA_DIR} '${DESTDIR}${EGDIR}'
+	${INSTALL_DATA} '${WRKSRC}/accounts.example.en' '${DESTDIR}${EGDIR}'
+
+	${INSTALL_DATA_DIR} '${DESTDIR}${EGDIR}'
+	${INSTALL_DATA} '${WRKSRC}/journal.example.en' '${DESTDIR}${EGDIR}'
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/pta/PLIST b/pta/PLIST
new file mode 100644
index 0000000000..f269987a52
--- /dev/null
+++ b/pta/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD$
+bin/pta
+man/man1/pta.1
+man/man5/pta-accounts.5
+man/man5/pta-journal.5
+man/man7/pta-glossary.7
+share/examples/pta/accounts.example.de
+share/examples/pta/accounts.example.en
+share/examples/pta/journal.example.en
diff --git a/pta/distinfo b/pta/distinfo
new file mode 100644
index 0000000000..695e5ef5d4
--- /dev/null
+++ b/pta/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (pta-0.1.tar.gz) = ae2709f561aebcdb84916ed38aaabb8ac580a3442f556b50107d5aa77a3ca7ee
+SHA512 (pta-0.1.tar.gz) = 12a85f42a4063a40af928f25a2b9e9a61588e830d0057db42d26d629ce2cda4d8344b4ba5b585b7798a01237bb34d9652a359be7c95953e31c2d80fe2af4f9ea
+Size (pta-0.1.tar.gz) = 19943 bytes
diff --git a/retawq/DESCR b/retawq/DESCR
new file mode 100644
index 0000000000..7acdafe05a
--- /dev/null
+++ b/retawq/DESCR
@@ -0,0 +1,6 @@
+retawq is an interactive, multi-threaded network client (web browser) for text
+terminals on computers with Unix-like operating systems. It is written in C,
+fast, small, nicely configurable, and comfortable; e.g. the low-level network
+communications are performed in a non-blocking way, and you can keep open as
+many "virtual windows" as you want and work simultaneously in two of them in a
+split-screen mode.
diff --git a/retawq/Makefile b/retawq/Makefile
new file mode 100644
index 0000000000..2606997879
--- /dev/null
+++ b/retawq/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD$
+
+DISTNAME=	retawq-0.2.6c
+CATEGORIES=	www
+MASTER_SITES=	http://prdownloads.sourceforge.net/retawq/
+
+MAINTAINER=	mk%asdfghasdfgh.de@localhost
+HOMEPAGE=	http://prdownloads.sourceforge.net/retawq/
+COMMENT=	Interactive, multi-threaded network client for text terminals
+LICENSE=	gnu-gpl-v2
+
+HAS_CONFIGURE=		yes
+USE_PKGLOCALEDIR=	yes
+USE_TOOLS+=		gmake
+
+CONFIGURE_ARGS+=	--path-archprefix=${PREFIX}
+CONFIGURE_ARGS+=	--path-prefix=${PREFIX}
+CONFIGURE_ARGS+=	--enable-i18n
+CONFIGURE_ARGS+=	--enable-local-cgi
+CONFIGURE_ARGS+=	--enable-ipv6
+
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../mk/curses.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/retawq/PLIST b/retawq/PLIST
new file mode 100644
index 0000000000..a8869a6c14
--- /dev/null
+++ b/retawq/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+bin/retawq
diff --git a/retawq/distinfo b/retawq/distinfo
new file mode 100644
index 0000000000..35f49a895d
--- /dev/null
+++ b/retawq/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (retawq-0.2.6c.tar.gz) = 9887f76ab546844f5221045aae00ad6e7b28fc43d2740ce3e7da6ad809f8f011
+SHA512 (retawq-0.2.6c.tar.gz) = 555f61460decf3108e85f0d0153d281a7b9a9fd2474563fcf47145bf969025ffcfad6d5dc0ae946bde11bdf880cc26ceb5cde3194194a1cbbaadc4a672a094f8
+Size (retawq-0.2.6c.tar.gz) = 393321 bytes
diff --git a/vis-editor/Makefile b/vis-editor/Makefile
index bfc63941ae..335e283bbd 100644
--- a/vis-editor/Makefile
+++ b/vis-editor/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD$
 
-DISTNAME=		vis-0.7
+DISTNAME=		vis-0.8
 PKGNAME=		${DISTNAME:S/vis/vis-editor/}
 CATEGORIES=		editors
 MASTER_SITES=		${MASTER_SITE_GITHUB:=martanne/}
@@ -45,6 +45,8 @@ SUBST_SED.binary-names+=	-e 's,vis-\(menu\),vis-editor-\1,g'
 
 LUA_VERSIONS_ACCEPTED=	52 53 54
 
+.include "options.mk"
+
 post-install:
 	${MV} ${DESTDIR}${PREFIX}/bin/vis ${DESTDIR}${PREFIX}/bin/vis-editor
 	${MV} ${DESTDIR}${PREFIX}/bin/vis-open ${DESTDIR}${PREFIX}/bin/vis-editor-open
@@ -60,6 +62,5 @@ post-install:
 	${MV} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/vis-menu.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/vis-editor-menu.1
 
 .include "../../lang/lua/buildlink3.mk"
-.include "../../mk/curses.buildlink3.mk"
 .include "../../devel/libtermkey/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/vis-editor/distinfo b/vis-editor/distinfo
index 652cdec217..0257ebc806 100644
--- a/vis-editor/distinfo
+++ b/vis-editor/distinfo
@@ -1,5 +1,5 @@
 $NetBSD$
 
-RMD160 (vis-0.7.tar.gz) = 8ebe72eed748feddabda6a1c0e9b7f3af0d370fd
-SHA512 (vis-0.7.tar.gz) = ccc6a054fea6917e7751882468a74c30c712f7ec400a913c95c0084691f706e2bee54efb86b75be8b121c9a209c7e587e72e5474c55271d9943e91fc8aaf9bac
-Size (vis-0.7.tar.gz) = 403918 bytes
+BLAKE2s (vis-0.8.tar.gz) = 34b1a92d88a5956ebb315bda0275d4ddd28509066f59db6a94bd0762c6150582
+SHA512 (vis-0.8.tar.gz) = ab4eda075034955411bdbc0ade2fe9149a48c644fa2f70add8d3b9d749f86b98a4e429745b5cae7fdbc0a1e07c8587539a055cd1c6734bb59e43c580c949e0aa
+Size (vis-0.8.tar.gz) = 404496 bytes
diff --git a/vis-editor/options.mk b/vis-editor/options.mk
new file mode 100644
index 0000000000..fa9e7a32ad
--- /dev/null
+++ b/vis-editor/options.mk
@@ -0,0 +1,19 @@
+# $NetBSD$
+PKG_OPTIONS_VAR=		PKG_OPTIONS.vis-editor
+
+PKG_OPTIONS_REQUIRED_GROUPS+=	curses
+PKG_OPTIONS_GROUP.curses=	curses ncurses
+
+PKG_SUGGESTED_OPTIONS=		ncurses
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mncurses)
+.  include "../../devel/ncursesw/buildlink3.mk"
+.else
+.  include "../../mk/curses.buildlink3.mk"
+.  if ${CURSES_TYPE} != "ncursesw"
+# See netbsd/README.md
+CONFIGURE_ARGS+=		--disable-unicode
+.  endif
+.endif


Home | Main Index | Thread Index | Old Index