summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-09-20 05:56:57 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-09-20 05:56:57 +0000
commit87973257824952bb861e2bace6f8d6b78db09b4c (patch)
tree518090882ca7013aa216628e0a76c680e30b1e1c /games
parentbump gpgme shlib version (diff)
add taipan 0.9
Taipan was (and is) a classic role-playing game from the 1980s PR: 35937 Submitted by: Dave Walton <dwalton@acm.org>
Notes
Notes: svn path=/head/; revision=66790
Diffstat (limited to 'games')
-rw-r--r--games/Makefile1
-rw-r--r--games/taipan/Makefile22
-rw-r--r--games/taipan/distinfo1
-rw-r--r--games/taipan/files/patch-aa26
-rw-r--r--games/taipan/files/patch-ab11
-rw-r--r--games/taipan/pkg-comment1
-rw-r--r--games/taipan/pkg-descr15
-rw-r--r--games/taipan/pkg-plist3
8 files changed, 80 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index 6a1310e9fcf9..3527fbe571d1 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -280,6 +280,7 @@
SUBDIR += stvef-paks
SUBDIR += stvef-server
SUBDIR += sxsame
+ SUBDIR += taipan
SUBDIR += tank
SUBDIR += teg
SUBDIR += tetrinet
diff --git a/games/taipan/Makefile b/games/taipan/Makefile
new file mode 100644
index 000000000000..d5c27ce2ed48
--- /dev/null
+++ b/games/taipan/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: taipan
+# Date created: 2002-03-15
+# Whom: Dave Walton <dwalton@acm.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= taipan
+PORTVERSION= 0.9
+CATEGORIES= games
+MASTER_SITES= ftp://ftp.ilbbs.com/pub/linux/
+
+MAINTAINER= ports@FreeBSD.org
+
+post-install:
+ @${STRIP_CMD} ${PREFIX}/bin/taipan
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/games/taipan/distinfo b/games/taipan/distinfo
new file mode 100644
index 000000000000..98041c7d5eea
--- /dev/null
+++ b/games/taipan/distinfo
@@ -0,0 +1 @@
+MD5 (taipan-0.9.tar.gz) = a34f8d6648a73b3f96fc22eced474317
diff --git a/games/taipan/files/patch-aa b/games/taipan/files/patch-aa
new file mode 100644
index 000000000000..18aade17118a
--- /dev/null
+++ b/games/taipan/files/patch-aa
@@ -0,0 +1,26 @@
+--- Makefile.orig Mon Dec 31 08:09:20 2001
++++ Makefile Fri Mar 15 14:52:14 2002
+@@ -18,12 +18,12 @@
+ # install - installs taipan
+
+ prefix = /usr/local
+-bindir = $(prefix)/games
++bindir = $(prefix)/bin
+
+ # 'make install' will compile and install the program
+
+ CC = gcc
+-CFLAGS = -O3 -Wall
++CFLAGS += -O3 -Wall
+ OBJECTS = taipan.o
+ LIBS = -lcurses
+ RM = rm -f
+@@ -34,7 +34,7 @@
+ $(RM) taipan $(OBJECTS)
+
+ install: taipan
+- install -m 4755 -o root -g root -s taipan $(bindir)
++ install -m 755 -o root -g wheel -s taipan $(bindir)
+
+ taipan: $(OBJECTS)
+ $(CC) $(CFLAGS) -o taipan $(OBJECTS) $(LIBS)
diff --git a/games/taipan/files/patch-ab b/games/taipan/files/patch-ab
new file mode 100644
index 000000000000..35a18b4187ed
--- /dev/null
+++ b/games/taipan/files/patch-ab
@@ -0,0 +1,11 @@
+--- taipan.c.orig Fri Mar 15 15:05:41 2002
++++ taipan.c Fri Mar 15 15:08:30 2002
+@@ -2572,7 +2572,7 @@
+ amount = get_num(9);
+ if (amount == -1)
+ {
+- amount = cash;
++ amount = repair_price;
+ }
+ if (amount <= cash)
+ {
diff --git a/games/taipan/pkg-comment b/games/taipan/pkg-comment
new file mode 100644
index 000000000000..ec781b3b1793
--- /dev/null
+++ b/games/taipan/pkg-comment
@@ -0,0 +1 @@
+Taipan was (and is) a classic role-playing game from the 1980s
diff --git a/games/taipan/pkg-descr b/games/taipan/pkg-descr
new file mode 100644
index 000000000000..f0a1f145ef95
--- /dev/null
+++ b/games/taipan/pkg-descr
@@ -0,0 +1,15 @@
+Taipan was (and is) a classic role-playing game from the 1980s.
+While not as graphically oriented as some of the other popular games
+of the time (e.g. Choplifter, Karateka, and Lode Runner), Taipan still
+managed to capture the imagination of almost every player that laid
+hands upon it.
+
+Loosely based upon James Clavell's best-selling novel "Tai-Pan", the
+game lets you play the role of an ocean-going trader doing business in
+major Asian ports during the mid-1800s. Your objective is simple: make
+the most money possible by trading and pirating. Based out of Hong Kong,
+you'll sail from harbor to harbor buying commodities including opium,
+silk, arms, and "general" goods, and selling them again at a higher
+price elsewhere.
+
+WWW: http://freshmeat.net/projects/taipan/
diff --git a/games/taipan/pkg-plist b/games/taipan/pkg-plist
new file mode 100644
index 000000000000..ccb4e9a62d05
--- /dev/null
+++ b/games/taipan/pkg-plist
@@ -0,0 +1,3 @@
+bin/taipan
+%%PORTDOCS%%share/doc/taipan/README
+%%PORTDOCS%%@dirrm share/doc/taipan