From owner-svn-ports-all@FreeBSD.ORG Sun Nov 17 03:56:21 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2D0C34EA; Sun, 17 Nov 2013 03:56:21 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 03D8625DA; Sun, 17 Nov 2013 03:56:21 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAH3uKk7010725; Sun, 17 Nov 2013 03:56:20 GMT (envelope-from danilo@svn.freebsd.org) Received: (from danilo@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAH3uKUs010724; Sun, 17 Nov 2013 03:56:20 GMT (envelope-from danilo@svn.freebsd.org) Message-Id: <201311170356.rAH3uKUs010724@svn.freebsd.org> From: Danilo Egea Gondolfo Date: Sun, 17 Nov 2013 03:56:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r334056 - head/games/linux-enemyterritory-tce X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Nov 2013 03:56:21 -0000 Author: danilo Date: Sun Nov 17 03:56:20 2013 New Revision: 334056 URL: http://svnweb.freebsd.org/changeset/ports/334056 Log: - Remove NO_PACKAGE - Add DOCS option - Add stage support Modified: head/games/linux-enemyterritory-tce/Makefile Modified: head/games/linux-enemyterritory-tce/Makefile ============================================================================== --- head/games/linux-enemyterritory-tce/Makefile Sun Nov 17 03:52:51 2013 (r334055) +++ head/games/linux-enemyterritory-tce/Makefile Sun Nov 17 03:56:20 2013 (r334056) @@ -18,11 +18,12 @@ RUN_DEPENDS= et:${PORTSDIR}/games/linux- ONLY_FOR_ARCHS= i386 amd64 USE_ZIP= yes USE_LINUX= yes -NO_PACKAGE= Distfile size is 450MB, set FORCE_PACKAGE if you really want to build this package RESTRICTED= Redistribution is limited, see license ETDIR= ${PREFIX}/lib/enemyterritory PORTDOCS= * +OPTIONS_DEFINE= DOCS + DESKTOP_ENTRIES="Enemy Territory TrueCombat:Elite" \ "Play Enemy Territory TrueCombat:Elite" \ "${ETDIR}/tcetest/tce_icon_pc.ico" \ @@ -30,7 +31,6 @@ DESKTOP_ENTRIES="Enemy Territory TrueCom "" \ false -NO_STAGE= yes do-build: .for f in et etded @${ECHO_CMD} '#!/bin/sh' > ${WRKSRC}/${f}-tce @@ -39,25 +39,17 @@ do-build: do-install: .for f in et etded - ${INSTALL_SCRIPT} ${WRKSRC}/${f}-tce ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/${f}-tce ${STAGEDIR}${PREFIX}/bin .endfor - - ${MKDIR} ${ETDIR}/tcetest + @${MKDIR} ${STAGEDIR}${ETDIR}/tcetest .for f in autoexec.cfg cgame.mp.i386.so mp_bin.pk3 official.dat pak0.pk3 \ pak1.pk3 pak2.pk3 pak3.pk3 qagame.mp.i386.so tce_icon_pc.ico \ ui.mp.i386.so - ${INSTALL_DATA} ${WRKSRC}/${f} ${ETDIR}/tcetest + ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${ETDIR}/tcetest .endfor -.for f in cgame.mp.i386.so qagame.mp.i386.so ui.mp.i386.so - -${CHOWN} ${LIBOWN}:${LIBGRP} ${ETDIR}/tcetest/${f} - ${CHMOD} ${LIBMODE} ${ETDIR}/tcetest/${f} -.endfor - -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in *.txt *.rtf - ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor -.endif .include