aboutsummaryrefslogtreecommitdiff
path: root/games/netrek-client-cow/Makefile
diff options
context:
space:
mode:
authorWesley Shields <wxs@FreeBSD.org>2013-07-06 19:29:38 +0000
committerWesley Shields <wxs@FreeBSD.org>2013-07-06 19:29:38 +0000
commit7ff95df359579db0bb42fd89ec01633f857f1bb2 (patch)
treec44ff08192dc0a0b11b1aa3aae5feb2ef48fcf21 /games/netrek-client-cow/Makefile
parentb1b460b5b2e053b20efb1856c3610065a30ed2f1 (diff)
downloadports-7ff95df359579db0bb42fd89ec01633f857f1bb2.tar.gz
ports-7ff95df359579db0bb42fd89ec01633f857f1bb2.zip
Notes
Diffstat (limited to 'games/netrek-client-cow/Makefile')
-rw-r--r--games/netrek-client-cow/Makefile17
1 files changed, 9 insertions, 8 deletions
diff --git a/games/netrek-client-cow/Makefile b/games/netrek-client-cow/Makefile
index 036bccb7048f..65d573b61d14 100644
--- a/games/netrek-client-cow/Makefile
+++ b/games/netrek-client-cow/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: netrek-client-cow
-# Date created: 20 April 2012
-# Whom: Kevin Zheng <kevinz5000@gmail.com>
-#
+# Created by: Kevin Zheng <kevinz5000@gmail.com>
# $FreeBSD$
-#
PORTNAME= netrek-client-cow
PORTVERSION= 3.3.1
@@ -13,13 +9,14 @@ MASTER_SITES= http://www.netrek.org/files/COW/ \
http://quozl.us.netrek.org/netrek/
MAINTAINER= kevinz5000@gmail.com
-COMMENT= A multi-player battle simulation with a Star Trek theme
+COMMENT= Multi-player battle simulation with a Star Trek theme
LIB_DEPENDS= Imlib2:${PORTSDIR}/graphics/imlib2
GNU_CONFIGURE= yes
-USE_GMAKE= yes
+USES= gmake
USE_SDL= sdl mixer
+
CONFIGURE_ARGS+= NORSA='\#'
post-patch:
@@ -28,7 +25,11 @@ post-patch:
${REINPLACE_CMD} -e 's|inline void|void|' \
${WRKSRC}/local.[ch]
${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' \
- ${WRKSRC}/x11sprite.c ${WRKSRC}/netrek-client-cow.desktop
+ ${WRKSRC}/netrek-client-cow.desktop \
+ ${WRKSRC}/sound.c \
+ ${WRKSRC}/x11sprite.c
+ ${REINPLACE_CMD} -e 's|8000, AUDIO_U8, 1|22050, AUDIO_U8, 2|' \
+ ${WRKSRC}/sound.c
${REINPLACE_CMD} -e 's|games|bin|' \
${WRKSRC}/netrek-client-cow.desktop