View | Details | Raw Unified | Return to bug 198000
Collapse All | Expand All

(-)Makefile (-26 / +30 lines)
Lines 30-47 Link Here
30
# Patch files.
30
# Patch files.
31
PATCH436FILES=	unreal.tournament_436-multilanguage.run:p436 \
31
PATCH436FILES=	unreal.tournament_436-multilanguage.run:p436 \
32
		unreal.tournament.official.bonus.pack.collection.run:p436
32
		unreal.tournament.official.bonus.pack.collection.run:p436
33
.if defined(WITH_451PATCH)
34
PATCH451FILES=	UTPGPatch451.tar.bz2:p451
35
UTVERSION=	451
36
PLIST_SUB+=	451PATCH=""
37
.else
38
PATCH451FILES=	# Empty
39
UTVERSION=	436
40
PLIST_SUB+=	451PATCH="@comment "
41
.endif
42
33
43
CDDIRS=		Help Logs Maps Music Sounds System Textures Web
34
CDDIRS=		Help Logs Maps Music Sounds System Textures Web
44
35
36
# Checks
37
#   - Verify path to CD content.
38
#   - Verify CD was correctly mounted by checking for incorrect NetGamesUSA.com.
39
#     -b option may be needed to mount it.
40
.if !defined(CDROM_MOUNT)
41
IGNORE= 	requires CDROM_MOUNT set to mount point of CD
42
.elif exists(${CDROM_MOUNT}/netgam~1.com)
43
IGNORE= 	requires CD mounting with -b option
44
.endif
45
45
# Anthology install.
46
# Anthology install.
46
.if exists(${CDROM_MOUNT}/Disk1/data1.cab)
47
.if exists(${CDROM_MOUNT}/Disk1/data1.cab)
47
ANTHOLOGY=	yes
48
ANTHOLOGY=	yes
Lines 55-68 Link Here
55
PLIST_SUB+=	ANTHOLOGY="@comment " ORIGINAL=""
56
PLIST_SUB+=	ANTHOLOGY="@comment " ORIGINAL=""
56
.endif
57
.endif
57
58
58
# Maps.
59
OPTIONS_DEFINE=	MAPS V451PATCH
59
.if defined(WITHOUT_MAPS)
60
OPTIONS_DEFAULT=MAPS
60
PLIST_SUB+=	MAPS="@comment "
61
OPTIONS_SUB=	yes
62
MAPS_DES=	Install additional maps
63
V451PATCH=	With version 451 patch
64
65
.include <bsd.port.options.mk>
66
67
# Maps
68
.if ${PORT_OPTIONS:MMAPS}
69
MAPS_EXCLUDE=	# Empty
70
.else
61
MAPS_EXCLUDE=	--exclude 'AS*' --exclude 'CTF*' --exclude 'DM*'\
71
MAPS_EXCLUDE=	--exclude 'AS*' --exclude 'CTF*' --exclude 'DM*'\
62
		--exclude 'DOM*' --exclude 'EOL*'
72
		--exclude 'DOM*' --exclude 'EOL*'
73
.endif
74
75
# Patch
76
.if ${PORT_OPTIONS:MV451PATCH}
77
PATCH451FILES=	UTPGPatch451.tar.bz2:p451
78
UTVERSION=	451
63
.else
79
.else
64
PLIST_SUB+=	MAPS=""
80
PATCH451FILES=	# Empty
65
MAPS_EXCLUDE=	# Empty
81
UTVERSION=	436
66
.endif
82
.endif
67
83
68
do-extract:
84
do-extract:
Lines 82-90 Link Here
82
		-e "/ll=/{N;d;}" ${WRKSRC}/bin/ut
98
		-e "/ll=/{N;d;}" ${WRKSRC}/bin/ut
83
99
84
# Installation steps performed:
100
# Installation steps performed:
85
#   - Verify path to CD content.
86
#   - Verify CD was correctly mounted by checking for incorrect NetGamesUSA.com.
87
#     -b option may be needed to mount it.
88
#   - Copy desired content off of CD to drive.  Windows files left behind.
101
#   - Copy desired content off of CD to drive.  Windows files left behind.
89
#   - Extract files from Linux patch minus various language files (necessary?).
102
#   - Extract files from Linux patch minus various language files (necessary?).
90
#   - Extract bonus pack.
103
#   - Extract bonus pack.
Lines 94-108 Link Here
94
#   - Install scripts and README's.
107
#   - Install scripts and README's.
95
#   - Set permissions on files and directories.
108
#   - Set permissions on files and directories.
96
do-install:
109
do-install:
97
.if !defined(CDROM_MOUNT)
98
	@${ECHO_CMD} "${PKGNAME} requires CDROM_MOUNT set to mount point of CD"
99
	@${FALSE}
100
.endif
101
.if exists(${CDROM_MOUNT}/netgam~1.com)
102
	@${ECHO_CMD} \
103
		"This CD requires mounting with the -b option"
104
	@${FALSE}
105
.endif
106
	@${ECHO_CMD} "Detected ${RELEASE_MSG} release"
110
	@${ECHO_CMD} "Detected ${RELEASE_MSG} release"
107
	@${ECHO_CMD} "Installing data from CD"
111
	@${ECHO_CMD} "Installing data from CD"
108
	@${MKDIR} ${STAGEDIR}${DATADIR}
112
	@${MKDIR} ${STAGEDIR}${DATADIR}
