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 | \ |