aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2002-11-02 04:58:48 +0800
committerarved <arved@FreeBSD.org>2002-11-02 04:58:48 +0800
commit564f949f8b5848269383d4b6f51da674cef33e6f (patch)
tree393a37655935c6f82b26bcde854abc186ed0e58f /games
parentba2c31a2e686fa8658b9f302c57a2db44939f71e (diff)
downloadfreebsd-ports-gnome-564f949f8b5848269383d4b6f51da674cef33e6f.tar.gz
freebsd-ports-gnome-564f949f8b5848269383d4b6f51da674cef33e6f.tar.zst
freebsd-ports-gnome-564f949f8b5848269383d4b6f51da674cef33e6f.zip
Add jfk, an SDL multiplayer 2D shoot'em up game
PR: 43134 Submitted by: Stefan Farfeleder <e0026813@stud3.tuwien.ac.at> Approved by: kris (mentor)
Diffstat (limited to 'games')
-rw-r--r--games/Makefile1
-rw-r--r--games/jfk/Makefile38
-rw-r--r--games/jfk/distinfo1
-rw-r--r--games/jfk/pkg-comment1
-rw-r--r--games/jfk/pkg-descr8
-rw-r--r--games/jfk/pkg-message5
-rw-r--r--games/jfk/pkg-plist154
7 files changed, 208 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index 4e42087f6aeb..fe7b855a7b93 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -163,6 +163,7 @@
SUBDIR += inform
SUBDIR += ishido
SUBDIR += jetpack
+ SUBDIR += jfk
SUBDIR += jzip
SUBDIR += kdegames3
SUBDIR += klondike
diff --git a/games/jfk/Makefile b/games/jfk/Makefile
new file mode 100644
index 000000000000..fc86d5f3d59e
--- /dev/null
+++ b/games/jfk/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: jfk
+# Date created: 8 September 2002
+# Whom: Stefan Farfeleder <e0026813@stud3.tuwien.ac.at>
+#
+# $FreeBSD$
+#
+
+PORTNAME= jfk
+PORTVERSION= 0.1.1
+CATEGORIES= games
+MASTER_SITES= http://relax.ath.cx/jfk/
+
+MAINTAINER= e0026813@stud3.tuwien.ac.at
+
+LIB_DEPENDS= SDL_image.10:${PORTSDIR}/graphics/sdl_image
+
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+GNU_CONFIGURE= yes
+SDL_CONFIG= ${LOCALBASE}/bin/sdl11-config
+CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}"
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/client/jfkclient ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/server/jfkserver ${PREFIX}/bin
+.for file in art levels
+ @(cd ${WRKSRC}/${file}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install)
+.endfor
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for file in controls.txt jfkclient.sample jfkserver.sample
+ ${INSTALL_MAN} ${WRKSRC}/doc/${file} ${DOCSDIR}
+.endfor
+.endif
+
+post-install:
+ @${SED} s-\$${PREFIX}-${PREFIX}-g < ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/games/jfk/distinfo b/games/jfk/distinfo
new file mode 100644
index 000000000000..4e2dd6ecf6b5
--- /dev/null
+++ b/games/jfk/distinfo
@@ -0,0 +1 @@
+MD5 (jfk-0.1.1.tar.gz) = 59dd31d720b4881e3ab255fd72e95f37
diff --git a/games/jfk/pkg-comment b/games/jfk/pkg-comment
new file mode 100644
index 000000000000..05650794d863
--- /dev/null
+++ b/games/jfk/pkg-comment
@@ -0,0 +1 @@
+A multiplayer 2D shoot'em up game
diff --git a/games/jfk/pkg-descr b/games/jfk/pkg-descr
new file mode 100644
index 000000000000..7d4cd7ca6a10
--- /dev/null
+++ b/games/jfk/pkg-descr
@@ -0,0 +1,8 @@
+Jfk is a 2d shooting game. It consists of a server and a client which uses SDL
+for displaying graphics. Your goal is to get a high score by shooting your
+enemies.
+
+WWW: http://relax.ath.cx/jfk/
+
+- Stefan Farfeleder
+e0026813@stud3.tuwien.ac.at
diff --git a/games/jfk/pkg-message b/games/jfk/pkg-message
new file mode 100644
index 000000000000..a6327116bbfd
--- /dev/null
+++ b/games/jfk/pkg-message
@@ -0,0 +1,5 @@
+Please create a file .jfkserverrc with a line 'level=<levelfile>' where
+<levelfile> is one from ${PREFIX}/share/jfk/levels/ or your own and a file
+.jfkclientrc with a line 'name=<yourname>' in your home directory. For more
+information about other variables read ${PREFIX}/share/doc/jfk/jfkserver.sample
+and ${PREFIX}/share/doc/jfk/jfkclient.sample.
diff --git a/games/jfk/pkg-plist b/games/jfk/pkg-plist
new file mode 100644
index 000000000000..a3fc4a52de6d
--- /dev/null
+++ b/games/jfk/pkg-plist
@@ -0,0 +1,154 @@
+bin/jfkserver
+bin/jfkclient
+%%PORTDOCS%%share/doc/jfk/controls.txt
+%%PORTDOCS%%share/doc/jfk/jfkclient.sample
+%%PORTDOCS%%share/doc/jfk/jfkserver.sample
+share/jfk/art/bar/weapon_5.png
+share/jfk/art/bar/arrow.png
+share/jfk/art/bar/bar.png
+share/jfk/art/bar/number_0.png
+share/jfk/art/bar/number_1.png
+share/jfk/art/bar/number_2.png
+share/jfk/art/bar/number_3.png
+share/jfk/art/bar/number_4.png
+share/jfk/art/bar/number_5.png
+share/jfk/art/bar/number_6.png
+share/jfk/art/bar/number_7.png
+share/jfk/art/bar/number_8.png
+share/jfk/art/bar/number_9.png
+share/jfk/art/bar/weapon_0.png
+share/jfk/art/bar/weapon_1.png
+share/jfk/art/bar/weapon_2.png
+share/jfk/art/bar/weapon_3.png
+share/jfk/art/bar/weapon_4.png
+share/jfk/art/bar/player_0.png
+share/jfk/art/bar/player_1.png
+share/jfk/art/bar/player_2.png
+share/jfk/art/bar/player_3.png
+share/jfk/art/bar/player_4.png
+share/jfk/art/bar/player_X.png
+share/jfk/art/font/console.png
+share/jfk/art/font/consoler.png
+share/jfk/art/font/consoley.png
+share/jfk/art/font/highscore.png
+share/jfk/art/ground/waste.png
+share/jfk/art/ground/grass.png
+share/jfk/art/splash/screen.png
+share/jfk/art/object/weapon/weapon_0.png
+share/jfk/art/object/weapon/weapon_1.png
+share/jfk/art/object/weapon/weapon_2.png
+share/jfk/art/object/weapon/weapon_3.png
+share/jfk/art/object/weapon/weapon_4.png
+share/jfk/art/object/weapon/weapon_5.png
+share/jfk/art/object/item/ammo.png
+share/jfk/art/object/item/ammo_s.png
+share/jfk/art/object/item/medikit.png
+share/jfk/art/object/item/medikit_s.png
+share/jfk/art/object/item/beer.png
+share/jfk/art/object/item/grave_0.png
+share/jfk/art/object/item/grave_1.png
+share/jfk/art/object/item/grave_2.png
+share/jfk/art/object/item/grave_3.png
+share/jfk/art/object/item/grave_4.png
+share/jfk/art/object/item/grave_5.png
+share/jfk/art/object/item/grave_6.png
+share/jfk/art/object/person/player_0.png
+share/jfk/art/object/person/player_1.png
+share/jfk/art/object/person/player_2.png
+share/jfk/art/object/person/player_3.png
+share/jfk/art/object/person/player_4.png
+share/jfk/art/object/person/player_5.png
+share/jfk/art/object/person/player_6.png
+share/jfk/art/object/person/player_7.png
+share/jfk/art/object/person/player_8.png
+share/jfk/art/object/person/player_9.png
+share/jfk/art/object/person/player_10.png
+share/jfk/art/object/person/player_11.png
+share/jfk/art/object/person/player_12.png
+share/jfk/art/object/person/player_13.png
+share/jfk/art/object/person/player_14.png
+share/jfk/art/object/person/player_15.png
+share/jfk/art/object/person/player_16.png
+share/jfk/art/object/person/player_17.png
+share/jfk/art/object/person/player_18.png
+share/jfk/art/object/person/player_19.png
+share/jfk/art/object/person/player_20.png
+share/jfk/art/object/person/player_21.png
+share/jfk/art/object/person/player_22.png
+share/jfk/art/object/person/player_23.png
+share/jfk/art/object/person/player_24.png
+share/jfk/art/object/person/player_25.png
+share/jfk/art/object/person/player_26.png
+share/jfk/art/object/person/player_27.png
+share/jfk/art/object/person/player_28.png
+share/jfk/art/object/person/player_29.png
+share/jfk/art/object/person/player_30.png
+share/jfk/art/object/person/player_31.png
+share/jfk/art/object/person/player_32.png
+share/jfk/art/object/person/player_33.png
+share/jfk/art/object/person/player_34.png
+share/jfk/art/object/person/player_35.png
+share/jfk/art/object/explosion/explode_0.png
+share/jfk/art/object/explosion/explode_1.png
+share/jfk/art/object/explosion/explode_2.png
+share/jfk/art/object/explosion/explode_3.png
+share/jfk/art/object/explosion/explode_4.png
+share/jfk/art/object/explosion/explode_5.png
+share/jfk/art/object/explosion/explode_6.png
+share/jfk/art/object/explosion/explode_7.png
+share/jfk/art/object/explosion/explode_8.png
+share/jfk/art/object/explosion/explode_9.png
+share/jfk/art/object/explosion/explode_10.png
+share/jfk/art/object/explosion/explode_11.png
+share/jfk/art/object/explosion/explode_12.png
+share/jfk/art/object/explosion/explode_13.png
+share/jfk/art/object/explosion/explode_14.png
+share/jfk/art/object/explosion/explode_15.png
+share/jfk/art/object/explosion/explode_16.png
+share/jfk/art/object/explosion/explode_17.png
+share/jfk/art/object/explosion/explode_18.png
+share/jfk/art/object/bullet/weapon_0_bullet_0.png
+share/jfk/art/object/bullet/weapon_0_bullet_1.png
+share/jfk/art/object/bullet/weapon_0_bullet_2.png
+share/jfk/art/object/bullet/weapon_0_bullet_3.png
+share/jfk/art/object/bullet/weapon_0_bullet_4.png
+share/jfk/art/object/bullet/weapon_0_bullet_5.png
+share/jfk/art/object/bullet/weapon_0_bullet_6.png
+share/jfk/art/object/bullet/weapon_0_bullet_7.png
+share/jfk/art/object/bullet/weapon_0_bullet_8.png
+share/jfk/art/object/bullet/weapon_0_bullet_9.png
+share/jfk/art/object/bullet/weapon_0_bullet_10.png
+share/jfk/art/object/bullet/weapon_0_bullet_11.png
+share/jfk/art/object/bullet/weapon_0_bullet_12.png
+share/jfk/art/object/bullet/weapon_0_bullet_13.png
+share/jfk/art/object/bullet/weapon_0_bullet_14.png
+share/jfk/art/object/bullet/weapon_0_bullet_15.png
+share/jfk/art/object/bullet/weapon_0_bullet_16.png
+share/jfk/art/object/bullet/weapon_0_bullet_17.png
+share/jfk/art/object/bullet/weapon_0_bullet_18.png
+share/jfk/art/object/bullet/weapon_0_bullet_19.png
+share/jfk/art/object/bullet/weapon_0_bullet_20.png
+share/jfk/art/object/bullet/weapon_0_bullet_21.png
+share/jfk/art/object/bullet/weapon_0_bullet_22.png
+share/jfk/art/object/bullet/weapon_0_bullet_23.png
+share/jfk/art/object/obstacle/bush_0.png
+share/jfk/art/object/obstacle/lake_0.png
+share/jfk/art/object/obstacle/stone_0.png
+share/jfk/art/object/obstacle/tree_0.png
+share/jfk/levels/demolevel
+share/jfk/levels/level1
+%%PORTDOCS%%@dirrm share/doc/jfk
+@dirrm share/jfk/art/bar
+@dirrm share/jfk/art/font
+@dirrm share/jfk/art/ground
+@dirrm share/jfk/art/splash
+@dirrm share/jfk/art/object/weapon
+@dirrm share/jfk/art/object/item
+@dirrm share/jfk/art/object/person
+@dirrm share/jfk/art/object/explosion
+@dirrm share/jfk/art/object/bullet
+@dirrm share/jfk/art/object/obstacle
+@dirrm share/jfk/art/object
+@dirrm share/jfk/art
+@dirrm share/jfk/levels
+@dirrm share/jfk