From owner-svn-ports-head@FreeBSD.ORG Sun Dec 2 13:57:57 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E62E3207; Sun, 2 Dec 2012 13:57:57 +0000 (UTC) (envelope-from bar@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id B12D28FC12; Sun, 2 Dec 2012 13:57:57 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qB2Dvv3h082706; Sun, 2 Dec 2012 13:57:57 GMT (envelope-from bar@svn.freebsd.org) Received: (from bar@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qB2DvvOB082705; Sun, 2 Dec 2012 13:57:57 GMT (envelope-from bar@svn.freebsd.org) Message-Id: <201212021357.qB2DvvOB082705@svn.freebsd.org> From: Barbara Guida Date: Sun, 2 Dec 2012 13:57:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r308107 - head/games/linux-enemyterritory-jaymod-21 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.14 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: Sun, 02 Dec 2012 13:57:58 -0000 Author: bar Date: Sun Dec 2 13:57:57 2012 New Revision: 308107 URL: http://svnweb.freebsd.org/changeset/ports/308107 Log: - Trim Makefile headers - Convert to OptionsNG - Update my email address Approved by: rene (mentor) Feature safe: yes Modified: head/games/linux-enemyterritory-jaymod-21/Makefile Modified: head/games/linux-enemyterritory-jaymod-21/Makefile ============================================================================== --- head/games/linux-enemyterritory-jaymod-21/Makefile Sun Dec 2 13:11:25 2012 (r308106) +++ head/games/linux-enemyterritory-jaymod-21/Makefile Sun Dec 2 13:57:57 2012 (r308107) @@ -1,9 +1,5 @@ -# New ports collection makefile for: jaymod -# Date created: 7 May 2006 -# Whom: alepulver -# +# Created by: alepulver # $FreeBSD$ -# PORTNAME= jaymod PORTVERSION= 2.1.7 @@ -15,7 +11,7 @@ MASTER_SITES= http://etmod.googlecode.co http://et.lsdfunweb.fr/et/jaymod/ PKGNAMEPREFIX= linux-enemyterritory- -MAINTAINER= barbara.xxx1975@libero.it +MAINTAINER= bar@FreeBSD.org COMMENT= Jaymod - An Enemy Territory Modification RUN_DEPENDS= et:${PORTSDIR}/games/linux-enemyterritory @@ -26,7 +22,8 @@ PLIST_SUB= VERSTR="${VERSTR}" USE_LINUX= yes -OPTIONS= OMNIBOT "Install Omni-Bot for bot support" off +OPTIONS_DEFINE= DOCS OMNIBOT +OMNIBOT_DESC= Install Omni-Bot 0.660 for bot support DATADIR= ${PREFIX}/lib/enemyterritory/${PORTNAME}-${VERSTR} DOCSDIR= ${PREFIX}/share/doc/enemyterritory-${PORTNAME}-${VERSTR} @@ -34,9 +31,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} OB_VERSTR= 0660 RUN_DEPENDS+= et-omni-bot-${OB_VERSTR}:${PORTSDIR}/games/linux-enemyterritory-omni-bot-${OB_VERSTR} .endif @@ -56,9 +53,9 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/qagame.mp.i386.so ${DATADIR} cd ${WRKSRC} && ${INSTALL_DATA} ${CLIENT_PK3} *.cfg ${DATADIR} ${CP} -r ${WRKSRC}/linux ${WRKSRC}/mapscripts ${DATADIR} -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} README.txt doc/jaymod.pdf ${DOCSDIR} .endif -.include +.include