View | Details | Raw Unified | Return to bug 98160
Collapse All | Expand All

(-)linux-enemyterritory/Makefile (-17 / +13 lines)
Lines 6-47 Link Here
6
#
6
#
7
7
8
PORTNAME=	enemyterritory
8
PORTNAME=	enemyterritory
9
PORTVERSION=	2.60
9
PORTVERSION=	2.60b
10
PORTREVISION=	1
11
CATEGORIES=	games linux
10
CATEGORIES=	games linux
12
MASTER_SITES=	http://mirrors.xmission.com/idsoftware/et/linux/ \
11
MASTER_SITES=	${MASTER_SITE_IDSOFTWARE:S|$|et/linux/:full|} \
13
		http://3dgamers.intelenet.net/pub/3dgamers/games/wolfensteinet/ \
12
		${MASTER_SITE_IDSOFTWARE:S|$|et/:patch|}
14
		http://ftp7.3dgamers.com/pub/3dgamers/games/wolfensteinet/ \
15
		http://ftp4.3dgamers.com/pub/3dgamers/games/wolfensteinet/ \
16
		http://3dgamers.gameservers.net/pub/3dgamers/games/wolfensteinet/ \
17
		http://downloads-3dg.planetmirror.com/pub/3dgamers/games/wolfensteinet/ \
18
		http://3dgamers.iinet.net.au/pub/3dgamers/games/wolfensteinet/ \
19
		${MASTER_SITE_IDSOFTWARE:S|$|et/linux/|}
20
PKGNAMEPREFIX=	linux-
13
PKGNAMEPREFIX=	linux-
21
DISTNAME=	et-linux-2.60.x86
14
DISTNAME=	et-linux-2.60b.x86
22
EXTRACT_SUFX=	.run
15
DISTFILES=	et-linux-2.60.x86.run:full ET-2.60b.zip:patch
23
16
24
MAINTAINER=	benlutz@datacomm.ch
17
MAINTAINER=	benlutz@datacomm.ch
25
COMMENT=	Wolfenstein: Enemy Territory (Linux version)
18
COMMENT=	Wolfenstein: Enemy Territory (Linux version)
26
19
27
ONLY_FOR_ARCHS=	i386
20
ONLY_FOR_ARCHS=	i386
28
USE_LINUX=	yes
21
USE_LINUX=	yes
29
USE_X_PREFIX=	yes
22
NO_CDROM=	Redistribution is limited, see license
30
NO_PACKAGE=	Package will be 257MB, set FORCE_PACKAGE if you really want to build it
31
RESTRICTED=	Redistribution is limited, see license
32
NO_WRKSUBDIR=	yes
33
ETDIR=		${PREFIX}/lib/${PORTNAME}
23
ETDIR=		${PREFIX}/lib/${PORTNAME}
34
INSTALL_DIR=	${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}
24
INSTALL_DIR=	${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}
25
PATCH_260B_DIR=	Enemy Territory 2.60b
35
26
36
do-extract:
27
do-extract:
37
	@${MKDIR} ${WRKSRC}
28
	@${MKDIR} ${WRKSRC}
38
	@cd ${WRKSRC} && \
29
	@cd ${WRKSRC} && \
39
		${TAIL} +374 ${_DISTDIR}/${DISTFILES} | ${TAR} xfz -
30
		${TAIL} +374 ${_DISTDIR}/et-linux-2.60.x86.run | ${TAR} xfz -
31
	@cd ${WRKSRC} && \
32
		${TAR} xf ${_DISTDIR}/ET-2.60b.zip
40
33
41
post-patch:
34
post-patch:
42
.for FILE in et etded
35
.for FILE in et etded
43
	@${SED} -e 's|@ETDIR@|${ETDIR}|' ${FILESDIR}/${FILE}.in > ${WRKSRC}/${FILE}
36
	@${SED} -e 's|@ETDIR@|${ETDIR}|' ${FILESDIR}/${FILE}.in > ${WRKSRC}/${FILE}
44
.endfor
37
.endfor
38
	@${MV} "${WRKSRC}/${PATCH_260B_DIR}/linux/et.x86" ${WRKSRC}/bin/Linux/x86
39
	@${MV} "${WRKSRC}/${PATCH_260B_DIR}/linux/etded.x86" ${WRKSRC}/bin/Linux/x86
45
40
46
do-build:
41
do-build:
47
	${BRANDELF} -t Linux ${WRKSRC}/pb/pbweb.x86
42
	${BRANDELF} -t Linux ${WRKSRC}/pb/pbweb.x86
Lines 58-63 Link Here
58
53
59
.if !defined(NOPORTDOCS)
54
.if !defined(NOPORTDOCS)
60
	${INSTALL_DIR} ${DOCSDIR}
55
	${INSTALL_DIR} ${DOCSDIR}
56
	${RMDIR} ${WRKSRC}/Docs/Help/_private
61
	${CP} -R ${WRKSRC}/Docs/* ${DOCSDIR}
57
	${CP} -R ${WRKSRC}/Docs/* ${DOCSDIR}
62
	${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}/*
58
	${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}/*
63
	${FIND} ${DOCSDIR}/* -type f -print0 | \
59
	${FIND} ${DOCSDIR}/* -type f -print0 | \
(-)linux-enemyterritory/distinfo (+4 lines)
Lines 1-2 Link Here
1
MD5 (et-linux-2.60.x86.run) = 2d2373f29f02e18d365d7f1860eee435
1
MD5 (et-linux-2.60.x86.run) = 2d2373f29f02e18d365d7f1860eee435
2
SHA256 (et-linux-2.60.x86.run) = 41cbbc1afb8438bc8fc74a64a171685550888856005111cbf9af5255f659ae36
2
SIZE (et-linux-2.60.x86.run) = 270965248
3
SIZE (et-linux-2.60.x86.run) = 270965248
4
MD5 (ET-2.60b.zip) = fb83b8732fc7373c277180b663debf57
5
SHA256 (ET-2.60b.zip) = 6fb77e1ed0314b2da5c2a28807392ac638204faec8ef86361893937f182b22f8
6
SIZE (ET-2.60b.zip) = 4143401
(-)linux-enemyterritory/pkg-plist (-1 lines)
Lines 254-260 Link Here
254
%%PORTDOCS%%@dirrm %%DOCSDIR%%/Help/Tech Help/vendor
254
%%PORTDOCS%%@dirrm %%DOCSDIR%%/Help/Tech Help/vendor
255
%%PORTDOCS%%@dirrm %%DOCSDIR%%/Help/Tech Help
255
%%PORTDOCS%%@dirrm %%DOCSDIR%%/Help/Tech Help
256
%%PORTDOCS%%@dirrm %%DOCSDIR%%/Help/_borders
256
%%PORTDOCS%%@dirrm %%DOCSDIR%%/Help/_borders
257
%%PORTDOCS%%@dirrm %%DOCSDIR%%/Help/_private
258
%%PORTDOCS%%@dirrm %%DOCSDIR%%/Help/images
257
%%PORTDOCS%%@dirrm %%DOCSDIR%%/Help/images
259
%%PORTDOCS%%@dirrm %%DOCSDIR%%/Help
258
%%PORTDOCS%%@dirrm %%DOCSDIR%%/Help
260
%%PORTDOCS%%@dirrm %%DOCSDIR%%
259
%%PORTDOCS%%@dirrm %%DOCSDIR%%

Return to bug 98160