View | Details | Raw Unified | Return to bug 281630 | Differences between
and this patch

Collapse All | Expand All

(-)chocolate-doom/Makefile (-12 / +17 lines)
Lines 1-18 Link Here
1
1
PORTNAME=	chocolate-doom
2
PORTNAME=	chocolate-doom
2
PORTVERSION=	3.0.1
3
PORTVERSION=	3.1.0
3
PORTREVISION=	2
4
CATEGORIES=	games
4
CATEGORIES=	games
5
MASTER_SITES=	http://www.chocolate-doom.org/downloads/${PORTVERSION}/
5
MASTER_SITES=	https://github.com/chocolate-doom/chocolate-doom/archive/refs/tags/
6
6
7
MAINTAINER=	jakub_lach@mailplus.pl
7
MAINTAINER=	jakub_lach@mailplus.pl
8
COMMENT=	Doom/Heretic/Hexen/Strife engine port compatible with the originals
8
COMMENT=	Doom/Heretic/Hexen/Strife engine port compatible with the originals
9
WWW=		https://chocolate-doom.org
9
WWW=		https://www.chocolate-doom.org
10
10
11
LICENSE=	GPLv2
11
LICENSE=	GPLv2
12
12
13
LIB_DEPENDS=	libpng.so:graphics/png
13
LIB_DEPENDS=	libpng.so:graphics/png
14
14
15
USES=		gmake pkgconfig python:build sdl
15
USES=		cmake pkgconfig python:build sdl
16
USE_SDL=	mixer2 net2 sdl2
16
USE_SDL=	mixer2 net2 sdl2
17
GNU_CONFIGURE=	yes
17
GNU_CONFIGURE=	yes
18
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
18
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
Lines 26-37 USE_RC_SUBR= chocolate-server Link Here
26
26
27
.include "${.CURDIR}/../doom-data/Makefile.include"
27
.include "${.CURDIR}/../doom-data/Makefile.include"
28
28
29
post-patch:
29
post-extract:
30
	${REINPLACE_CMD} -e 's|gamesdir = $${exec_prefix}/games|gamesdir = $${exec_prefix}/bin|' \
30
	${MV} ${WRKDIR}/chocolate-doom-chocolate-doom-3.1.0/ \
31
		${WRKSRC}/src/Makefile.in
31
	${WRKDIR}/chocolate-doom-3.1.0/
32
	${REINPLACE_CMD} -e 's|gamesdir = $$(prefix)/games|gamesdir = $$(prefix)/bin|' \
32
33
		${WRKSRC}/src/setup/Makefile.in
33
#post-patch:
34
post-install:
34
#	${REINPLACE_CMD} -e 's|gamesdir = $${exec_prefix}/games|gamesdir = $${exec_prefix}/bin|' \
35
	  ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/chocolate-*
35
#		${WRKSRC}/src/Makefile.in
36
#	${REINPLACE_CMD} -e 's|gamesdir = $$(prefix)/games|gamesdir = $$(prefix)/bin|' \
37
#		${WRKSRC}/src/setup/Makefile.in
38
39
#post-install:
40
#	  ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/chocolate-*
36
41
37
.include <bsd.port.mk>
42
.include <bsd.port.mk>
(-)chocolate-doom/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1611306702
1
TIMESTAMP = 1726750572
2
SHA256 (chocolate-doom-3.0.1.tar.gz) = d435d6177423491d60be706da9f07d3ab4fabf3e077ec2a3fc216e394fcfc8c7
2
SHA256 (chocolate-doom-3.1.0.tar.gz) = f2c64843dcec312032b180c3b2f34b4cb26c4dcdaa7375a1601a3b1df11ef84d
3
SIZE (chocolate-doom-3.0.1.tar.gz) = 2514985
3
SIZE (chocolate-doom-3.1.0.tar.gz) = 2256537
(-)chocolate-doom/files/patch-src_d__iwad.c (-11 lines)
Lines 1-11 Link Here
1
--- src/d_iwad.c.orig	2017-12-30 16:20:28.000000000 -0500
2
+++ src/d_iwad.c	2018-01-25 09:43:00.567417000 -0500
3
@@ -658,7 +658,7 @@
4
     // The "standard" location for IWADs on Unix that is supported by most
5
     // source ports is /usr/share/games/doom - we support this through the
6
     // XDG_DATA_DIRS mechanism, through which it can be overridden.
7
-    AddIWADPath(env, "/games/doom");
8
+    AddIWADPath(env, "/doom");
9
 
10
     // The convention set by RBDOOM-3-BFG is to install Doom 3: BFG
11
     // Edition into this directory, under which includes the Doom
(-)chocolate-doom/files/patch-src_hexen_mn__menu.c (-11 lines)
Lines 1-11 Link Here
1
--- src/hexen/mn_menu.c.orig	2020-08-28 17:00:20 UTC
2
+++ src/hexen/mn_menu.c
3
@@ -131,7 +131,7 @@ boolean MenuActive;
4
 int InfoType;
5
 int messageson = true;
6
 boolean mn_SuicideConsole;
7
-boolean demoextend; // from h2def.h
8
+extern boolean demoextend; // from h2def.h
9
 
10
 // PRIVATE DATA DEFINITIONS ------------------------------------------------
11
 

Return to bug 281630