- Update to 2.2.0
- Change omni-bot dependency to unversioned one - Add a MASTER_SITE, remove three obsolete ones PR: ports/164088 Submitted by: Barbara
This commit is contained in:
parent
1fb10fbbaf
commit
d70f1057d5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=289756
3 changed files with 25 additions and 13 deletions
|
@ -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 @@ 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
|
||||
RUN_DEPENDS+= et-omni-bot:${PORTSDIR}/games/linux-enemyterritory-omni-bot
|
||||
.endif
|
||||
|
||||
do-build:
|
||||
|
@ -49,11 +46,22 @@ do-install:
|
|||
.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>
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 @@ bin/etded-jaymod
|
|||
%%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%%
|
Loading…
Reference in a new issue