diff options
author | andreas <andreas@FreeBSD.org> | 1997-02-16 18:54:58 +0800 |
---|---|---|
committer | andreas <andreas@FreeBSD.org> | 1997-02-16 18:54:58 +0800 |
commit | ec5ca1a8af460649d8dce02b4c4c719254938ea7 (patch) | |
tree | 16fabc8babcc33958ed22ad2ed6ad74d9494dce1 /games | |
parent | f866876eaf59cb53606a9a4aaf4ccbb6d9829c14 (diff) | |
download | freebsd-ports-gnome-ec5ca1a8af460649d8dce02b4c4c719254938ea7.tar.gz freebsd-ports-gnome-ec5ca1a8af460649d8dce02b4c4c719254938ea7.tar.zst freebsd-ports-gnome-ec5ca1a8af460649d8dce02b4c4c719254938ea7.zip |
Added xsoldier port. Closes PR 2721.
This is a really nice _blaster_everything_away_ game under x11 ;-)
Diffstat (limited to 'games')
-rw-r--r-- | games/xsoldier/Makefile | 20 | ||||
-rw-r--r-- | games/xsoldier/distinfo | 1 | ||||
-rw-r--r-- | games/xsoldier/files/patch-aa | 103 | ||||
-rw-r--r-- | games/xsoldier/files/patch-ab | 14 | ||||
-rw-r--r-- | games/xsoldier/pkg-comment | 1 | ||||
-rw-r--r-- | games/xsoldier/pkg-descr | 42 | ||||
-rw-r--r-- | games/xsoldier/pkg-plist | 32 |
7 files changed, 213 insertions, 0 deletions
diff --git a/games/xsoldier/Makefile b/games/xsoldier/Makefile new file mode 100644 index 000000000000..57ac6cb00ca3 --- /dev/null +++ b/games/xsoldier/Makefile @@ -0,0 +1,20 @@ +# New ports collection makefile for: xsoldier +# Version required: 0.95 +# Date created: 22 January 1997 +# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp> +# +# $Id$ +# + +DISTNAME= xsoldier-0.95 +CATEGORIES+= games x11 +MASTER_SITES= http://www.educ.info.kanagawa-u.ac.jp/~s945750/xsoldier/ + +MAINTAINER= Nakai@Mlab.t.u-tokyo.ac.jp + +LIB_DEPENDS= Xpm\\.4\\.:${PORTSDIR}/graphics/xpm + +CONFIGURE_ENV= X11BASE=${X11BASE} +USE_X11= yes + +.include <bsd.port.mk> diff --git a/games/xsoldier/distinfo b/games/xsoldier/distinfo new file mode 100644 index 000000000000..57f3004651d9 --- /dev/null +++ b/games/xsoldier/distinfo @@ -0,0 +1 @@ +MD5 (xsoldier-0.95.tar.gz) = 8136420d28069b9a24686dfa38e9422a diff --git a/games/xsoldier/files/patch-aa b/games/xsoldier/files/patch-aa new file mode 100644 index 000000000000..09c1e7e9675a --- /dev/null +++ b/games/xsoldier/files/patch-aa @@ -0,0 +1,103 @@ +*** Makefile.orig Mon Jan 20 15:52:28 1997 +--- Makefile Wed Jan 22 06:24:30 1997 +*************** +*** 5,39 **** + # --------------------------------------------------------------------------- + + # +! # インストールディレクトリ +! # 書き込み権限が無いとインストール出来ません.=> 遊べない.(^^; + # +! PIXMAPDIR = /usr/local/games/lib/xsoldier +! SCOREDIR = /usr/local/games/lib/xsoldier +! BINDIR = /usr/local/games + + # +! # スコアファイル名.SCOREDIR 以下に置かれます. + # + SCOREFILE = .scorefile + + # +! # X のコンパイルにオプションが必要なら. +! # xpm ライブラリのパスもここで設定します. + # +! INCLUDE = /usr/X11/include +! LIBPATH = /usr/X11/lib + + # +! # ゲームのウエイト + # + WAIT = 35000 + + # +! # コンパイルオプション +! # -DDUPSCORE … 同一人物がハイスコアに複数エントリ出来る +! # -DDEBUG … デバッグモード +! # すみません.まだこれしかないです.(^^; + # + DEFINES = -DSCORE=\"$(SCOREDIR)\" -DPIXMAP=\"$(PIXMAPDIR)\" \ + -DSCOREFILE=\"$(SCOREFILE)\" \ +--- 5,39 ---- + # --------------------------------------------------------------------------- + + # +! # Install Directory +! # You cannot install without write permission. => You can't enjoy. (^^; + # +! PIXMAPDIR = /usr/X11R6/lib/X11/xsoldier +! SCOREDIR = /usr/X11R6/lib/X11/xsoldier +! BINDIR = /usr/X11R6/bin + + # +! # Score file name. These are under SCOREDIR. + # + SCOREFILE = .scorefile + + # +! # If you need options to compile X application, +! # please configure xpm library path here. + # +! INCLUDE = /usr/X11R6/include +! LIBPATH = /usr/X11R6/lib + + # +! # Game wait + # + WAIT = 35000 + + # +! # Compile option +! # -DDUPSCORE Multi entries of one person +! # -DDEBUG Debug mode +! # Sorry, only these are available. (^^; + # + DEFINES = -DSCORE=\"$(SCOREDIR)\" -DPIXMAP=\"$(PIXMAPDIR)\" \ + -DSCOREFILE=\"$(SCOREFILE)\" \ +*************** +*** 44,50 **** + INSTALL = install + + # --------------------------------------------------------------------------- +! # 基本的にここから下はいぢらなくて済むハズ. + + OBJ = main.o game.o opening.o ending.o manage.o player.o \ + common.o callback.o boss.o enemy.o enemyshot.o sin.o \ +--- 44,50 ---- + INSTALL = install + + # --------------------------------------------------------------------------- +! # Basically, you may not change the following. + + OBJ = main.o game.o opening.o ending.o manage.o player.o \ + common.o callback.o boss.o enemy.o enemyshot.o sin.o \ +*************** +*** 108,111 **** + star.o: image.h xsoldier.h extern.h star.h + score.o: image.h xsoldier.h extern.h + +! convert: convert.o +--- 108,111 ---- + star.o: image.h xsoldier.h extern.h star.h + score.o: image.h xsoldier.h extern.h + +! #convert: convert.o diff --git a/games/xsoldier/files/patch-ab b/games/xsoldier/files/patch-ab new file mode 100644 index 000000000000..8b9e1bd9d052 --- /dev/null +++ b/games/xsoldier/files/patch-ab @@ -0,0 +1,14 @@ +--- manage.c.orig Sun Feb 16 11:23:59 1997 ++++ manage.c Sun Feb 16 11:25:13 1997 +@@ -8,7 +8,11 @@ + + #include <stdio.h> + #include <stdlib.h> ++ ++#ifndef __FreeBSD__ + #include <malloc.h> ++#endif ++ + #include <X11/Xlib.h> + #include <X11/Xutil.h> + diff --git a/games/xsoldier/pkg-comment b/games/xsoldier/pkg-comment new file mode 100644 index 000000000000..ab8dce33c3d0 --- /dev/null +++ b/games/xsoldier/pkg-comment @@ -0,0 +1 @@ +shooting game for x11 diff --git a/games/xsoldier/pkg-descr b/games/xsoldier/pkg-descr new file mode 100644 index 000000000000..2eb97293c158 --- /dev/null +++ b/games/xsoldier/pkg-descr @@ -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 + diff --git a/games/xsoldier/pkg-plist b/games/xsoldier/pkg-plist new file mode 100644 index 000000000000..6cd552df925b --- /dev/null +++ b/games/xsoldier/pkg-plist @@ -0,0 +1,32 @@ +bin/xsoldier +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 +lib/X11/xsoldier/.scorefile +@dirrm lib/X11/xsoldier |