summaryrefslogtreecommitdiff
path: root/games/vms-empire
diff options
context:
space:
mode:
authorjmmv <jmmv>2003-06-02 14:09:48 +0000
committerjmmv <jmmv>2003-06-02 14:09:48 +0000
commit904320e1f00861729ace8119d05c3caf99203f49 (patch)
tree9d51613c2d4a92e4b48788a53d16876aa061a8b3 /games/vms-empire
parent4bd340e3d6aee292b8bba5c5bc6c42b3c8a35c76 (diff)
downloadpkgsrc-904320e1f00861729ace8119d05c3caf99203f49.tar.gz
Initial import of vms-empire, version 1.4:
VMS-Empire is a simulation of a full-scale war between two emperors, the computer and you. Naturally, there is only room for one, so the object of the game is to destroy the other. The computer plays by the same rules that you do. This game is the ancestor of all the multiplayer Empire simulations out there. Package provided in pkgsrc-wip by pancake@phreaker.net with some changes by me.
Diffstat (limited to 'games/vms-empire')
-rw-r--r--games/vms-empire/DESCR5
-rw-r--r--games/vms-empire/Makefile19
-rw-r--r--games/vms-empire/PLIST3
-rw-r--r--games/vms-empire/distinfo5
-rw-r--r--games/vms-empire/patches/patch-aa31
5 files changed, 63 insertions, 0 deletions
diff --git a/games/vms-empire/DESCR b/games/vms-empire/DESCR
new file mode 100644
index 00000000000..d4de9b70c15
--- /dev/null
+++ b/games/vms-empire/DESCR
@@ -0,0 +1,5 @@
+VMS-Empire is a simulation of a full-scale war between two emperors, the
+computer and you. Naturally, there is only room for one, so the object of
+the game is to destroy the other. The computer plays by the same rules that
+you do. This game is the ancestor of all the multiplayer Empire simulations
+out there.
diff --git a/games/vms-empire/Makefile b/games/vms-empire/Makefile
new file mode 100644
index 00000000000..5ca463b71d5
--- /dev/null
+++ b/games/vms-empire/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/06/02 14:09:48 jmmv Exp $
+#
+
+DISTNAME= vms-empire-1.4
+CATEGORIES= games
+MASTER_SITES= http://www.catb.org/~esr/vms-empire/
+
+MAINTAINER= pancake@phreaker.net
+HOMEPAGE= http://www.catb.org/~esr/vms-empire/
+COMMENT= Solitaire Empire (sometimes called "VMS Empire")
+
+USE_BUILDLINK2= yes
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/vms-empire ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/vms-empire.6 ${PREFIX}/man/man6/vms-empire.6
+
+.include "../../devel/ncurses/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/games/vms-empire/PLIST b/games/vms-empire/PLIST
new file mode 100644
index 00000000000..60a6f87fc45
--- /dev/null
+++ b/games/vms-empire/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/06/02 14:09:48 jmmv Exp $
+bin/vms-empire
+man/man6/vms-empire.6
diff --git a/games/vms-empire/distinfo b/games/vms-empire/distinfo
new file mode 100644
index 00000000000..94a13befb12
--- /dev/null
+++ b/games/vms-empire/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/06/02 14:09:48 jmmv Exp $
+
+SHA1 (vms-empire-1.4.tar.gz) = 88be68a9232f65acf51fa5e7ba15f269745a5e8b
+Size (vms-empire-1.4.tar.gz) = 84453 bytes
+SHA1 (patch-aa) = a0ae58bb2b5468ef684f9f660be162c0a01b6767
diff --git a/games/vms-empire/patches/patch-aa b/games/vms-empire/patches/patch-aa
new file mode 100644
index 00000000000..c30bad83c60
--- /dev/null
+++ b/games/vms-empire/patches/patch-aa
@@ -0,0 +1,31 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/06/02 14:09:49 jmmv Exp $
+
+--- Makefile.orig 2002-08-01 21:04:02.000000000 +0200
++++ Makefile
+@@ -19,7 +19,7 @@ SYS = LINUX
+ # Use -g to compile the program for debugging.
+
+ #DEBUG = -g -DDEBUG -Wall
+-DEBUG = -O2
++#DEBUG = -O2
+
+ # Use -p to profile the program.
+ #PROFILE = -p -DPROFILE
+@@ -29,7 +29,7 @@ LIBS = -lncurses
+
+ # You shouldn't have to modify anything below this line.
+
+-CFLAGS = $(DEBUG) $(PROFILE) -D$(SYS)
++CFLAGS += $(DEBUG) $(PROFILE) -D$(SYS)
+
+ FILES = \
+ attack.c \
+@@ -68,7 +68,7 @@ OFILES = \
+ all: vms-empire
+
+ vms-empire: $(OFILES)
+- $(CC) $(PROFILE) -o vms-empire $(OFILES) $(LIBS)
++ $(CC) $(PROFILE) -o vms-empire $(OFILES) $(LIBS) $(LDFLAGS)
+
+ TAGS: $(HEADERS) $(FILES)
+ etags $(HEADERS) $(FILES)