pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
trader: remove, imported in pkgsrc as games/trader.
Module Name: pkgsrc-wip
Committed By: Frederic Cambus <fred%statdns.com@localhost>
Pushed By: fcambus
Date: Tue May 4 10:23:30 2021 +0200
Changeset: 71f0cffe00146d23a908f77da7561cb0f0fb0f53
Modified Files:
Makefile
Removed Files:
trader/DESCR
trader/Makefile
trader/PLIST
trader/distinfo
trader/patches/patch-src_utils.c
Log Message:
trader: remove, imported in pkgsrc as games/trader.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=71f0cffe00146d23a908f77da7561cb0f0fb0f53
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 -
trader/DESCR | 3 ---
trader/Makefile | 19 -------------------
trader/PLIST | 33 ---------------------------------
trader/distinfo | 7 -------
trader/patches/patch-src_utils.c | 35 -----------------------------------
6 files changed, 98 deletions(-)
diffs:
diff --git a/Makefile b/Makefile
index 7b89b6eb5d..1888ff8aa0 100644
--- a/Makefile
+++ b/Makefile
@@ -5558,7 +5558,6 @@ SUBDIR+= trac-plugins-screenshots
SUBDIR+= trac-plugins-spamfilter-svn
SUBDIR+= trackballs
SUBDIR+= tracy
-SUBDIR+= trader
SUBDIR+= translate-toolkit
SUBDIR+= trayion
SUBDIR+= treetool
diff --git a/trader/DESCR b/trader/DESCR
deleted file mode 100644
index 4cdc919152..0000000000
--- a/trader/DESCR
+++ /dev/null
@@ -1,3 +0,0 @@
-Star Traders is a simple text-based game of interstellar trading, where
-the objective is to create companies, buy and sell shares, borrow and
-repay money, in order to become the wealthiest player (the winner).
diff --git a/trader/Makefile b/trader/Makefile
deleted file mode 100644
index a3d1ca04ff..0000000000
--- a/trader/Makefile
+++ /dev/null
@@ -1,19 +0,0 @@
-# $NetBSD$
-
-DISTNAME= trader-7.16
-CATEGORIES= games
-MASTER_SITES= https://ftp.zap.org.au/pub/trader/unix/
-
-MAINTAINER= fcambus%NetBSD.org@localhost
-HOMEPAGE= https://www.zap.org.au/projects/trader/
-COMMENT= Simple text-based game of interstellar trading
-LICENSE= gnu-gpl-v3
-
-GNU_CONFIGURE= yes
-USE_PKGLOCALEDIR= yes
-
-.include "../../devel/gettext-lib/buildlink3.mk"
-.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
-.include "../../sysutils/desktop-file-utils/desktopdb.mk"
-.include "../../mk/curses.buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/trader/PLIST b/trader/PLIST
deleted file mode 100644
index 4aa066b7eb..0000000000
--- a/trader/PLIST
+++ /dev/null
@@ -1,33 +0,0 @@
-@comment $NetBSD$
-bin/trader
-man/man6/trader.6
-share/applications/trader.desktop
-share/icons/hicolor/128x128/apps/trader.png
-share/icons/hicolor/16x16/apps/trader.png
-share/icons/hicolor/22x22/apps/trader.png
-share/icons/hicolor/24x24/apps/trader.png
-share/icons/hicolor/256x256/apps/trader.png
-share/icons/hicolor/32x32/apps/trader.png
-share/icons/hicolor/48x48/apps/trader.png
-share/icons/hicolor/512x512/apps/trader.png
-share/icons/hicolor/64x64/apps/trader.png
-share/icons/hicolor/96x96/apps/trader.png
-share/icons/hicolor/scalable/apps/trader.svg
-share/locale/da/LC_MESSAGES/trader.mo
-share/locale/de/LC_MESSAGES/trader.mo
-share/locale/en@quot/LC_MESSAGES/trader.mo
-share/locale/en_AU/LC_MESSAGES/trader.mo
-share/locale/en_CA/LC_MESSAGES/trader.mo
-share/locale/en_GB/LC_MESSAGES/trader.mo
-share/locale/en_US/LC_MESSAGES/trader.mo
-share/locale/eo/LC_MESSAGES/trader.mo
-share/locale/fi/LC_MESSAGES/trader.mo
-share/locale/fr/LC_MESSAGES/trader.mo
-share/locale/hr/LC_MESSAGES/trader.mo
-share/locale/hu/LC_MESSAGES/trader.mo
-share/locale/nb/LC_MESSAGES/trader.mo
-share/locale/pt_BR/LC_MESSAGES/trader.mo
-share/locale/ru/LC_MESSAGES/trader.mo
-share/locale/sr/LC_MESSAGES/trader.mo
-share/locale/sv/LC_MESSAGES/trader.mo
-share/metainfo/trader.appdata.xml
diff --git a/trader/distinfo b/trader/distinfo
deleted file mode 100644
index 47bd167bc7..0000000000
--- a/trader/distinfo
+++ /dev/null
@@ -1,7 +0,0 @@
-$NetBSD$
-
-SHA1 (trader-7.16.tar.gz) = c98d61bf884f0ddd76b87e82552c0e864890cf12
-RMD160 (trader-7.16.tar.gz) = 460e358223a98c966ab109c9ddd1ed234de0407b
-SHA512 (trader-7.16.tar.gz) = a5565f26844c8aa98e18c0e90c75f2e0c4cafb43123b7d6be6228d278912ca76048d41d4d6711a31c9f6e22d5f62b9ba18105366fc4a1ea1cedeac1ba3fec794
-Size (trader-7.16.tar.gz) = 1259294 bytes
-SHA1 (patch-src_utils.c) = 80d5e22f7c01359ba8d881c9c2b1b27fc0882599
diff --git a/trader/patches/patch-src_utils.c b/trader/patches/patch-src_utils.c
deleted file mode 100644
index 8002392d8f..0000000000
--- a/trader/patches/patch-src_utils.c
+++ /dev/null
@@ -1,35 +0,0 @@
-$NetBSD$
-
-- Do not use err_exit() to generate error messages when locale initialization
- fails as in this case curs_set() is called before initscr(), which causes
- trader to crash when built with NetBSD curses.
-
-- Avoid using strfmon(3) on NetBSD, there are formatting issues when LANG is
- set to anything else than C.
-
---- src/utils.c.orig 2021-01-19 05:42:38.000000000 +0000
-+++ src/utils.c
-@@ -591,8 +591,9 @@ extern void init_locale (void)
-
- // Initialise the current locale
- if (setlocale(LC_ALL, "") == NULL) {
-- err_exit("could not set locale "
-- "(check LANG, LC_ALL and LANGUAGE in environment)");
-+ fprintf(stderr, "%s: %s\n", program_name, "could not set locale "
-+ "(check LANG, LC_ALL and LANGUAGE in environment)");
-+ exit(EXIT_FAILURE);
- }
-
- // Use correct message catalogs for the locale
-@@ -682,7 +683,11 @@ ssize_t xwcsfmon (wchar_t *restrict buf,
- produce "12345" instead of something like "-$123.45"! The
- following code overcomes these limitations by using snprintf(). */
-
-+#if defined(__NetBSD__)
-+ if (0) {
-+#else
- if (! is_posix_locale) {
-+#endif
- n = strfmon(s, BUFSIZE, format, val);
- } else {
- /* The current implementation assumes the monetary decimal point
Home |
Main Index |
Thread Index |
Old Index