(-)pkg-plist (-25 / +12 lines)
Lines 208-214 Link Here
208
%%DATADIR%%/System/MultiMesh.int
208
%%DATADIR%%/System/MultiMesh.int
209
%%DATADIR%%/System/MultiMesh.u
209
%%DATADIR%%/System/MultiMesh.u
210
%%DATADIR%%/System/NullDrv.so
210
%%DATADIR%%/System/NullDrv.so
211
%%451PATCH%%%%DATADIR%%/System/NullNetDriver.so
211
%%V451PATCH%%%%DATADIR%%/System/NullNetDriver.so
212
%%DATADIR%%/System/NullRender.so
212
%%DATADIR%%/System/NullRender.so
213
%%DATADIR%%/System/OpenGLDrv.so
213
%%DATADIR%%/System/OpenGLDrv.so
214
%%DATADIR%%/System/OpenGlDrv.ini
214
%%DATADIR%%/System/OpenGlDrv.ini
Lines 422-435 Link Here
422
%%DATADIR%%/Web/images/m3-1.gif
422
%%DATADIR%%/Web/images/m3-1.gif
423
%%DATADIR%%/Web/images/m3-2.gif
423
%%DATADIR%%/Web/images/m3-2.gif
424
%%DATADIR%%/Web/images/right.gif
424
%%DATADIR%%/Web/images/right.gif
425
%%451PATCH%%%%DATADIR%%/Web/inc/content_footer_tables.inc
425
%%V451PATCH%%%%DATADIR%%/Web/inc/content_footer_tables.inc
426
%%451PATCH%%%%DATADIR%%/Web/inc/content_header_tables.inc
426
%%V451PATCH%%%%DATADIR%%/Web/inc/content_header_tables.inc
427
%%451PATCH%%%%DATADIR%%/Web/inc/footer.inc
427
%%V451PATCH%%%%DATADIR%%/Web/inc/footer.inc
428
%%451PATCH%%%%DATADIR%%/Web/inc/header.inc
428
%%V451PATCH%%%%DATADIR%%/Web/inc/header.inc
429
%%451PATCH%%%%DATADIR%%/Web/inc/menu_footer.inc
429
%%V451PATCH%%%%DATADIR%%/Web/inc/menu_footer.inc
430
%%451PATCH%%%%DATADIR%%/Web/inc/menu_header.inc
430
%%V451PATCH%%%%DATADIR%%/Web/inc/menu_header.inc
431
%%451PATCH%%%%DATADIR%%/Web/inc/top_begin.inc
431
%%V451PATCH%%%%DATADIR%%/Web/inc/top_begin.inc
432
%%451PATCH%%%%DATADIR%%/Web/inc/top_end.inc
432
%%V451PATCH%%%%DATADIR%%/Web/inc/top_end.inc
433
%%DATADIR%%/Web/menu.uhtm
433
%%DATADIR%%/Web/menu.uhtm
434
%%DATADIR%%/Web/message.uhtm
434
%%DATADIR%%/Web/message.uhtm
435
%%DATADIR%%/Web/plaintext/current.uhtm
435
%%DATADIR%%/Web/plaintext/current.uhtm
Lines 450-472 Link Here
450
%%DATADIR%%/Web/plaintext/defaults_rules.uhtm
450
%%DATADIR%%/Web/plaintext/defaults_rules.uhtm
451
%%DATADIR%%/Web/plaintext/defaults_server.uhtm
451
%%DATADIR%%/Web/plaintext/defaults_server.uhtm
452
%%DATADIR%%/Web/plaintext/defaults_settings.uhtm
452
%%DATADIR%%/Web/plaintext/defaults_settings.uhtm
453
%%451PATCH%%%%DATADIR%%/Web/plaintext/inc/footer.inc
453
%%V451PATCH%%%%DATADIR%%/Web/plaintext/inc/footer.inc
454
%%451PATCH%%%%DATADIR%%/Web/plaintext/inc/header.inc
454
%%V451PATCH%%%%DATADIR%%/Web/plaintext/inc/header.inc
455
%%451PATCH%%%%DATADIR%%/Web/plaintext/inc/whiteheader.inc
455
%%V451PATCH%%%%DATADIR%%/Web/plaintext/inc/whiteheader.inc
456
%%DATADIR%%/Web/plaintext/menu.uhtm
456
%%DATADIR%%/Web/plaintext/menu.uhtm
457
%%DATADIR%%/Web/plaintext/message.uhtm
457
%%DATADIR%%/Web/plaintext/message.uhtm
458
%%DATADIR%%/Web/plaintext/root.uhtm
458
%%DATADIR%%/Web/plaintext/root.uhtm
459
%%DATADIR%%/Web/root.uhtm
459
%%DATADIR%%/Web/root.uhtm
460
@dirrm %%DATADIR%%/Help
461
%%ANTHOLOGY%%@dirrm %%DATADIR%%/Manual
462
@dirrm %%DATADIR%%/Maps
463
@dirrm %%DATADIR%%/Music
464
@dirrm %%DATADIR%%/Sounds
465
@dirrm %%DATADIR%%/System
466
@dirrm %%DATADIR%%/Textures
467
@dirrm %%DATADIR%%/Web/images
468
%%451PATCH%%@dirrm %%DATADIR%%/Web/inc
469
%%451PATCH%%@dirrm %%DATADIR%%/Web/plaintext/inc
470
@dirrm %%DATADIR%%/Web/plaintext
471
@dirrm %%DATADIR%%/Web
472
@dirrm %%DATADIR%%

Return to bug 198000