ports/102916: [UPDATE] games/linux-doom3-demo: add "linux-" prefix to installed scripts

Alejandro Pulver alepulver at FreeBSD.org
Tue Sep 5 19:40:26 UTC 2006


>Number:         102916
>Category:       ports
>Synopsis:       [UPDATE] games/linux-doom3-demo: add "linux-" prefix to installed scripts
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 05 19:40:18 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Alejandro Pulver
>Release:        FreeBSD 6.1-RELEASE-p1 i386
>Organization:
>Environment:


System: FreeBSD 6.1-RELEASE-p1 #3: Mon Jun 19 14:49:35 ART 2006
    root at phobos.mars.bsd:/usr/obj/usr/src/sys/ATHLON-PHOBOS



>Description:


- 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).


>How-To-Repeat:





>Fix:


--- linux-doom3-demo.diff begins here ---
Index: linux-doom3-demo/Makefile
===================================================================
RCS file: /home/pcvs/ports/games/linux-doom3-demo/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- linux-doom3-demo/Makefile	4 Sep 2005 02:36:30 -0000	1.2
+++ linux-doom3-demo/Makefile	4 Sep 2006 22:23:32 -0000
@@ -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 at FreeBSD.org
-COMMENT=	DOOM III demo
+COMMENT=	DOOM III demo for Linux
 
 ONLY_FOR_ARCHS=	i386
 USE_X_PREFIX=	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_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 @@
 	@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}
Index: linux-doom3-demo/pkg-plist
===================================================================
RCS file: /home/pcvs/ports/games/linux-doom3-demo/pkg-plist,v
retrieving revision 1.1
diff -u -r1.1 pkg-plist
--- linux-doom3-demo/pkg-plist	13 Apr 2005 21:37:14 -0000	1.1
+++ linux-doom3-demo/pkg-plist	4 Sep 2006 22:23:32 -0000
@@ -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
--- linux-doom3-demo.diff ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list