- Bump PORTREVISION.
  - Rename directories and scripts adding the "linux-" prefix
    (IdSoftware always releases the source code of their engines).
  - Add IDSOFTWARE to MASTER_SITES.
  - Remove unneeded libraries (included in linux_base-fc4).
  - Use NO_CDROM instead of RESTRICTED since redistribution is allowed
    in electronic form (see games/linux-quake4, games/linux-quake4-demo
    and games/linux-doom3).

Also:
  - Add amd64 to ONLY_FOR_ARCHS
  - Move to LOCALBASE
  - Grammar fix

[1]:
PR:		ports/102916
Submitted by:	alepulver
This commit is contained in:
Jean-Yves Lefort 2006-10-31 14:14:01 +00:00
parent 2fb8ca3acd
commit 623f0675b9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=175825
2 changed files with 16 additions and 15 deletions

View File

@ -7,25 +7,28 @@
PORTNAME= doom3-demo
PORTVERSION= 1.1.1286
PORTREVISION= 1
CATEGORIES= games linux
MASTER_SITES= http://www.hup.hu/~trey/DOOM3/ \
http://darkstar.ist.utl.pt/pub/games/ \
ftp://ftp.headoff.com/GameDemos/Doom3/
ftp://ftp.headoff.com/GameDemos/Doom3/ \
IDSOFTWARE/doom3/linux
PKGNAMEPREFIX= linux-
DISTNAME= doom3-linux-${PORTVERSION}-demo.x86
EXTRACT_SUFX= .run
MAINTAINER= jylefort@FreeBSD.org
COMMENT= DOOM III demo
COMMENT= DOOM III demo for Linux
ONLY_FOR_ARCHS= i386
USE_X_PREFIX= yes
ONLY_FOR_ARCHS= i386 amd64
USE_XLIB= yes
USE_LINUX= yes
NO_PACKAGE= Distfile is 462MB, set FORCE_PACKAGE if you really want to build this package
RESTRICTED= Redistribution is limited, see license
NO_PACKAGE= Distfile size is 462MB, set FORCE_PACKAGE if you really want to build this package
NO_CDROM= Redistribution is limited, see license
NO_BUILD= yes
NO_WRKSUBDIR= yes
DOOMDIR= ${PREFIX}/lib/${PORTNAME}
DOOMDIR= ${PREFIX}/lib/${PKGNAMEPREFIX}${PORTNAME}
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
SUB_FILES= doom3-demo
SUB_LIST= DOOMDIR="${DOOMDIR}"
@ -47,13 +50,13 @@ do-extract:
@cd ${WRKSRC} && ${TAIL} -c +8767 ${_DISTDIR}/${DISTFILES} | ${TAR} zxf -
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/doom3-demo ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKDIR}/doom3-demo ${PREFIX}/bin/${PKGNAMEPREFIX}doom3-demo
${MKDIR} ${DOOMDIR}/demo
${INSTALL_DATA} ${WRKSRC}/demo/demo00.pk4 ${DOOMDIR}/demo
${INSTALL_PROGRAM} ${WRKSRC}/bin/Linux/x86/doom.x86 ${DOOMDIR}
.for f in gamex86.so libgcc_s.so.1 libstdc++.so.5
.for f in gamex86.so
${INSTALL_DATA} ${WRKSRC}/${f} ${DOOMDIR}
-${CHOWN} ${LIBOWN}:${LIBGRP} ${DOOMDIR}/${f}
${CHMOD} ${LIBMODE} ${DOOMDIR}/${f}

View File

@ -1,9 +1,7 @@
bin/doom3-demo
lib/doom3-demo/demo/demo00.pk4
lib/doom3-demo/doom.x86
lib/doom3-demo/gamex86.so
lib/doom3-demo/libgcc_s.so.1
lib/doom3-demo/libstdc++.so.5
bin/linux-doom3-demo
lib/linux-doom3-demo/demo/demo00.pk4
lib/linux-doom3-demo/doom.x86
lib/linux-doom3-demo/gamex86.so
%%PORTDOCS%%%%DOCSDIR%%/License.txt
%%PORTDOCS%%%%DOCSDIR%%/README
@dirrm lib/doom3-demo/demo