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

Collapse All | Expand All

(-)b/games/netrek-client-cow/Makefile (-9 / +2 lines)
Lines 2-9 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	netrek-client-cow
4
PORTNAME=	netrek-client-cow
5
PORTVERSION=	3.3.1
5
PORTVERSION=	3.3.2
6
PORTREVISION=	5
7
CATEGORIES=	games
6
CATEGORIES=	games
8
MASTER_SITES=	http://www.netrek.org/files/COW/ \
7
MASTER_SITES=	http://www.netrek.org/files/COW/ \
9
		http://quozl.us.netrek.org/netrek/
8
		http://quozl.us.netrek.org/netrek/
Lines 13-31 COMMENT= Multi-player battle simulation with a Star Trek theme Link Here
13
12
14
LIB_DEPENDS=	libImlib2.so:graphics/imlib2
13
LIB_DEPENDS=	libImlib2.so:graphics/imlib2
15
14
16
LICENSE_FILE=	${WRKSRC}/COPYING
17
18
GNU_CONFIGURE=	yes
15
GNU_CONFIGURE=	yes
19
USES=		gmake sdl
16
USES=		gmake sdl
20
USE_SDL=	sdl mixer
17
USE_SDL=	sdl mixer
21
18
22
CONFIGURE_ARGS+=	NORSA='\#'
19
LICENSE_FILE=	${WRKSRC}/COPYING
23
20
24
post-patch:
21
post-patch:
25
	${REINPLACE_CMD} -e 's|ushort  damage|unsigned short damage|' \
26
		${WRKSRC}/short.c
27
	${REINPLACE_CMD} -e 's|inline void|void|' \
28
		${WRKSRC}/local.[ch]
29
	${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' \
22
	${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' \
30
		${WRKSRC}/netrek-client-cow.desktop \
23
		${WRKSRC}/netrek-client-cow.desktop \
31
		${WRKSRC}/sound.c \
24
		${WRKSRC}/sound.c \
(-)b/games/netrek-client-cow/distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (netrek-client-cow-3.3.1.tar.gz) = a9e969bc5aa2a884481f81e8997e725ca18eedba01c018d7e7d383e85f183ae2
1
TIMESTAMP = 1589646417
2
SIZE (netrek-client-cow-3.3.1.tar.gz) = 1793481
2
SHA256 (netrek-client-cow-3.3.2.tar.gz) = cac219248d71033b62098c3da1ca6b4408974b22996da39eaba213b2253e6da3
3
SIZE (netrek-client-cow-3.3.2.tar.gz) = 1791293
(-)a/games/netrek-client-cow/files/patch-parsemeta.c (-10 lines)
Removed Link Here
1
--- ./parsemeta.c.orig	2011-10-18 05:35:34.000000000 -0500
2
+++ ./parsemeta.c	2012-04-27 15:57:56.000000000 -0500
3
@@ -20,6 +20,7 @@
4
 #include <arpa/inet.h>
5
 #include <netdb.h>
6
 #include <errno.h>
7
+#include <signal.h>
8
 
9
 #include "Wlib.h"
10
 #include "defs.h"
(-)b/games/netrek-client-cow/files/patch-system.mk.in (-13 / +3 lines)
Lines 1-21 Link Here
1
--- ./system.mk.in.orig	2011-10-18 05:35:35.000000000 -0500
1
--- system.mk.in.orig	2020-05-16 16:32:14 UTC
2
+++ ./system.mk.in	2012-04-27 15:59:00.000000000 -0500
2
+++ system.mk.in
3
@@ -9,8 +9,7 @@
3
@@ -9,7 +9,7 @@ exec_prefix=@exec_prefix@
4
 datarootdir=@datarootdir@
4
 datarootdir=@datarootdir@
5
 
5
 
6
 DESTDIR=
6
 DESTDIR=
7
-BINDIR=${prefix}/games
7
-BINDIR=${prefix}/games
8
-DOCDIR=${datarootdir}/doc/${PACKAGE}
9
+BINDIR=${prefix}/bin
8
+BINDIR=${prefix}/bin
10
 PIXMAPDIR=${datarootdir}/pixmaps/${PACKAGE}
9
 PIXMAPDIR=${datarootdir}/pixmaps/${PACKAGE}
11
 APPDIR=${datarootdir}/applications
10
 APPDIR=${datarootdir}/applications
12
 
11
 
13
@@ -200,8 +199,6 @@
14
 install: netrek-client-cow
15
 	mkdir -p $(DESTDIR)$(BINDIR)
16
 	install netrek-client-cow $(DESTDIR)$(BINDIR)
17
-	mkdir -p $(DESTDIR)$(DOCDIR)
18
-	cp $(KEYFILE) $(DESTDIR)$(DOCDIR)
19
 	mkdir -p $(DESTDIR)$(PIXMAPDIR)
20
 	cp -pr pixmaps/* $(DESTDIR)$(PIXMAPDIR)/
21
 	mkdir -p $(DESTDIR)$(APPDIR)

Return to bug 246507