From 203bbfed1319faf214d280d0001f0fc697b70026 Mon Sep 17 00:00:00 2001 From: John Zaitseff Date: Wed, 18 Jun 2014 21:39:43 +1000 Subject: [PATCH] Created input files required by cygport for a Cygwin package --- trader-7.5-1.src.patch | 23 +++++++++++++++++++++++ trader.cygport | 29 +++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 trader-7.5-1.src.patch create mode 100644 trader.cygport diff --git a/trader-7.5-1.src.patch b/trader-7.5-1.src.patch new file mode 100644 index 0000000..a9c21a3 --- /dev/null +++ b/trader-7.5-1.src.patch @@ -0,0 +1,23 @@ +diff -ruNa trader-7.5.orig/src/Makefile.am trader-7.5/src/Makefile.am +--- trader-7.5.orig/src/Makefile.am 2014-05-24 08:03:43.000000000 +1000 ++++ trader-7.5/src/Makefile.am 2014-06-18 20:45:54.734000200 +1000 +@@ -43,6 +43,6 @@ + + trader_CPPFLAGS = -I$(top_builddir)/lib -I$(top_srcdir)/lib \ + -DLOCALEDIR=\"$(localedir)\" +-trader_LDADD = @CURSES_LIB@ @LIBICONV@ $(top_builddir)/lib/libgnu.a @LIBINTL@ ++trader_LDADD = @CURSES_LIB@ $(top_builddir)/lib/libgnu.a @LIBICONV@ @LIBINTL@ + + EXTRA_DIST = README +diff -ruNa trader-7.5.orig/src/Makefile.in trader-7.5/src/Makefile.in +--- trader-7.5.orig/src/Makefile.in 2014-05-24 08:14:33.000000000 +1000 ++++ trader-7.5/src/Makefile.in 2014-06-18 20:46:29.158477600 +1000 +@@ -993,7 +993,7 @@ + trader_CPPFLAGS = -I$(top_builddir)/lib -I$(top_srcdir)/lib \ + -DLOCALEDIR=\"$(localedir)\" + +-trader_LDADD = @CURSES_LIB@ @LIBICONV@ $(top_builddir)/lib/libgnu.a @LIBINTL@ ++trader_LDADD = @CURSES_LIB@ $(top_builddir)/lib/libgnu.a @LIBICONV@ @LIBINTL@ + EXTRA_DIST = README + all: all-am + diff --git a/trader.cygport b/trader.cygport new file mode 100644 index 0000000..ac6f37b --- /dev/null +++ b/trader.cygport @@ -0,0 +1,29 @@ +# *********************************************************************** +# * * +# * Star Traders: A Game of Interstellar Trading * +# * Copyright (C) 1990-2014, John Zaitseff * +# * * +# *********************************************************************** + +# Author: John Zaitseff +# $Id: trader.cygport 548 2014-06-18 11:39:43Z john $ + +# This file is distributed under the same licence as Star Traders itself: +# the GNU General Public License, version 3 or later. + + +NAME="trader" +VERSION=7.5 +RELEASE=1 + +SUMMARY="Star Traders, a simple game of interstellar trading" +DESCRIPTION="Star Traders is a simple 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)." +CATEGORY="Games Text" + +DEPEND="libiconv libncurses-devel gettext-devel" + +HOMEPAGE="http://www.zap.org.au/software/trader/" +SRC_URI="ftp://ftp.zap.org.au/pub/trader/unix/${P}.tar.xz" +PATCH_URI="${PF}.src.patch"