aboutsummaryrefslogtreecommitdiffstats
path: root/games/jfk
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2010-01-10 08:36:06 +0800
committerpgollucci <pgollucci@FreeBSD.org>2010-01-10 08:36:06 +0800
commit46ef45e24425530d3efb5caa28528376acf40a8b (patch)
tree04c6bc1d02caec6c7dbb0fc4f8c8fd705c2d189c /games/jfk
parent5f2f59e6a48d6c757fe9662ad6498fc76bfc4cb3 (diff)
downloadfreebsd-ports-gnome-46ef45e24425530d3efb5caa28528376acf40a8b.tar.gz
freebsd-ports-gnome-46ef45e24425530d3efb5caa28528376acf40a8b.tar.zst
freebsd-ports-gnome-46ef45e24425530d3efb5caa28528376acf40a8b.zip
SUBFILES += pkg-message
PR: ports/142532 Submitted by: Sevan Janiyan <venture37@geeklan.co.uk>
Diffstat (limited to 'games/jfk')
-rw-r--r--games/jfk/Makefile3
-rw-r--r--games/jfk/files/pkg-message.in5
-rw-r--r--games/jfk/pkg-message5
-rw-r--r--games/jfk/pkg-plist296
4 files changed, 155 insertions, 154 deletions
diff --git a/games/jfk/Makefile b/games/jfk/Makefile
index a051eed82aad..d64026836562 100644
--- a/games/jfk/Makefile
+++ b/games/jfk/Makefile
@@ -16,6 +16,7 @@ COMMENT= A multiplayer 2D shoot'em up game
GNU_CONFIGURE= yes
USE_SDL= image sdl
+SUB_FILES= pkg-message
.include <bsd.port.pre.mk>
@@ -33,6 +34,6 @@ do-install:
.endif
post-install:
- @${SED} s-\$${PREFIX}-${PREFIX}-g < ${PKGMESSAGE}
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
diff --git a/games/jfk/files/pkg-message.in b/games/jfk/files/pkg-message.in
new file mode 100644
index 000000000000..b1789a802579
--- /dev/null
+++ b/games/jfk/files/pkg-message.in
@@ -0,0 +1,5 @@
+Please create a file .jfkserverrc with a line 'level=<levelfile>' where
+<levelfile> is one from %%DATADIR%%/levels/ or your own and a file
+.jfkclientrc with a line 'name=<yourname>' in your home directory. For more
+information about other variables read %%DOCSDIR%%/jfkserver.sample
+and %%DOCSDIR%%/jfkclient.sample.
diff --git a/games/jfk/pkg-message b/games/jfk/pkg-message
deleted file mode 100644
index a6327116bbfd..000000000000
--- a/games/jfk/pkg-message
+++ /dev/null
@@ -1,5 +0,0 @@
-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
index e88420b3cc54..bdf26329cedb 100644
--- a/games/jfk/pkg-plist
+++ b/games/jfk/pkg-plist
@@ -3,152 +3,152 @@ bin/jfkclient
%%PORTDOCS%%%%DOCSDIR%%/controls.txt
%%PORTDOCS%%%%DOCSDIR%%/jfkclient.sample
%%PORTDOCS%%%%DOCSDIR%%/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
+%%DATADIR%%/art/bar/weapon_5.png
+%%DATADIR%%/art/bar/arrow.png
+%%DATADIR%%/art/bar/bar.png
+%%DATADIR%%/art/bar/number_0.png
+%%DATADIR%%/art/bar/number_1.png
+%%DATADIR%%/art/bar/number_2.png
+%%DATADIR%%/art/bar/number_3.png
+%%DATADIR%%/art/bar/number_4.png
+%%DATADIR%%/art/bar/number_5.png
+%%DATADIR%%/art/bar/number_6.png
+%%DATADIR%%/art/bar/number_7.png
+%%DATADIR%%/art/bar/number_8.png
+%%DATADIR%%/art/bar/number_9.png
+%%DATADIR%%/art/bar/weapon_0.png
+%%DATADIR%%/art/bar/weapon_1.png
+%%DATADIR%%/art/bar/weapon_2.png
+%%DATADIR%%/art/bar/weapon_3.png
+%%DATADIR%%/art/bar/weapon_4.png
+%%DATADIR%%/art/bar/player_0.png
+%%DATADIR%%/art/bar/player_1.png
+%%DATADIR%%/art/bar/player_2.png
+%%DATADIR%%/art/bar/player_3.png
+%%DATADIR%%/art/bar/player_4.png
+%%DATADIR%%/art/bar/player_X.png
+%%DATADIR%%/art/font/console.png
+%%DATADIR%%/art/font/consoler.png
+%%DATADIR%%/art/font/consoley.png
+%%DATADIR%%/art/font/highscore.png
+%%DATADIR%%/art/ground/waste.png
+%%DATADIR%%/art/ground/grass.png
+%%DATADIR%%/art/splash/screen.png
+%%DATADIR%%/art/object/weapon/weapon_0.png
+%%DATADIR%%/art/object/weapon/weapon_1.png
+%%DATADIR%%/art/object/weapon/weapon_2.png
+%%DATADIR%%/art/object/weapon/weapon_3.png
+%%DATADIR%%/art/object/weapon/weapon_4.png
+%%DATADIR%%/art/object/weapon/weapon_5.png
+%%DATADIR%%/art/object/item/ammo.png
+%%DATADIR%%/art/object/item/ammo_s.png
+%%DATADIR%%/art/object/item/medikit.png
+%%DATADIR%%/art/object/item/medikit_s.png
+%%DATADIR%%/art/object/item/beer.png
+%%DATADIR%%/art/object/item/grave_0.png
+%%DATADIR%%/art/object/item/grave_1.png
+%%DATADIR%%/art/object/item/grave_2.png
+%%DATADIR%%/art/object/item/grave_3.png
+%%DATADIR%%/art/object/item/grave_4.png
+%%DATADIR%%/art/object/item/grave_5.png
+%%DATADIR%%/art/object/item/grave_6.png
+%%DATADIR%%/art/object/person/player_0.png
+%%DATADIR%%/art/object/person/player_1.png
+%%DATADIR%%/art/object/person/player_2.png
+%%DATADIR%%/art/object/person/player_3.png
+%%DATADIR%%/art/object/person/player_4.png
+%%DATADIR%%/art/object/person/player_5.png
+%%DATADIR%%/art/object/person/player_6.png
+%%DATADIR%%/art/object/person/player_7.png
+%%DATADIR%%/art/object/person/player_8.png
+%%DATADIR%%/art/object/person/player_9.png
+%%DATADIR%%/art/object/person/player_10.png
+%%DATADIR%%/art/object/person/player_11.png
+%%DATADIR%%/art/object/person/player_12.png
+%%DATADIR%%/art/object/person/player_13.png
+%%DATADIR%%/art/object/person/player_14.png
+%%DATADIR%%/art/object/person/player_15.png
+%%DATADIR%%/art/object/person/player_16.png
+%%DATADIR%%/art/object/person/player_17.png
+%%DATADIR%%/art/object/person/player_18.png
+%%DATADIR%%/art/object/person/player_19.png
+%%DATADIR%%/art/object/person/player_20.png
+%%DATADIR%%/art/object/person/player_21.png
+%%DATADIR%%/art/object/person/player_22.png
+%%DATADIR%%/art/object/person/player_23.png
+%%DATADIR%%/art/object/person/player_24.png
+%%DATADIR%%/art/object/person/player_25.png
+%%DATADIR%%/art/object/person/player_26.png
+%%DATADIR%%/art/object/person/player_27.png
+%%DATADIR%%/art/object/person/player_28.png
+%%DATADIR%%/art/object/person/player_29.png
+%%DATADIR%%/art/object/person/player_30.png
+%%DATADIR%%/art/object/person/player_31.png
+%%DATADIR%%/art/object/person/player_32.png
+%%DATADIR%%/art/object/person/player_33.png
+%%DATADIR%%/art/object/person/player_34.png
+%%DATADIR%%/art/object/person/player_35.png
+%%DATADIR%%/art/object/explosion/explode_0.png
+%%DATADIR%%/art/object/explosion/explode_1.png
+%%DATADIR%%/art/object/explosion/explode_2.png
+%%DATADIR%%/art/object/explosion/explode_3.png
+%%DATADIR%%/art/object/explosion/explode_4.png
+%%DATADIR%%/art/object/explosion/explode_5.png
+%%DATADIR%%/art/object/explosion/explode_6.png
+%%DATADIR%%/art/object/explosion/explode_7.png
+%%DATADIR%%/art/object/explosion/explode_8.png
+%%DATADIR%%/art/object/explosion/explode_9.png
+%%DATADIR%%/art/object/explosion/explode_10.png
+%%DATADIR%%/art/object/explosion/explode_11.png
+%%DATADIR%%/art/object/explosion/explode_12.png
+%%DATADIR%%/art/object/explosion/explode_13.png
+%%DATADIR%%/art/object/explosion/explode_14.png
+%%DATADIR%%/art/object/explosion/explode_15.png
+%%DATADIR%%/art/object/explosion/explode_16.png
+%%DATADIR%%/art/object/explosion/explode_17.png
+%%DATADIR%%/art/object/explosion/explode_18.png
+%%DATADIR%%/art/object/bullet/weapon_0_bullet_0.png
+%%DATADIR%%/art/object/bullet/weapon_0_bullet_1.png
+%%DATADIR%%/art/object/bullet/weapon_0_bullet_2.png
+%%DATADIR%%/art/object/bullet/weapon_0_bullet_3.png
+%%DATADIR%%/art/object/bullet/weapon_0_bullet_4.png
+%%DATADIR%%/art/object/bullet/weapon_0_bullet_5.png
+%%DATADIR%%/art/object/bullet/weapon_0_bullet_6.png
+%%DATADIR%%/art/object/bullet/weapon_0_bullet_7.png
+%%DATADIR%%/art/object/bullet/weapon_0_bullet_8.png
+%%DATADIR%%/art/object/bullet/weapon_0_bullet_9.png
+%%DATADIR%%/art/object/bullet/weapon_0_bullet_10.png
+%%DATADIR%%/art/object/bullet/weapon_0_bullet_11.png
+%%DATADIR%%/art/object/bullet/weapon_0_bullet_12.png
+%%DATADIR%%/art/object/bullet/weapon_0_bullet_13.png
+%%DATADIR%%/art/object/bullet/weapon_0_bullet_14.png
+%%DATADIR%%/art/object/bullet/weapon_0_bullet_15.png
+%%DATADIR%%/art/object/bullet/weapon_0_bullet_16.png
+%%DATADIR%%/art/object/bullet/weapon_0_bullet_17.png
+%%DATADIR%%/art/object/bullet/weapon_0_bullet_18.png
+%%DATADIR%%/art/object/bullet/weapon_0_bullet_19.png
+%%DATADIR%%/art/object/bullet/weapon_0_bullet_20.png
+%%DATADIR%%/art/object/bullet/weapon_0_bullet_21.png
+%%DATADIR%%/art/object/bullet/weapon_0_bullet_22.png
+%%DATADIR%%/art/object/bullet/weapon_0_bullet_23.png
+%%DATADIR%%/art/object/obstacle/bush_0.png
+%%DATADIR%%/art/object/obstacle/lake_0.png
+%%DATADIR%%/art/object/obstacle/stone_0.png
+%%DATADIR%%/art/object/obstacle/tree_0.png
+%%DATADIR%%/levels/demolevel
+%%DATADIR%%/levels/level1
%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@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
+@dirrm %%DATADIR%%/art/bar
+@dirrm %%DATADIR%%/art/font
+@dirrm %%DATADIR%%/art/ground
+@dirrm %%DATADIR%%/art/splash
+@dirrm %%DATADIR%%/art/object/weapon
+@dirrm %%DATADIR%%/art/object/item
+@dirrm %%DATADIR%%/art/object/person
+@dirrm %%DATADIR%%/art/object/explosion
+@dirrm %%DATADIR%%/art/object/bullet
+@dirrm %%DATADIR%%/art/object/obstacle
+@dirrm %%DATADIR%%/art/object
+@dirrm %%DATADIR%%/art
+@dirrm %%DATADIR%%/levels
+@dirrm %%DATADIR%%