Add xsoldier 0.96 port.
This commit is contained in:
parent
b1a6145520
commit
d4b1cf4454
20
games/xsoldier/Makefile
Normal file
20
games/xsoldier/Makefile
Normal file
@ -0,0 +1,20 @@
|
||||
# OpenBSD makefile for: xsoldier
|
||||
# Version required: 0.96
|
||||
# Date created: December 6, 1997
|
||||
# Whom: Angelos D. Keromytis
|
||||
#
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 1997/12/07 04:31:25 angelos Exp $
|
||||
#
|
||||
|
||||
DISTNAME= xsoldier-0.96
|
||||
CATEGORIES= games x11
|
||||
MASTER_SITES= http://www.educ.info.kanagawa-u.ac.jp/~s945750/xsoldier/
|
||||
|
||||
MAINTAINER= angelos@openbsd.org
|
||||
|
||||
LIB_DEPENDS= Xpm\\.4\\.:${PORTSDIR}/graphics/xpm
|
||||
|
||||
USE_IMAKE= yes
|
||||
NO_INSTALL_MANPAGES= yes
|
||||
|
||||
.include <bsd.port.mk>
|
1
games/xsoldier/files/md5
Normal file
1
games/xsoldier/files/md5
Normal file
@ -0,0 +1 @@
|
||||
MD5 (xsoldier-0.96.tar.gz) = 63f7ef2cd4de43524486b48c0f097553
|
121
games/xsoldier/patches/patch-aa
Normal file
121
games/xsoldier/patches/patch-aa
Normal file
@ -0,0 +1,121 @@
|
||||
*** Imakefile.orig Sat Mar 1 00:48:57 1997
|
||||
--- Imakefile Sun May 25 19:40:53 1997
|
||||
***************
|
||||
*** 6,63 ****
|
||||
|
||||
|
||||
/* ----------------------------------------------------------------------- */
|
||||
! /* -------------------- その1 インストール先の設定 ----------------------- */
|
||||
/* ----------------------------------------------------------------------- */
|
||||
|
||||
! /* インストールディレクトリ */
|
||||
! /* 書き込み権限が無いとインストール出来ません.=> 遊べない.(^^; */
|
||||
! PIXMAPDIR = /usr/local/games/lib/xsoldier
|
||||
! SCOREDIR = /usr/local/games/lib/xsoldier
|
||||
! BINDIR = /usr/local/games
|
||||
|
||||
! /* スコアファイル名.SCOREDIR 以下に置かれます. */
|
||||
SCOREFILE = .scorefile
|
||||
|
||||
|
||||
/* ----------------------------------------------------------------------- */
|
||||
! /* --------------------- その2 コンパイルの設定 -------------------------- */
|
||||
/* ----------------------------------------------------------------------- */
|
||||
|
||||
! /* xmkmf の Makefile で cc になっちゃう場合 */
|
||||
/* CC = gcc */
|
||||
|
||||
! /* xpmがXと異なるディレクトリにインストールされている場合 */
|
||||
/* XPMINCDIR = /usr/X11R6/include */
|
||||
/* XPMLIBDIR = /usr/X11R6/lib */
|
||||
! /* ココに path を書いて */
|
||||
/* XPMINCFLAGS = -I$(XPMINCDIR) */
|
||||
/* XPMLIBFLAGS = -L$(XPMLIBDIR) */
|
||||
! /* 上の2つのコメントを解除してください */
|
||||
|
||||
! /* ゲームのウエイト */
|
||||
WAIT = 35000
|
||||
|
||||
! /* その他コンパイルオプション */
|
||||
! /* -DDUPSCORE … 同一人物がハイスコアに複数エントリ出来る */
|
||||
! /* -DSYSV … SystemV 系などで random 関数が無い場合, */
|
||||
! /* かわりに srand48 と lrand48 関数を使用します */
|
||||
LOCAL_DEF =
|
||||
|
||||
! /* ジョイスティックを使う場合 */
|
||||
/* #define JOYSTICK */
|
||||
|
||||
|
||||
/* ----------------------------------------------------------------------- */
|
||||
! /* ------------------ その3 インストールコマンドの設定 ------------------- */
|
||||
/* ----------------------------------------------------------------------- */
|
||||
|
||||
! /* Solarisでopenwinを使用してコンパイルするときに必要 */
|
||||
/* INSTALL = /usr/ucb/install */
|
||||
|
||||
|
||||
/* ----------------------------------------------------------------------- */
|
||||
/* */
|
||||
! /* 基本的にここから下はいぢらなくて済むハズ */
|
||||
/* */
|
||||
/* ----------------------------------------------------------------------- */
|
||||
|
||||
--- 6,63 ----
|
||||
|
||||
|
||||
/* ----------------------------------------------------------------------- */
|
||||
! /* ---------------------- PART1 INSTALL DIRECTORY ------------------------ */
|
||||
/* ----------------------------------------------------------------------- */
|
||||
|
||||
! /* Install Directory */
|
||||
! /* You can't install without write permission of these. => Unplayable. (^^;*/
|
||||
! PIXMAPDIR = /usr/X11R6/lib/X11/xsoldier
|
||||
! SCOREDIR = /usr/X11R6/lib/X11/xsoldier
|
||||
! BINDIR = /usr/X11R6/bin
|
||||
|
||||
! /* Score File Name. It's under SCOREDIR. */
|
||||
SCOREFILE = .scorefile
|
||||
|
||||
|
||||
/* ----------------------------------------------------------------------- */
|
||||
! /* ------------------- PART2 COMPILE CONFIGURATION ----------------------- */
|
||||
/* ----------------------------------------------------------------------- */
|
||||
|
||||
! /* What compiler do you want to use? */
|
||||
/* CC = gcc */
|
||||
|
||||
! /* If you have xpm not in the X directory. */
|
||||
/* XPMINCDIR = /usr/X11R6/include */
|
||||
/* XPMLIBDIR = /usr/X11R6/lib */
|
||||
! /* Write path name here and ..... */
|
||||
/* XPMINCFLAGS = -I$(XPMINCDIR) */
|
||||
/* XPMLIBFLAGS = -L$(XPMLIBDIR) */
|
||||
! /* Uncomment the upper 2 lines. */
|
||||
|
||||
! /* Game Wait */
|
||||
WAIT = 35000
|
||||
|
||||
! /* The other compile options */
|
||||
! /* -DDUPSCORE -> Allow multiple entry in the high score */
|
||||
! /* -DSYSV -> Specify when not have random functions(SystemV etc.) */
|
||||
! /* Use srand48 and lrand48 instead. */
|
||||
LOCAL_DEF =
|
||||
|
||||
! /* When you use the joystick */
|
||||
/* #define JOYSTICK */
|
||||
|
||||
|
||||
/* ----------------------------------------------------------------------- */
|
||||
! /* ------------------ PART3 INSTALL COMMAND CONFIGURATION ---------------- */
|
||||
/* ----------------------------------------------------------------------- */
|
||||
|
||||
! /* You need this when you use openwin on Solaris. */
|
||||
/* INSTALL = /usr/ucb/install */
|
||||
|
||||
|
||||
/* ----------------------------------------------------------------------- */
|
||||
/* */
|
||||
! /* Basically, you don't need change below. */
|
||||
/* */
|
||||
/* ----------------------------------------------------------------------- */
|
||||
|
10
games/xsoldier/patches/patch-ab
Normal file
10
games/xsoldier/patches/patch-ab
Normal file
@ -0,0 +1,10 @@
|
||||
--- manage.c.orig Mon Jun 9 19:41:29 1997
|
||||
+++ manage.c Mon Jun 9 19:41:41 1997
|
||||
@@ -9,7 +9,6 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
-#include <malloc.h>
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/Xutil.h>
|
||||
|
6
games/xsoldier/patches/patch-ac
Normal file
6
games/xsoldier/patches/patch-ac
Normal file
@ -0,0 +1,6 @@
|
||||
*** /dev/null Sat Dec 6 23:24:46 1997
|
||||
--- xsoldier.man Sat Dec 6 23:27:04 1997
|
||||
***************
|
||||
*** 0 ****
|
||||
--- 1 ----
|
||||
+
|
1
games/xsoldier/pkg/COMMENT
Normal file
1
games/xsoldier/pkg/COMMENT
Normal file
@ -0,0 +1 @@
|
||||
shooting game for x11
|
42
games/xsoldier/pkg/DESCR
Normal file
42
games/xsoldier/pkg/DESCR
Normal file
@ -0,0 +1,42 @@
|
||||
Xsoldier is a shooting game for x11.
|
||||
|
||||
OPTIONS:
|
||||
-display <displayname> Specify display.
|
||||
|
||||
-wait <unsigned int n> Specify wait. To change this will let
|
||||
your highscore unregistered.
|
||||
|
||||
-cmap Use default colormap.
|
||||
Without this option, xsoldier use pri-
|
||||
vate colormap.
|
||||
|
||||
-score Show 10 highscores.
|
||||
|
||||
-help Show usage message.
|
||||
|
||||
You can use the head 1 charactor of an option instead.
|
||||
|
||||
PLAY:
|
||||
% xsolder
|
||||
|
||||
- Start game with [space]
|
||||
- Cursor keys to move, [left-shift] to shot
|
||||
- Defeat enemies and you sometimes find [Weapon] or [Power]
|
||||
- You can change your speed with [a] and [s]
|
||||
- [p] to pause the game and [q] to return to the title
|
||||
- [q] at the title to quit game
|
||||
- Boss at the last of a stage to defeat for the next stage
|
||||
- You can get bonus points along defeat average at clear
|
||||
stage
|
||||
- 1UP per 100,000 points
|
||||
- 8 stages all and try to clear!!
|
||||
|
||||
AUTHOR:
|
||||
When you find bugs or some, please e-mail to the author
|
||||
|
||||
s945750@educ.info.kanagawa-u.ac.jp
|
||||
|
||||
Xsoldier home page is
|
||||
|
||||
http://www.educ.info.kanagawa-u.ac.jp/~s945750/xsoldier.html
|
||||
|
31
games/xsoldier/pkg/PLIST
Normal file
31
games/xsoldier/pkg/PLIST
Normal file
@ -0,0 +1,31 @@
|
||||
bin/xsoldier
|
||||
lib/X11/xsoldier/.scorefile
|
||||
lib/X11/xsoldier/Boss1.xpm
|
||||
lib/X11/xsoldier/Boss2.xpm
|
||||
lib/X11/xsoldier/Boss3.xpm
|
||||
lib/X11/xsoldier/Boss4.xpm
|
||||
lib/X11/xsoldier/Boss5.xpm
|
||||
lib/X11/xsoldier/Boss6.xpm
|
||||
lib/X11/xsoldier/Boss7.xpm
|
||||
lib/X11/xsoldier/Enemy1.xpm
|
||||
lib/X11/xsoldier/Enemy2.xpm
|
||||
lib/X11/xsoldier/Enemy3.xpm
|
||||
lib/X11/xsoldier/Enemy4.xpm
|
||||
lib/X11/xsoldier/Enemy5.xpm
|
||||
lib/X11/xsoldier/Enemy6.xpm
|
||||
lib/X11/xsoldier/Enemy7.xpm
|
||||
lib/X11/xsoldier/EnemyBound.xpm
|
||||
lib/X11/xsoldier/EnemyLaser.xpm
|
||||
lib/X11/xsoldier/EnemyMiss.xpm
|
||||
lib/X11/xsoldier/EnemyRing.xpm
|
||||
lib/X11/xsoldier/EnemyShot.xpm
|
||||
lib/X11/xsoldier/ExpLarge.xpm
|
||||
lib/X11/xsoldier/ExpSmall.xpm
|
||||
lib/X11/xsoldier/Item.xpm
|
||||
lib/X11/xsoldier/Player.xpm
|
||||
lib/X11/xsoldier/PlayerShot1.xpm
|
||||
lib/X11/xsoldier/PlayerShot2.xpm
|
||||
lib/X11/xsoldier/PlayerShot3.xpm
|
||||
lib/X11/xsoldier/Star1.xpm
|
||||
lib/X11/xsoldier/Star2.xpm
|
||||
lib/X11/xsoldier/Title.xpm
|
3
games/xsoldier/scripts/configure
vendored
Normal file
3
games/xsoldier/scripts/configure
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
/usr/bin/perl -pi -e 's|/usr/X11R6|'$X11BASE'|g' $WRKSRC/Imakefile
|
Loading…
Reference in New Issue
Block a user