Date: Sun, 17 Nov 2013 03:56:20 +0000 (UTC) From: Danilo Egea Gondolfo <danilo@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r334056 - head/games/linux-enemyterritory-tce Message-ID: <201311170356.rAH3uKUs010724@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311170356.rAH3uKUs010724>