svn commit: r397272 - head/games/linux-enemyterritory-jaymod
Dmitry Marakasov
amdmi3 at FreeBSD.org
Fri Sep 18 17:45:52 UTC 2015
Author: amdmi3
Date: Fri Sep 18 17:45:51 2015
New Revision: 397272
URL: https://svnweb.freebsd.org/changeset/ports/397272
Log:
- Fix shebangs
- Switch to @sample
- Switch to options helpers
- Drop @dirrm* from plist
Approved by: portmgr blanket
Modified:
head/games/linux-enemyterritory-jaymod/Makefile
head/games/linux-enemyterritory-jaymod/pkg-plist
Modified: head/games/linux-enemyterritory-jaymod/Makefile
==============================================================================
--- head/games/linux-enemyterritory-jaymod/Makefile Fri Sep 18 17:45:00 2015 (r397271)
+++ head/games/linux-enemyterritory-jaymod/Makefile Fri Sep 18 17:45:51 2015 (r397272)
@@ -3,6 +3,7 @@
PORTNAME= jaymod
PORTVERSION= 2.2.0
+PORTREVISION= 1
CATEGORIES= games linux
MASTER_SITES= http://jaymod.clanfu.org/lib/downloads/ \
http://www.zenenterprises.biz/bud/jaymod/
@@ -13,6 +14,9 @@ COMMENT= Jaymod - An Enemy Territory Mod
RUN_DEPENDS= et:${PORTSDIR}/games/linux-enemyterritory
+USES= shebangfix
+SHEBANG_FILES= linux/convert_shrub
+perl_OLD_CMD= /bin/env perl
USE_LINUX= yes
OPTIONS_DEFINE= DOCS OMNIBOT
@@ -26,8 +30,6 @@ PLIST_SUB= CLIENT_PK3="${CLIENT_PK3}"
OMNIBOT_RUN_DEPENDS= et-omni-bot:${PORTSDIR}/games/linux-enemyterritory-omni-bot
-.include <bsd.port.options.mk>
-
do-build:
.for f in et etded
@(${ECHO_CMD} "#!/bin/sh"; \
@@ -46,6 +48,8 @@ do-install:
@${CP} -p ${WRKSRC}/${f} ${STAGEDIR}${DATADIR}/${f}.sample
.endfor
@${CP} -r ${WRKSRC}/linux ${WRKSRC}/mapscripts ${STAGEDIR}${DATADIR}
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in README.txt doc/jaymod.pdf
@cd ${WRKSRC} && ${INSTALL_DATA} ${f} ${STAGEDIR}${DOCSDIR}
Modified: head/games/linux-enemyterritory-jaymod/pkg-plist
==============================================================================
--- head/games/linux-enemyterritory-jaymod/pkg-plist Fri Sep 18 17:45:00 2015 (r397271)
+++ head/games/linux-enemyterritory-jaymod/pkg-plist Fri Sep 18 17:45:51 2015 (r397272)
@@ -1,8 +1,6 @@
bin/et-jaymod
bin/etded-jaymod
- at 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
- at exec if [ ! -f %D/lib/enemyterritory/jaymod/jaymod.cfg ] ; then cp -p %D/%F %B/jaymod.cfg; fi
+ at sample %%DATADIR%%/jaymod.cfg.sample
%%DATADIR%%/%%CLIENT_PK3%%
%%DATADIR%%/linux/convert_shrub
%%DATADIR%%/linux/serverctl
@@ -16,12 +14,6 @@ bin/etded-jaymod
%%DATADIR%%/mapscripts/railgun.script
%%DATADIR%%/mapscripts/railgun_lms.script
%%DATADIR%%/qagame.mp.i386.so
- at 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
- at exec if [ ! -f %D/lib/enemyterritory/jaymod/server.cfg ] ; then cp -p %D/%F %B/server.cfg; fi
+ at sample %%DATADIR%%/server.cfg.sample
%%PORTDOCS%%%%DOCSDIR%%/README.txt
%%PORTDOCS%%%%DOCSDIR%%/jaymod.pdf
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
- at dirrm %%DATADIR%%/mapscripts
- at dirrm %%DATADIR%%/linux
- at dirrmtry %%DATADIR%%
More information about the svn-ports-all
mailing list