aboutsummaryrefslogtreecommitdiff
path: root/games/jaggedalliance2
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-07-24 10:41:31 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-07-24 10:41:31 +0000
commit8715befd8d3bfec17b2d17164b77ead39f97238a (patch)
tree6fa670f6e990c307552184454a2463793c0f362f /games/jaggedalliance2
parent72a0ecf15b10467490399ddcadc0aaf639895e75 (diff)
downloadports-8715befd8d3bfec17b2d17164b77ead39f97238a.tar.gz
ports-8715befd8d3bfec17b2d17164b77ead39f97238a.zip
Notes
Diffstat (limited to 'games/jaggedalliance2')
-rw-r--r--games/jaggedalliance2/Makefile22
-rw-r--r--games/jaggedalliance2/distinfo6
-rw-r--r--games/jaggedalliance2/pkg-message4
3 files changed, 18 insertions, 14 deletions
diff --git a/games/jaggedalliance2/Makefile b/games/jaggedalliance2/Makefile
index 09d8777685a7..9eaf016e8127 100644
--- a/games/jaggedalliance2/Makefile
+++ b/games/jaggedalliance2/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= ja2
-PORTVERSION= 0.3
-PORTREVISION= 1
+PORTVERSION= 0.5
CATEGORIES= games
MASTER_SITES= http://deponie.yamagi.org/freebsd/distfiles/ \
http://ja2.dragonriders.de/files/
@@ -15,8 +14,6 @@ MASTER_SITES= http://deponie.yamagi.org/freebsd/distfiles/ \
MAINTAINER= christoph.mallon@gmx.de
COMMENT= A port of "Jagged Alliance 2" using SDL
-BUILD_DEPENDS= iconv:${PORTSDIR}/converters/iconv
-
DISTVERSIONSUFFIX= -source
# There are still many endianness and data size issues
@@ -30,12 +27,13 @@ NO_PACKAGE= Language of the datafiles must be hardcoded in the game binary
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-OPTIONS= DUTCH "Compile for dutch version" Off \
- ENGLISH "Compile for english version" Off \
- FRENCH "Compile for french version" Off \
- GERMAN "Compile for german version" Off \
- ITALIAN "Compile for italian version" Off \
- POLISH "Compile for polish version" Off
+OPTIONS= DUTCH "Compile for Dutch version" Off \
+ ENGLISH "Compile for English version" Off \
+ FRENCH "Compile for French version" Off \
+ GERMAN "Compile for German version" Off \
+ ITALIAN "Compile for Italian version" Off \
+ POLISH "Compile for Polish version" Off \
+ RUSSIAN "Compile for Russian version" Off
.include <bsd.port.pre.mk>
@@ -51,6 +49,8 @@ MAKE_ARGS+= LNG=GERMAN
MAKE_ARGS+= LNG=ITALIAN
.elifdef WITH_POLISH
MAKE_ARGS+= LNG=POLISH
+.elifdef WITH_RUSSIAN
+MAKE_ARGS+= LNG=RUSSIAN
.else
IGNORE= no language has been chosen. Please choose the appropriate language for your game CD
.endif
@@ -63,7 +63,7 @@ MAN6= ja2.6
do-install:
@${MKDIR} ${DATADIR}/Data/TILECACHE
- @${INSTALL_PROGRAM} ${WRKSRC}/ja ${PREFIX}/bin/${PORTNAME}
+ @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
@${INSTALL_MAN} ${WRKSRC}/${MAN6} ${MANPREFIX}/man/man6
post-install:
diff --git a/games/jaggedalliance2/distinfo b/games/jaggedalliance2/distinfo
index 956c41641e00..68907104b70e 100644
--- a/games/jaggedalliance2/distinfo
+++ b/games/jaggedalliance2/distinfo
@@ -1,3 +1,3 @@
-MD5 (ja2-0.3-source.tar.bz2) = 504742ea4927a37537ed3e5632ee3639
-SHA256 (ja2-0.3-source.tar.bz2) = 8f7a006603b822768c1f98fb80b054617ea4263fb500c4b317e3de0bc6b77943
-SIZE (ja2-0.3-source.tar.bz2) = 2584844
+MD5 (ja2-0.5-source.tar.bz2) = 22003ee20037cdd24a900c978280bd38
+SHA256 (ja2-0.5-source.tar.bz2) = ddefda93ac4b74325a79ebc80c2ff08b814de766a89666b17725eadd0959e1f2
+SIZE (ja2-0.5-source.tar.bz2) = 2529613
diff --git a/games/jaggedalliance2/pkg-message b/games/jaggedalliance2/pkg-message
index 7edc2e484a63..512eb7d47673 100644
--- a/games/jaggedalliance2/pkg-message
+++ b/games/jaggedalliance2/pkg-message
@@ -9,6 +9,10 @@
All filenames must be lowercase!
After copying you can use "make lowercase" to rename all files.
+ When a user starts the game for the first time a file ~/.ja2/ja2.ini
+ is created. In there the path to the data files has to be specified at
+ the line "data_dir = ...".
+
Enjoy!
==========================================================================