FreeBSD Bugzilla – Attachment 250364 Details for
Bug 278349
[NEW PORT] games/star_traders: Simple text-based game of interstellar trading
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to add games/star_traders and SUBDIR entry (reformatted)
star_traders-v2.patch (text/plain), 5.29 KB, created by
Petteri Valkonen
on 2024-05-04 13:23:14 UTC
(
hide
)
Description:
Patch to add games/star_traders and SUBDIR entry (reformatted)
Filename:
MIME Type:
Creator:
Petteri Valkonen
Created:
2024-05-04 13:23:14 UTC
Size:
5.29 KB
patch
obsolete
>From f897cc8df6e66003d0bf01ec84f9ff8fe16cc2ce Mon Sep 17 00:00:00 2001 >From: Petteri Valkonen <petteri.valkonen@iki.fi> >Date: Sat, 13 Apr 2024 20:11:33 +0300 >Subject: [PATCH 1/3] Add games/star_traders > >--- > games/star_traders/Makefile | 25 +++++++++++++++++++++++++ > games/star_traders/distinfo | 3 +++ > games/star_traders/pkg-descr | 3 +++ > games/star_traders/pkg-plist | 35 +++++++++++++++++++++++++++++++++++ > 4 files changed, 66 insertions(+) > create mode 100644 games/star_traders/Makefile > create mode 100644 games/star_traders/distinfo > create mode 100644 games/star_traders/pkg-descr > create mode 100644 games/star_traders/pkg-plist > >diff --git a/games/star_traders/Makefile b/games/star_traders/Makefile >new file mode 100644 >index 000000000..221734731 >--- /dev/null >+++ b/games/star_traders/Makefile >@@ -0,0 +1,25 @@ >+PORTNAME= star_traders >+PORTVERSION= 7.20 >+CATEGORIES= games >+MASTER_SITES= https://ftp.zap.org.au/pub/trader/unix/ >+DISTNAME= trader-${PORTVERSION} >+ >+MAINTAINER= petteri.valkonen@iki.fi >+COMMENT= Simple text-based game of interstellar trading >+WWW= https://www.zap.org.au/projects/trader >+ >+LICENSE= GPLv3 >+ >+WRKSRC= ${WRKDIR}/${DISTNAME} >+USES= iconv ncurses tar:xz >+GNU_CONFIGURE= yes >+ >+OPTIONS_DEFINE= NLS >+OPTIONS_DEFAULT= NLS >+OPTIONS_SUB= yes >+NLS_USES= gettext-runtime >+NLS_CONFIGURE_OFF= --disable-nls >+ >+INSTALL_TARGET= install-strip >+ >+.include <bsd.port.mk> >diff --git a/games/star_traders/distinfo b/games/star_traders/distinfo >new file mode 100644 >index 000000000..27096719f >--- /dev/null >+++ b/games/star_traders/distinfo >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1711991778 >+SHA256 (trader-7.20.tar.xz) = bad368c471d7f4c371fbe8f5da24872f9e3ad609ddb7dad0e015c960c88b3aa9 >+SIZE (trader-7.20.tar.xz) = 689256 >diff --git a/games/star_traders/pkg-descr b/games/star_traders/pkg-descr >new file mode 100644 >index 000000000..4cdc91915 >--- /dev/null >+++ b/games/star_traders/pkg-descr >@@ -0,0 +1,3 @@ >+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/games/star_traders/pkg-plist b/games/star_traders/pkg-plist >new file mode 100644 >index 000000000..bd3e88baf >--- /dev/null >+++ b/games/star_traders/pkg-plist >@@ -0,0 +1,35 @@ >+bin/trader >+share/man/man6/trader.6.gz >+share/applications/au.org.zap.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 >+%%NLS%%share/locale/da/LC_MESSAGES/trader.mo >+%%NLS%%share/locale/de/LC_MESSAGES/trader.mo >+%%NLS%%share/locale/en@quot/LC_MESSAGES/trader.mo >+%%NLS%%share/locale/en_AU/LC_MESSAGES/trader.mo >+%%NLS%%share/locale/en_CA/LC_MESSAGES/trader.mo >+%%NLS%%share/locale/en_GB/LC_MESSAGES/trader.mo >+%%NLS%%share/locale/en_US/LC_MESSAGES/trader.mo >+%%NLS%%share/locale/eo/LC_MESSAGES/trader.mo >+%%NLS%%share/locale/fi/LC_MESSAGES/trader.mo >+%%NLS%%share/locale/fr/LC_MESSAGES/trader.mo >+%%NLS%%share/locale/hr/LC_MESSAGES/trader.mo >+%%NLS%%share/locale/hu/LC_MESSAGES/trader.mo >+%%NLS%%share/locale/nb/LC_MESSAGES/trader.mo >+%%NLS%%share/locale/pl/LC_MESSAGES/trader.mo >+%%NLS%%share/locale/pt_BR/LC_MESSAGES/trader.mo >+%%NLS%%share/locale/ro/LC_MESSAGES/trader.mo >+%%NLS%%share/locale/ru/LC_MESSAGES/trader.mo >+%%NLS%%share/locale/sr/LC_MESSAGES/trader.mo >+%%NLS%%share/locale/sv/LC_MESSAGES/trader.mo >+%%NLS%%share/locale/uk/LC_MESSAGES/trader.mo >+share/metainfo/au.org.zap.trader.metainfo.xml >-- >2.44.0 > > >From 502fd1880eecc5635a48761fe22c7df08c0ba216 Mon Sep 17 00:00:00 2001 >From: Petteri Valkonen <petteri.valkonen@iki.fi> >Date: Fri, 3 May 2024 08:47:20 +0300 >Subject: [PATCH 2/3] Add SUBDIR entry for games/star_traders > >--- > games/Makefile | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/games/Makefile b/games/Makefile >index cec5a5bac..29ea9c1b8 100644 >--- a/games/Makefile >+++ b/games/Makefile >@@ -932,6 +932,7 @@ > SUBDIR += species > SUBDIR += spellcast > SUBDIR += spicetrade >+ SUBDIR += star_traders > SUBDIR += starfighter > SUBDIR += starlanes > SUBDIR += steelstorm >-- >2.44.0 > > >From fb2f330b726521cee2bc1a5584c724b041665e6e Mon Sep 17 00:00:00 2001 >From: Petteri Valkonen <petteri.valkonen@iki.fi> >Date: Sat, 4 May 2024 16:15:46 +0300 >Subject: [PATCH 3/3] Re-arrange Makefile > >--- > games/star_traders/Makefile | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > >diff --git a/games/star_traders/Makefile b/games/star_traders/Makefile >index 221734731..2c1d51b10 100644 >--- a/games/star_traders/Makefile >+++ b/games/star_traders/Makefile >@@ -10,16 +10,17 @@ WWW= https://www.zap.org.au/projects/trader > > LICENSE= GPLv3 > >-WRKSRC= ${WRKDIR}/${DISTNAME} > USES= iconv ncurses tar:xz > GNU_CONFIGURE= yes > >+INSTALL_TARGET= install-strip >+ >+WRKSRC= ${WRKDIR}/${DISTNAME} >+ > OPTIONS_DEFINE= NLS > OPTIONS_DEFAULT= NLS > OPTIONS_SUB= yes > NLS_USES= gettext-runtime > NLS_CONFIGURE_OFF= --disable-nls > >-INSTALL_TARGET= install-strip >- > .include <bsd.port.mk> >-- >2.44.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
petteri.valkonen
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 278349
:
249958
|
250348
| 250364