Date: Fri, 13 Jan 2012 15:30:39 GMT From: Barbara <barbara.xxx1975@libero.it> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/164088: games/linux-enemyterritory-jaymod: update to 2.2.0 (supersedes ports/164006) Message-ID: <201201131530.q0DFUdHV049389@red.freebsd.org> Resent-Message-ID: <201201131540.q0DFe8k7021238@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 164088 >Category: ports >Synopsis: games/linux-enemyterritory-jaymod: update to 2.2.0 (supersedes ports/164006) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri Jan 13 15:40:08 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Barbara >Release: RELENG_9 >Organization: >Environment: FreeBSD satanasso.local.net 9.0-STABLE FreeBSD 9.0-STABLE #0: Sun Jan 8 00:49:01 CET 2012 root@satanasso.local.net:/usr/obj/usr/src/sys/SATANASSO i386 >Description: Update to version of jaymod to 2.2.0. This version is compatible with the current version of omnibot in ports (games/linux-enemyterritory-omni-bot) >How-To-Repeat: >Fix: Patch attached with submission follows: --- Makefile.orig 2012-01-10 22:44:14.000000000 +0100 +++ Makefile 2012-01-13 02:35:55.000000000 +0100 @@ -6,13 +6,10 @@ # PORTNAME= jaymod -PORTVERSION= 2.1.7 -PORTREVISION= 2 +PORTVERSION= 2.2.0 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/ +MASTER_SITES= http://jaymod.clanfu.org/lib/downloads/ \ + http://www.zenenterprises.biz/bud/jaymod/ PKGNAMEPREFIX= linux-enemyterritory- MAINTAINER= barbara.xxx1975@libero.it @@ -33,7 +30,7 @@ .include <bsd.port.pre.mk> .if defined(WITH_OMNIBOT) -RUN_DEPENDS+= et-omni-bot:${PORTSDIR}/games/linux-enemyterritory-omni-bot-0660 +RUN_DEPENDS+= et-omni-bot:${PORTSDIR}/games/linux-enemyterritory-omni-bot .endif do-build: @@ -49,11 +46,22 @@ .endfor ${MKDIR} ${DATADIR} ${INSTALL_PROGRAM} ${WRKSRC}/qagame.mp.i386.so ${DATADIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${CLIENT_PK3} *.cfg ${DATADIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${CLIENT_PK3} ${DATADIR} +.for f in jaymod.cfg server.cfg + ${CP} -p ${WRKSRC}/${f} ${DATADIR}/${f}.sample +.endfor ${CP} -r ${WRKSRC}/linux ${WRKSRC}/mapscripts ${DATADIR} .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} README.txt doc/jaymod.pdf ${DOCSDIR} .endif +post-install: + @if [ ! -f ${DATADIR}/jaymod.cfg ]; then \ + ${CP} -p ${DATADIR}/jaymod.cfg.sample ${DATADIR}/jaymod.cfg ; \ + fi + @if [ ! -f ${DATADIR}/server.cfg ]; then \ + ${CP} -p ${DATADIR}/server.cfg.sample ${DATADIR}/server.cfg ; \ + fi + .include <bsd.port.post.mk> --- distinfo.orig 2011-12-03 12:41:30.000000000 +0100 +++ distinfo 2012-01-12 03:25:58.000000000 +0100 @@ -1,2 +1,2 @@ -SHA256 (jaymod-2.1.7.tar.gz) = f9341236f351765826e00c5905ede9f485dbf2a57c556d2959b925a4a4aa8948 -SIZE (jaymod-2.1.7.tar.gz) = 11926903 +SHA256 (jaymod-2.2.0.tar.gz) = b6e7fa62762ec9dfe4cd890f2265ad5e380c9aa134615eb23a64a05d237122ff +SIZE (jaymod-2.2.0.tar.gz) = 11898043 --- pkg-plist.orig 2011-12-03 12:41:30.000000000 +0100 +++ pkg-plist 2012-01-13 01:49:25.000000000 +0100 @@ -1,6 +1,8 @@ bin/et-jaymod bin/etded-jaymod -%%DATADIR%%/jaymod.cfg +@unexec if cmp %D/lib/enemyterritory/jaymod/jaymod.cfg %D/lib/enemyterritory/jaymod/jaymod.cfg.sample; then rm -f %D/lib/enemyterritory/jaymod/jaymod.cfg; fi +%%DATADIR%%/jaymod.cfg.sample +@exec if [ ! -f %D/lib/enemyterritory/jaymod/jaymod.cfg ] ; then cp -p %D/lib/enemyterritory/jaymod/jaymod.cfg.sample %D/lib/enemyterritory/jaymod/jaymod.cfg; fi %%DATADIR%%/%%CLIENT_PK3%% %%DATADIR%%/linux/convert_shrub %%DATADIR%%/linux/serverctl @@ -14,10 +16,12 @@ %%DATADIR%%/mapscripts/railgun.script %%DATADIR%%/mapscripts/railgun_lms.script %%DATADIR%%/qagame.mp.i386.so -%%DATADIR%%/server.cfg +@unexec if cmp %D/lib/enemyterritory/jaymod/server.cfg %D/lib/enemyterritory/jaymod/server.cfg.sample; then rm -f %D/lib/enemyterritory/jaymod/server.cfg; fi +%%DATADIR%%/server.cfg.sample +@exec if [ ! -f %D/lib/enemyterritory/jaymod/server.cfg ] ; then cp -p %D/lib/enemyterritory/jaymod/server.cfg.sample %D/lib/enemyterritory/jaymod/server.cfg; fi %%PORTDOCS%%%%DOCSDIR%%/README.txt %%PORTDOCS%%%%DOCSDIR%%/jaymod.pdf %%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrm %%DATADIR%%/mapscripts @dirrm %%DATADIR%%/linux -@dirrm %%DATADIR%% +@dirrmtry %%DATADIR%% >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201131530.q0DFUdHV049389>