aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjylefort <jylefort@FreeBSD.org>2006-10-31 22:14:01 +0800
committerjylefort <jylefort@FreeBSD.org>2006-10-31 22:14:01 +0800
commit9f7cfb98bbd91a0a65cbaaf720344762495ca193 (patch)
tree904ae59682c00acd4937388750ad083ea4cf30b9
parentc02e8c98fc2a808212a39ff67ffba39d23a4992f (diff)
downloadfreebsd-ports-gnome-9f7cfb98bbd91a0a65cbaaf720344762495ca193.tar.gz
freebsd-ports-gnome-9f7cfb98bbd91a0a65cbaaf720344762495ca193.tar.zst
freebsd-ports-gnome-9f7cfb98bbd91a0a65cbaaf720344762495ca193.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
-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