aboutsummaryrefslogtreecommitdiff
path: root/games/linux-enemyterritory-jaymod
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2011-12-03 11:41:30 +0000
committerRene Ladan <rene@FreeBSD.org>2011-12-03 11:41:30 +0000
commitf9c07b1caae22bda42e3496d3c86bc4066847f5a (patch)
tree7e16b39a5224dd7007b5fa811d70f48f4dd46e0d /games/linux-enemyterritory-jaymod
parent1f68001adf7471098e31b639a82c283b48ae8bda (diff)
downloadports-f9c07b1caae22bda42e3496d3c86bc4066847f5a.tar.gz
ports-f9c07b1caae22bda42e3496d3c86bc4066847f5a.zip
Notes
Diffstat (limited to 'games/linux-enemyterritory-jaymod')
-rw-r--r--games/linux-enemyterritory-jaymod/Makefile59
-rw-r--r--games/linux-enemyterritory-jaymod/distinfo2
-rw-r--r--games/linux-enemyterritory-jaymod/pkg-descr14
-rw-r--r--games/linux-enemyterritory-jaymod/pkg-plist23
4 files changed, 98 insertions, 0 deletions
diff --git a/games/linux-enemyterritory-jaymod/Makefile b/games/linux-enemyterritory-jaymod/Makefile
new file mode 100644
index 000000000000..c135da48d4a7
--- /dev/null
+++ b/games/linux-enemyterritory-jaymod/Makefile
@@ -0,0 +1,59 @@
+# New ports collection makefile for: jaymod
+# Date created: 7 May 2006
+# Whom: alepulver
+#
+# $FreeBSD$
+#
+
+PORTNAME= jaymod
+PORTVERSION= 2.1.7
+PORTREVISION= 2
+CATEGORIES= games linux
+MASTER_SITES= http://etmod.googlecode.com/files/ \
+ http://www.zenenterprises.biz/bud/jaymod/ \
+ http://bud.zenenterprises.biz/jaymod/ \
+ http://et.lsdfunweb.fr/et/jaymod/
+PKGNAMEPREFIX= linux-enemyterritory-
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Jaymod - An Enemy Territory Modification
+
+RUN_DEPENDS= et:${PORTSDIR}/games/linux-enemyterritory
+
+USE_LINUX= yes
+
+OPTIONS= OMNIBOT "Install Omni-Bot for bot support" off
+
+DATADIR= ${PREFIX}/lib/enemyterritory/${PORTNAME}
+DOCSDIR= ${PREFIX}/share/doc/enemyterritory-${PORTNAME}
+
+CLIENT_PK3= ${PORTNAME}-${PORTVERSION}.pk3
+PLIST_SUB= CLIENT_PK3="${CLIENT_PK3}"
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_OMNIBOT)
+RUN_DEPENDS+= et-omni-bot:${PORTSDIR}/games/linux-enemyterritory-omni-bot-0660
+.endif
+
+do-build:
+.for f in et etded
+ @(${ECHO_CMD} "#!/bin/sh"; \
+ ${ECHO_CMD} 'exec ${PREFIX}/bin/${f} +set fs_game ${PORTNAME} +set omnibot_path "${DATADIR}/../omni-bot" "$$@"') > \
+ ${WRKSRC}/${f}-${PORTNAME}
+.endfor
+
+do-install:
+.for f in et etded
+ ${INSTALL_SCRIPT} ${WRKSRC}/${f}-${PORTNAME} ${PREFIX}/bin
+.endfor
+ ${MKDIR} ${DATADIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/qagame.mp.i386.so ${DATADIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${CLIENT_PK3} *.cfg ${DATADIR}
+ ${CP} -r ${WRKSRC}/linux ${WRKSRC}/mapscripts ${DATADIR}
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} README.txt doc/jaymod.pdf ${DOCSDIR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/games/linux-enemyterritory-jaymod/distinfo b/games/linux-enemyterritory-jaymod/distinfo
new file mode 100644
index 000000000000..8be3bd6798ac
--- /dev/null
+++ b/games/linux-enemyterritory-jaymod/distinfo
@@ -0,0 +1,2 @@
+SHA256 (jaymod-2.1.7.tar.gz) = f9341236f351765826e00c5905ede9f485dbf2a57c556d2959b925a4a4aa8948
+SIZE (jaymod-2.1.7.tar.gz) = 11926903
diff --git a/games/linux-enemyterritory-jaymod/pkg-descr b/games/linux-enemyterritory-jaymod/pkg-descr
new file mode 100644
index 000000000000..44cf28808f72
--- /dev/null
+++ b/games/linux-enemyterritory-jaymod/pkg-descr
@@ -0,0 +1,14 @@
+Jaymod is an add-on modification to RTCW: Enemy Territory.
+
+The idea for Jaymod came from the main features of Shrubmod. Shrubmod has
+long been out of date and unsupported, and with the instability issues that
+come with Shrubmod, something had to be done to get a Shrub-like server-side
+mod that would provide most of Shrub's features, be stable, and be supported.
+
+This mod has, obviously, outgrown the original objective of being server-side
+only. Some of the ideas I wanted to implement could not be done with server
+code only, so the decision was made to start working on the client end as
+well. I wanted this to be as easy as possible for end users, and now only one
+pak needs to be downloaded (on the fly) to be able to play this mod.
+
+WWW: http://jaymod.clanfu.org/
diff --git a/games/linux-enemyterritory-jaymod/pkg-plist b/games/linux-enemyterritory-jaymod/pkg-plist
new file mode 100644
index 000000000000..24da152cd408
--- /dev/null
+++ b/games/linux-enemyterritory-jaymod/pkg-plist
@@ -0,0 +1,23 @@
+bin/et-jaymod
+bin/etded-jaymod
+%%DATADIR%%/jaymod.cfg
+%%DATADIR%%/%%CLIENT_PK3%%
+%%DATADIR%%/linux/convert_shrub
+%%DATADIR%%/linux/serverctl
+%%DATADIR%%/mapscripts/battery.script
+%%DATADIR%%/mapscripts/fueldump.script
+%%DATADIR%%/mapscripts/fueldump_lms.script
+%%DATADIR%%/mapscripts/goldrush.script
+%%DATADIR%%/mapscripts/oasis.script
+%%DATADIR%%/mapscripts/oasis_lms.script
+%%DATADIR%%/mapscripts/radar.script
+%%DATADIR%%/mapscripts/railgun.script
+%%DATADIR%%/mapscripts/railgun_lms.script
+%%DATADIR%%/qagame.mp.i386.so
+%%DATADIR%%/server.cfg
+%%PORTDOCS%%%%DOCSDIR%%/README.txt
+%%PORTDOCS%%%%DOCSDIR%%/jaymod.pdf
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrm %%DATADIR%%/mapscripts
+@dirrm %%DATADIR%%/linux
+@dirrm %%DATADIR%%