aboutsummaryrefslogtreecommitdiff
path: root/games/mvdsv
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2004-04-29 11:13:35 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2004-04-29 11:13:35 +0000
commit9fc8656bd3cfb3762d0ba15ca6291939604765da (patch)
treee3ed8b95ea3c1d3d0158d05b502761f217714f90 /games/mvdsv
parent6e6f0f5a01d424669f087ffe57e3bce805891c55 (diff)
downloadports-9fc8656bd3cfb3762d0ba15ca6291939604765da.tar.gz
ports-9fc8656bd3cfb3762d0ba15ca6291939604765da.zip
Notes
Diffstat (limited to 'games/mvdsv')
-rw-r--r--games/mvdsv/Makefile30
-rw-r--r--games/mvdsv/distinfo4
-rw-r--r--games/mvdsv/files/Makefile5
-rw-r--r--games/mvdsv/pkg-descr2
4 files changed, 33 insertions, 8 deletions
diff --git a/games/mvdsv/Makefile b/games/mvdsv/Makefile
index 548fd3c165b0..738d7129f9dc 100644
--- a/games/mvdsv/Makefile
+++ b/games/mvdsv/Makefile
@@ -6,18 +6,38 @@
#
PORTNAME= mvdsv
-PORTVERSION= 0.1723b
+PORTVERSION= 0.1725b
CATEGORIES= games
-MASTER_SITES= http://www.wsb.poznan.pl/~pawel/q/q/ktpro/ \
+MASTER_SITES= http://quakeworld.ru/files/vvd/mvdsv/ \
http://freebsd.nsu.ru/distfiles/
-DISTNAME= ${PORTNAME}_${PORTVERSION}_source
+DISTNAME= ${PORTNAME}${PORTVERSION}-sources
MAINTAINER= danfe@regency.nsu.ru
COMMENT= Enhanced QuakeWorld server with multi-view demos capability
+USE_BZIP2= yes
+
+.include <bsd.port.pre.mk>
+
+.if defined(GCCVERSION)
+. if ${GCCVERSION} < 030000
+GCC_VER= 2
+. else
+GCC_VER= 3
+. endif
+.else
+. if ${OSVERSION} < 500035
+GCC_VER= 2
+. else
+GCC_VER= 3
+. endif
+.endif
+
MAKEFILE= ${FILESDIR}/Makefile
+MAKE_ARGS+= GCC_VER=${GCC_VER}
+
PLIST_FILES= bin/mvdsv
-WRKSRC= ${WRKDIR}/${DISTNAME}/source
+WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION}/source
pre-everything::
.if !defined(WITH_OPTIMIZED_CFLAGS)
@@ -30,4 +50,4 @@ pre-everything::
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/games/mvdsv/distinfo b/games/mvdsv/distinfo
index 542802a1e8a5..1eb0c28ab8c4 100644
--- a/games/mvdsv/distinfo
+++ b/games/mvdsv/distinfo
@@ -1,2 +1,2 @@
-MD5 (mvdsv_0.1723b_source.tar.gz) = 846ba5222d8918bd9a3b5b950dcefb7e
-SIZE (mvdsv_0.1723b_source.tar.gz) = 555093
+MD5 (mvdsv0.1725b-sources.tar.bz2) = 64b3818220f8b82140f3030ec54d4b02
+SIZE (mvdsv0.1725b-sources.tar.bz2) = 467501
diff --git a/games/mvdsv/files/Makefile b/games/mvdsv/files/Makefile
index 36457164905c..f8c2efa4aa16 100644
--- a/games/mvdsv/files/Makefile
+++ b/games/mvdsv/files/Makefile
@@ -19,6 +19,11 @@ DO_CFLAGS += -Did386
.if defined(WITH_OPTIMIZED_CFLAGS)
DO_CFLAGS += -O9 -pipe -s -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations
+. if ${GCC_VER} == 2
+DO_CFLAGS += -malign-loops=2 -malign-jumps=2 -malign-functions=2
+. elif ${GCC_VER} == 3
+DO_CFLAGS += -falign-loops=2 -falign-jumps=2 -falign-functions=2
+. endif
.endif
########################################################################
diff --git a/games/mvdsv/pkg-descr b/games/mvdsv/pkg-descr
index 6a9c1d167a18..4cd760c12166 100644
--- a/games/mvdsv/pkg-descr
+++ b/games/mvdsv/pkg-descr
@@ -4,4 +4,4 @@ biggest step in QuakeWorld since Qizmo release. MVDSV is also the best
server to use with KTeams Pro deathmatch mod, and in fact is required
for latter's full functionality.
-WWW: http://www.wsb.poznan.pl/~pawel/q/q/ktpro/
+WWW: http://rxr.quakeworld.nu/ktpro/