From owner-svn-ports-head@FreeBSD.ORG Tue Sep 4 21:54:42 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A779D1065739; Tue, 4 Sep 2012 21:54:41 +0000 (UTC) (envelope-from flo@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id D15728FC17; Tue, 4 Sep 2012 21:54:41 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q84LsfN9024718; Tue, 4 Sep 2012 21:54:41 GMT (envelope-from flo@svn.freebsd.org) Received: (from flo@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q84LsfP9024715; Tue, 4 Sep 2012 21:54:41 GMT (envelope-from flo@svn.freebsd.org) Message-Id: <201209042154.q84LsfP9024715@svn.freebsd.org> From: Florian Smeets Date: Tue, 4 Sep 2012 21:54:41 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r303675 - head/games/linux-enemyterritory-jaymod X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.5 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: Tue, 04 Sep 2012 21:54:42 -0000 Author: flo Date: Tue Sep 4 21:54:41 2012 New Revision: 303675 URL: http://svn.freebsd.org/changeset/ports/303675 Log: convert to OptionsNG PR: ports/171300 Submitted by: Barbara Modified: head/games/linux-enemyterritory-jaymod/Makefile (contents, props changed) Modified: head/games/linux-enemyterritory-jaymod/Makefile ============================================================================== --- head/games/linux-enemyterritory-jaymod/Makefile Tue Sep 4 21:17:06 2012 (r303674) +++ head/games/linux-enemyterritory-jaymod/Makefile Tue Sep 4 21:54:41 2012 (r303675) @@ -19,7 +19,8 @@ RUN_DEPENDS= et:${PORTSDIR}/games/linux- USE_LINUX= yes -OPTIONS= OMNIBOT "Install Omni-Bot for bot support" off +OPTIONS_DEFINE= OMNIBOT +OMNIBOT_DESC= Install Omni-Bot for bot support DATADIR= ${PREFIX}/lib/enemyterritory/${PORTNAME} DOCSDIR= ${PREFIX}/share/doc/enemyterritory-${PORTNAME} @@ -27,9 +28,9 @@ DOCSDIR= ${PREFIX}/share/doc/enemyterrit CLIENT_PK3= ${PORTNAME}-${PORTVERSION}.pk3 PLIST_SUB= CLIENT_PK3="${CLIENT_PK3}" -.include +.include -.if defined(WITH_OMNIBOT) +.if ${PORT_OPTIONS:MOMNIBOT} RUN_DEPENDS+= et-omni-bot:${PORTSDIR}/games/linux-enemyterritory-omni-bot .endif @@ -64,4 +65,4 @@ post-install: ${CP} -p ${DATADIR}/server.cfg.sample ${DATADIR}/server.cfg ; \ fi -.include +.include