aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/netrek-client-cow/Makefile8
-rw-r--r--games/netrek-client-cow/files/patch-parsemeta.c2
-rw-r--r--games/netrek-client-cow/files/patch-system.mk.in14
-rw-r--r--games/netrek-client-cow/pkg-plist4
4 files changed, 19 insertions, 9 deletions
diff --git a/games/netrek-client-cow/Makefile b/games/netrek-client-cow/Makefile
index c79a9e3b04fd..d0fcd0566506 100644
--- a/games/netrek-client-cow/Makefile
+++ b/games/netrek-client-cow/Makefile
@@ -7,6 +7,7 @@
PORTNAME= netrek-client-cow
PORTVERSION= 3.3.1
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://www.netrek.org/files/COW/ \
http://quozl.us.netrek.org/netrek/
@@ -14,12 +15,11 @@ MASTER_SITES= http://www.netrek.org/files/COW/ \
MAINTAINER= kevinz5000@gmail.com
COMMENT= A multi-player battle simulation with a Star Trek theme
-LIB_DEPENDS= Imlib2:${PORTSDIR}/graphics/imlib2 \
- SDL_mixer:${PORTSDIR}/audio/sdl_mixer
+LIB_DEPENDS= Imlib2:${PORTSDIR}/graphics/imlib2
GNU_CONFIGURE= yes
USE_GMAKE= yes
-USE_SDL= sdl
+USE_SDL= sdl mixer
CONFIGURE_ARGS+= NORSA='\#'
post-patch:
@@ -27,5 +27,7 @@ post-patch:
${WRKSRC}/short.c
${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' \
${WRKSRC}/x11sprite.c ${WRKSRC}/netrek-client-cow.desktop
+ ${REINPLACE_CMD} -e 's|games|bin|' \
+ ${WRKSRC}/netrek-client-cow.desktop
.include <bsd.port.mk>
diff --git a/games/netrek-client-cow/files/patch-parsemeta.c b/games/netrek-client-cow/files/patch-parsemeta.c
index 85f74839a509..2f08b9b62898 100644
--- a/games/netrek-client-cow/files/patch-parsemeta.c
+++ b/games/netrek-client-cow/files/patch-parsemeta.c
@@ -1,5 +1,5 @@
--- ./parsemeta.c.orig 2011-10-18 05:35:34.000000000 -0500
-+++ ./parsemeta.c 2012-04-23 18:10:20.000000000 -0500
++++ ./parsemeta.c 2012-04-27 15:57:56.000000000 -0500
@@ -20,6 +20,7 @@
#include <arpa/inet.h>
#include <netdb.h>
diff --git a/games/netrek-client-cow/files/patch-system.mk.in b/games/netrek-client-cow/files/patch-system.mk.in
index 0568411b2c31..908cb97acfa9 100644
--- a/games/netrek-client-cow/files/patch-system.mk.in
+++ b/games/netrek-client-cow/files/patch-system.mk.in
@@ -1,6 +1,16 @@
--- ./system.mk.in.orig 2011-10-18 05:35:35.000000000 -0500
-+++ ./system.mk.in 2012-04-23 18:10:55.000000000 -0500
-@@ -200,8 +200,6 @@
++++ ./system.mk.in 2012-04-27 15:59:00.000000000 -0500
+@@ -9,8 +9,7 @@
+ datarootdir=@datarootdir@
+
+ DESTDIR=
+-BINDIR=${prefix}/games
+-DOCDIR=${datarootdir}/doc/${PACKAGE}
++BINDIR=${prefix}/bin
+ PIXMAPDIR=${datarootdir}/pixmaps/${PACKAGE}
+ APPDIR=${datarootdir}/applications
+
+@@ -200,8 +199,6 @@
install: netrek-client-cow
mkdir -p $(DESTDIR)$(BINDIR)
install netrek-client-cow $(DESTDIR)$(BINDIR)
diff --git a/games/netrek-client-cow/pkg-plist b/games/netrek-client-cow/pkg-plist
index aca8a8321d7e..e027987dbff0 100644
--- a/games/netrek-client-cow/pkg-plist
+++ b/games/netrek-client-cow/pkg-plist
@@ -1,4 +1,4 @@
-games/netrek-client-cow
+bin/netrek-client-cow
share/applications/netrek-client-cow.desktop
share/pixmaps/netrek-client-cow/Fed/AS.png
share/pixmaps/netrek-client-cow/Fed/AS0.png
@@ -322,6 +322,4 @@ share/pixmaps/netrek-client-cow/ss/scrshot9.png
@dirrm share/pixmaps/netrek-client-cow/Rom
@dirrm share/pixmaps/netrek-client-cow/ss
@dirrm share/pixmaps/netrek-client-cow
-@dirrmtry games
@dirrmtry share/applications
-@dirrmtry share/pixmaps