From owner-svn-ports-head@freebsd.org Fri Sep 18 17:45:52 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 64AF19CEE62; Fri, 18 Sep 2015 17:45:52 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4A0E5195C; Fri, 18 Sep 2015 17:45:52 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t8IHjqTK086983; Fri, 18 Sep 2015 17:45:52 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t8IHjpTD086981; Fri, 18 Sep 2015 17:45:51 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201509181745.t8IHjpTD086981@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Fri, 18 Sep 2015 17:45:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r397272 - head/games/linux-enemyterritory-jaymod X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Sep 2015 17:45:52 -0000 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 - 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 -@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/%F %B/jaymod.cfg; fi +@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 -@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/%F %B/server.cfg; fi +@sample %%DATADIR%%/server.cfg.sample %%PORTDOCS%%%%DOCSDIR%%/README.txt %%PORTDOCS%%%%DOCSDIR%%/jaymod.pdf -%%PORTDOCS%%@dirrm %%DOCSDIR%% -@dirrm %%DATADIR%%/mapscripts -@dirrm %%DATADIR%%/linux -@dirrmtry %%DATADIR%%