2005-04-14 20:22:14 +00:00
|
|
|
# New ports collection makefile for: Enemy Territory TrueCombat:Elite
|
|
|
|
# Date created: 25 Mar 2005
|
|
|
|
# Whom: Jean-Yves Lefort <jylefort@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= enemyterritory-tce
|
2006-10-08 22:34:51 +00:00
|
|
|
PORTVERSION= 0.49
|
2005-04-14 20:22:14 +00:00
|
|
|
CATEGORIES= games linux
|
2008-07-05 05:44:03 +00:00
|
|
|
MASTER_SITES= http://dragons-perch.net/tce/
|
2005-04-14 20:22:14 +00:00
|
|
|
PKGNAMEPREFIX= linux-
|
|
|
|
DISTNAME= tcetest
|
2006-10-08 22:34:51 +00:00
|
|
|
DISTFILES= tcetest049.zip
|
2005-04-14 20:22:14 +00:00
|
|
|
|
2008-04-29 05:11:44 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2005-04-14 20:22:14 +00:00
|
|
|
COMMENT= A modern tactical Enemy Territory modification
|
|
|
|
|
|
|
|
RUN_DEPENDS= et:${PORTSDIR}/games/linux-enemyterritory
|
|
|
|
|
2006-10-31 14:17:00 +00:00
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
2005-04-14 20:22:14 +00:00
|
|
|
USE_ZIP= yes
|
|
|
|
USE_LINUX= yes
|
2006-10-08 22:34:51 +00:00
|
|
|
NO_PACKAGE= Distfile size is 450MB, set FORCE_PACKAGE if you really want to build this package
|
2005-04-14 20:22:14 +00:00
|
|
|
RESTRICTED= Redistribution is limited, see license
|
|
|
|
ETDIR= ${PREFIX}/lib/enemyterritory
|
2006-10-08 22:34:51 +00:00
|
|
|
PORTDOCS= *
|
|
|
|
|
|
|
|
DESKTOP_ENTRIES="Enemy Territory TrueCombat:Elite" \
|
|
|
|
"Play Enemy Territory TrueCombat:Elite" \
|
|
|
|
"${ETDIR}/tcetest/tce_icon_pc.ico" \
|
|
|
|
"et-tce" \
|
|
|
|
"" \
|
|
|
|
false
|
2005-04-14 20:22:14 +00:00
|
|
|
|
|
|
|
do-build:
|
2005-04-25 16:16:15 +00:00
|
|
|
.for f in et etded
|
2005-08-28 13:43:56 +00:00
|
|
|
@${ECHO_CMD} '#!/bin/sh' > ${WRKSRC}/${f}-tce
|
|
|
|
@${ECHO_CMD} 'exec ${PREFIX}/bin/${f} +set fs_game tcetest "$$@"' >> ${WRKSRC}/${f}-tce
|
2005-04-25 16:16:15 +00:00
|
|
|
.endfor
|
2005-04-14 20:22:14 +00:00
|
|
|
|
|
|
|
do-install:
|
2005-04-25 16:16:15 +00:00
|
|
|
.for f in et etded
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${f}-tce ${PREFIX}/bin
|
|
|
|
.endfor
|
2005-04-14 20:22:14 +00:00
|
|
|
|
|
|
|
${MKDIR} ${ETDIR}/tcetest
|
2006-10-08 22:34:51 +00:00
|
|
|
.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
|
2005-04-14 20:22:14 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${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}
|
2006-10-08 22:34:51 +00:00
|
|
|
.for f in *.txt *.rtf
|
2005-04-14 20:22:14 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|