Bug 79222

Summary: New port: games/linux-enemyterritory-fortress
Product: Ports & Packages Reporter: Jean-Yves Lefort <jylefort>
Component: Individual Port(s)Assignee: Jean-Yves Lefort <jylefort>
Status: Closed FIXED    
Severity: Affects Only Me CC: benlutz
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.shar none

Description Jean-Yves Lefort 2005-03-25 09:10:02 UTC
Depends on 79221.
Comment 1 Jean-Yves Lefort 2005-03-27 14:31:37 UTC
Use this one instead:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	linux-enemyterritory-fortress
#	linux-enemyterritory-fortress/Makefile
#	linux-enemyterritory-fortress/distinfo
#	linux-enemyterritory-fortress/pkg-descr
#	linux-enemyterritory-fortress/pkg-plist
#
echo c - linux-enemyterritory-fortress
mkdir -p linux-enemyterritory-fortress > /dev/null 2>&1
echo x - linux-enemyterritory-fortress/Makefile
sed 's/^X//' >linux-enemyterritory-fortress/Makefile << 'END-of-linux-enemyterritory-fortress/Makefile'
X# New ports collection makefile for:	Enemy Territory Fortress
X# Date created:			25 Mar 2005
X# Whom:				Jean-Yves Lefort <jylefort@brutele.be>
X#
X# $FreeBSD$
X#
X
XPORTNAME=		enemyterritory-fortress
XPORTVERSION=		1.2
XCATEGORIES=		games linux
XMASTER_SITES=		${MASTER_SITE_GENTOO} \
X			http://camelot.snt.utwente.nl/etf/ \
X			ftp://ftp.planet-multiplayer.de/sites/rtcw-prison/et/mods/etf/ \
X			http://ftp.games.skynet.be/pub/wolfenstein/etf/
XMASTER_SITE_SUBDIR=	distfiles		# for MASTER_SITE_GENTOO
XPKGNAMEPREFIX=		linux-
XDISTNAME=		etf_${PORTVERSION}-english
XEXTRACT_SUFX=		.run
X
XMAINTAINER=		jylefort@brutele.be
XCOMMENT=		A class-based teamplay modification for Enemy Territory
X
XRUN_DEPENDS=		et:${PORTSDIR}/games/linux-enemyterritory
X
XONLY_FOR_ARCHS=		i386
XUSE_X_PREFIX=		yes
XUSE_LINUX=		yes
XNO_PACKAGE=		Distfile is 225MB, set FORCE_PACKAGE if you really want to build this package
XRESTRICTED=		Redistribution is limited, see license
XNO_WRKSUBDIR=		yes
XETDIR=			${PREFIX}/lib/enemyterritory
XSTRIP=			# do not brand Linux binaries as FreeBSD on INSTALL_PROGRAM
X
Xdo-extract:
X	@${MKDIR} ${WRKDIR}
X	@cd ${WRKDIR} && \
X		${TAIL} -c +8763 ${_DISTDIR}/${DISTFILES} | ${TAR} zxf - && \
X		${TAR} zxf etf12.tar.gz && \
X		${TAR} zxf cfgnormal.tar.gz
X
Xdo-build:
X	@${ECHO} '#!/bin/sh' > ${WRKSRC}/et-fortress
X	@${ECHO} 'exec ${PREFIX}/bin/et +set fs_game etf "$$@"' >> ${WRKSRC}/et-fortress
X
Xdo-install:
X	${MKDIR} ${PREFIX}/bin
X	${INSTALL_SCRIPT} ${WRKSRC}/et-fortress ${PREFIX}/bin
X
X	${MKDIR} ${ETDIR}/etf
X.for f in autoexec.cfg etconfig.cfg etf_pak0.pk3 etf_pak1.pk3 etf_pak2.pk3 \
X	mp_bin.pk3 sample_server.cfg servercache.dat
X	${INSTALL_DATA} ${WRKSRC}/etf/${f} ${ETDIR}/etf
X.endfor
X.for f in cgame.mp.i386.so qagame.mp.i386.so ui.mp.i386.so
X	${INSTALL_PROGRAM} ${WRKSRC}/etf/${f} ${ETDIR}/etf
X.endfor
X
X.for d in classconfigs ui/usermenu video
X	${MKDIR} ${ETDIR}/etf/${d}
X	${INSTALL_DATA} ${WRKSRC}/etf/${d}/* ${ETDIR}/etf/${d}
X.endfor
X
X	${MKDIR} ${DATADIR}
X	${INSTALL_DATA} ${WRKSRC}/etf.xpm ${DATADIR}
X
X.for d in advanced_server_configs sample_server
X	${MKDIR} ${DATADIR}/${d}
X	${INSTALL_DATA} ${WRKSRC}/etf/${d:S/_/\ /g}/* ${DATADIR}/${d}
X.endfor
X
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X.for f in EULA README etf/12_changelog.txt
X	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
X.endfor
X.endif
X
X.include <bsd.port.mk>
END-of-linux-enemyterritory-fortress/Makefile
echo x - linux-enemyterritory-fortress/distinfo
sed 's/^X//' >linux-enemyterritory-fortress/distinfo << 'END-of-linux-enemyterritory-fortress/distinfo'
XMD5 (etf_1.2-english.run) = a0efbbeae4e3a079ae438ce98470d1d8
XSIZE (etf_1.2-english.run) = 235943434
END-of-linux-enemyterritory-fortress/distinfo
echo x - linux-enemyterritory-fortress/pkg-descr
sed 's/^X//' >linux-enemyterritory-fortress/pkg-descr << 'END-of-linux-enemyterritory-fortress/pkg-descr'
XETF is a port of the mod Q3F for Quake 3 Arena and is based off the
XTeam Fortress concept. 10 unique classes and a ton of very cool
Xweapons along with some killer maps make up ETF. The game will offer
Xmany game types like CTF, Reverse CTF, Single Flag, Capture & Hold,
XAssault, King of the Hill and Duel.
X
XWWW: http://www.etfgame.com/
X
X- Jean-Yves Lefort
Xjylefort@brutele.be
END-of-linux-enemyterritory-fortress/pkg-descr
echo x - linux-enemyterritory-fortress/pkg-plist
sed 's/^X//' >linux-enemyterritory-fortress/pkg-plist << 'END-of-linux-enemyterritory-fortress/pkg-plist'
Xbin/et-fortress
Xlib/enemyterritory/etf/autoexec.cfg
Xlib/enemyterritory/etf/cgame.mp.i386.so
Xlib/enemyterritory/etf/classconfigs/agent.cfg
Xlib/enemyterritory/etf/classconfigs/civilian.cfg
Xlib/enemyterritory/etf/classconfigs/engineer.cfg
Xlib/enemyterritory/etf/classconfigs/flametrooper.cfg
Xlib/enemyterritory/etf/classconfigs/grenadier.cfg
Xlib/enemyterritory/etf/classconfigs/minigunner.cfg
Xlib/enemyterritory/etf/classconfigs/paramedic.cfg
Xlib/enemyterritory/etf/classconfigs/recon.cfg
Xlib/enemyterritory/etf/classconfigs/sniper.cfg
Xlib/enemyterritory/etf/classconfigs/soldier.cfg
Xlib/enemyterritory/etf/etconfig.cfg
Xlib/enemyterritory/etf/etf_pak0.pk3
Xlib/enemyterritory/etf/etf_pak1.pk3
Xlib/enemyterritory/etf/etf_pak2.pk3
Xlib/enemyterritory/etf/mp_bin.pk3
Xlib/enemyterritory/etf/qagame.mp.i386.so
Xlib/enemyterritory/etf/sample_server.cfg
Xlib/enemyterritory/etf/servercache.dat
Xlib/enemyterritory/etf/ui.mp.i386.so
Xlib/enemyterritory/etf/ui/usermenu/default_defense.cfg
Xlib/enemyterritory/etf/ui/usermenu/default_general.cfg
Xlib/enemyterritory/etf/ui/usermenu/default_main.cfg
Xlib/enemyterritory/etf/ui/usermenu/default_offense.cfg
Xlib/enemyterritory/etf/ui/usermenu/default_team.cfg
Xlib/enemyterritory/etf/video/etintro.roq
X%%PORTDOCS%%%%DOCSDIR%%/12_changelog.txt
X%%PORTDOCS%%%%DOCSDIR%%/EULA
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%DATADIR%%/advanced_server_configs/ACTF.zip
X%%DATADIR%%/advanced_server_configs/DUEL.zip
X%%DATADIR%%/advanced_server_configs/MIXED.zip
X%%DATADIR%%/advanced_server_configs/readme_samples.txt
X%%DATADIR%%/etf.xpm
X%%DATADIR%%/sample_server/ACTF.zip
X%%DATADIR%%/sample_server/DUEL.zip
X%%DATADIR%%/sample_server/MIXED.zip
X%%DATADIR%%/sample_server/readme_samples.txt
X@dirrm lib/enemyterritory/etf/classconfigs
X@dirrm lib/enemyterritory/etf/ui/usermenu
X@dirrm lib/enemyterritory/etf/ui
X@dirrm lib/enemyterritory/etf/video
X@dirrm lib/enemyterritory/etf
X@unexec rmdir %D/lib/enemyterritory 2>/dev/null || true
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
X@dirrm %%DATADIR%%/advanced_server_configs
X@dirrm %%DATADIR%%/sample_server
X@dirrm %%DATADIR%%
END-of-linux-enemyterritory-fortress/pkg-plist
exit
Comment 2 Jean-Yves Lefort 2005-03-31 15:35:52 UTC
I mean this one (now depends on 79398).

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	linux-enemyterritory-fortress
#	linux-enemyterritory-fortress/Makefile
#	linux-enemyterritory-fortress/distinfo
#	linux-enemyterritory-fortress/pkg-descr
#	linux-enemyterritory-fortress/pkg-plist
#
echo c - linux-enemyterritory-fortress
mkdir -p linux-enemyterritory-fortress > /dev/null 2>&1
echo x - linux-enemyterritory-fortress/Makefile
sed 's/^X//' >linux-enemyterritory-fortress/Makefile << 'END-of-linux-enemyterritory-fortress/Makefile'
X# New ports collection makefile for:	Enemy Territory Fortress
X# Date created:			25 Mar 2005
X# Whom:				Jean-Yves Lefort <jylefort@brutele.be>
X#
X# $FreeBSD$
X#
X
XPORTNAME=		enemyterritory-fortress
XPORTVERSION=		1.2
XCATEGORIES=		games linux
XMASTER_SITES=		${MASTER_SITE_GENTOO} \
X			http://camelot.snt.utwente.nl/etf/ \
X			ftp://ftp.planet-multiplayer.de/sites/rtcw-prison/et/mods/etf/ \
X			http://ftp.games.skynet.be/pub/wolfenstein/etf/
XMASTER_SITE_SUBDIR=	distfiles		# for MASTER_SITE_GENTOO
XPKGNAMEPREFIX=		linux-
XDISTNAME=		etf_${PORTVERSION}-english
X
XMAINTAINER=		jylefort@brutele.be
XCOMMENT=		A class-based teamplay modification for Enemy Territory
X
XRUN_DEPENDS=		et:${PORTSDIR}/games/linux-enemyterritory
X
XONLY_FOR_ARCHS=		i386
XUSE_MAKESELF=		yes
XPREFIX?=		${X11BASE}	# USE_X_PREFIX would pull in USE_XLIB
XUSE_LINUX=		yes
XNO_PACKAGE=		Distfile is 225MB, set FORCE_PACKAGE if you really want to build this package
XRESTRICTED=		Redistribution is limited, see license
XNO_WRKSUBDIR=		yes
XETDIR=			${PREFIX}/lib/enemyterritory
XSTRIP=			# do not brand Linux binaries as FreeBSD on INSTALL_PROGRAM
X
Xpost-extract:
X.for f in etf12.tar.gz cfgnormal.tar.gz
X	@cd ${WRKSRC} && ${TAR} zxf ${f}
X.endfor
X
Xdo-build:
X	@${ECHO} '#!/bin/sh' > ${WRKSRC}/et-fortress
X	@${ECHO} 'exec ${PREFIX}/bin/et +set fs_game etf "$$@"' >> ${WRKSRC}/et-fortress
X
Xdo-install:
X	${MKDIR} ${PREFIX}/bin
X	${INSTALL_SCRIPT} ${WRKSRC}/et-fortress ${PREFIX}/bin
X
X	${MKDIR} ${ETDIR}/etf
X.for f in autoexec.cfg etconfig.cfg etf_pak0.pk3 etf_pak1.pk3 etf_pak2.pk3 \
X	mp_bin.pk3 sample_server.cfg servercache.dat
X	${INSTALL_DATA} ${WRKSRC}/etf/${f} ${ETDIR}/etf
X.endfor
X.for f in cgame.mp.i386.so qagame.mp.i386.so ui.mp.i386.so
X	${INSTALL_PROGRAM} ${WRKSRC}/etf/${f} ${ETDIR}/etf
X.endfor
X
X.for d in classconfigs ui/usermenu video
X	${MKDIR} ${ETDIR}/etf/${d}
X	${INSTALL_DATA} ${WRKSRC}/etf/${d}/* ${ETDIR}/etf/${d}
X.endfor
X
X	${MKDIR} ${DATADIR}
X	${INSTALL_DATA} ${WRKSRC}/etf.xpm ${DATADIR}
X
X.for d in advanced_server_configs sample_server
X	${MKDIR} ${DATADIR}/${d}
X	${INSTALL_DATA} ${WRKSRC}/etf/${d:S/_/\ /g}/* ${DATADIR}/${d}
X.endfor
X
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X.for f in EULA README etf/12_changelog.txt
X	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
X.endfor
X.endif
X
X.include <bsd.port.mk>
END-of-linux-enemyterritory-fortress/Makefile
echo x - linux-enemyterritory-fortress/distinfo
sed 's/^X//' >linux-enemyterritory-fortress/distinfo << 'END-of-linux-enemyterritory-fortress/distinfo'
XMD5 (etf_1.2-english.run) = a0efbbeae4e3a079ae438ce98470d1d8
XSIZE (etf_1.2-english.run) = 235943434
END-of-linux-enemyterritory-fortress/distinfo
echo x - linux-enemyterritory-fortress/pkg-descr
sed 's/^X//' >linux-enemyterritory-fortress/pkg-descr << 'END-of-linux-enemyterritory-fortress/pkg-descr'
XETF is a port of the mod Q3F for Quake 3 Arena and is based off the
XTeam Fortress concept. 10 unique classes and a ton of very cool
Xweapons along with some killer maps make up ETF. The game will offer
Xmany game types like CTF, Reverse CTF, Single Flag, Capture & Hold,
XAssault, King of the Hill and Duel.
X
XWWW: http://www.etfgame.com/
X
X- Jean-Yves Lefort
Xjylefort@brutele.be
END-of-linux-enemyterritory-fortress/pkg-descr
echo x - linux-enemyterritory-fortress/pkg-plist
sed 's/^X//' >linux-enemyterritory-fortress/pkg-plist << 'END-of-linux-enemyterritory-fortress/pkg-plist'
Xbin/et-fortress
Xlib/enemyterritory/etf/autoexec.cfg
Xlib/enemyterritory/etf/cgame.mp.i386.so
Xlib/enemyterritory/etf/classconfigs/agent.cfg
Xlib/enemyterritory/etf/classconfigs/civilian.cfg
Xlib/enemyterritory/etf/classconfigs/engineer.cfg
Xlib/enemyterritory/etf/classconfigs/flametrooper.cfg
Xlib/enemyterritory/etf/classconfigs/grenadier.cfg
Xlib/enemyterritory/etf/classconfigs/minigunner.cfg
Xlib/enemyterritory/etf/classconfigs/paramedic.cfg
Xlib/enemyterritory/etf/classconfigs/recon.cfg
Xlib/enemyterritory/etf/classconfigs/sniper.cfg
Xlib/enemyterritory/etf/classconfigs/soldier.cfg
Xlib/enemyterritory/etf/etconfig.cfg
Xlib/enemyterritory/etf/etf_pak0.pk3
Xlib/enemyterritory/etf/etf_pak1.pk3
Xlib/enemyterritory/etf/etf_pak2.pk3
Xlib/enemyterritory/etf/mp_bin.pk3
Xlib/enemyterritory/etf/qagame.mp.i386.so
Xlib/enemyterritory/etf/sample_server.cfg
Xlib/enemyterritory/etf/servercache.dat
Xlib/enemyterritory/etf/ui.mp.i386.so
Xlib/enemyterritory/etf/ui/usermenu/default_defense.cfg
Xlib/enemyterritory/etf/ui/usermenu/default_general.cfg
Xlib/enemyterritory/etf/ui/usermenu/default_main.cfg
Xlib/enemyterritory/etf/ui/usermenu/default_offense.cfg
Xlib/enemyterritory/etf/ui/usermenu/default_team.cfg
Xlib/enemyterritory/etf/video/etintro.roq
X%%PORTDOCS%%%%DOCSDIR%%/12_changelog.txt
X%%PORTDOCS%%%%DOCSDIR%%/EULA
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%DATADIR%%/advanced_server_configs/ACTF.zip
X%%DATADIR%%/advanced_server_configs/DUEL.zip
X%%DATADIR%%/advanced_server_configs/MIXED.zip
X%%DATADIR%%/advanced_server_configs/readme_samples.txt
X%%DATADIR%%/etf.xpm
X%%DATADIR%%/sample_server/ACTF.zip
X%%DATADIR%%/sample_server/DUEL.zip
X%%DATADIR%%/sample_server/MIXED.zip
X%%DATADIR%%/sample_server/readme_samples.txt
X@dirrm lib/enemyterritory/etf/classconfigs
X@dirrm lib/enemyterritory/etf/ui/usermenu
X@dirrm lib/enemyterritory/etf/ui
X@dirrm lib/enemyterritory/etf/video
X@dirrm lib/enemyterritory/etf
X@unexec rmdir %D/lib/enemyterritory 2>/dev/null || true
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
X@dirrm %%DATADIR%%/advanced_server_configs
X@dirrm %%DATADIR%%/sample_server
X@dirrm %%DATADIR%%
END-of-linux-enemyterritory-fortress/pkg-plist
exit
Comment 3 Jean-Yves Lefort freebsd_committer freebsd_triage 2005-04-12 22:31:47 UTC
Responsible Changed
From-To: freebsd-ports-bugs->jylefort

I take my own PR.
Comment 4 Jean-Yves Lefort freebsd_committer freebsd_triage 2005-04-14 21:58:45 UTC
State Changed
From-To: open->closed

Committed with a few modifications