aboutsummaryrefslogtreecommitdiff
path: root/games/linux-doom3-demo
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2006-10-31 14:14:01 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2006-10-31 14:14:01 +0000
commit623f0675b98d915c1cd65e2723d69eb50cabf577 (patch)
tree7b0df4fa39c5e41c4771bc45a5d5ee99157f23ce /games/linux-doom3-demo
parent2fb8ca3acd917f3889f46bb046b97ab7222df972 (diff)
downloadports-623f0675b98d915c1cd65e2723d69eb50cabf577.tar.gz
ports-623f0675b98d915c1cd65e2723d69eb50cabf577.zip
[1]:
- 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
Notes
Notes: svn path=/head/; revision=175825
Diffstat (limited to 'games/linux-doom3-demo')
-rw-r--r--games/linux-doom3-demo/Makefile21
-rw-r--r--games/linux-doom3-demo/pkg-plist10
2 files changed, 16 insertions, 15 deletions
diff --git a/games/linux-doom3-demo/Makefile b/games/linux-doom3-demo/Makefile
index f6aa38ba3f14..9995c4be7162 100644
--- a/games/linux-doom3-demo/Makefile
+++ b/games/linux-doom3-demo/Makefile
@@ -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}
diff --git a/games/linux-doom3-demo/pkg-plist b/games/linux-doom3-demo/pkg-plist
index 6f754cfc18d6..ed5a901c93b3 100644
--- a/games/linux-doom3-demo/pkg-plist
+++ b/games/linux-doom3-demo/pkg-plist
@@ -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