aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorosa <osa@FreeBSD.org>2004-04-29 19:13:35 +0800
committerosa <osa@FreeBSD.org>2004-04-29 19:13:35 +0800
commit4eb18583b9d5ba494e1e7f43fd6ccb59c0321c02 (patch)
tree045ec0b7b4d5a4f4745f0b0896ca341fd5d30b7d /games
parenta66e523814ff8c3c192c4a54ccee2a94f341a177 (diff)
downloadfreebsd-ports-gnome-4eb18583b9d5ba494e1e7f43fd6ccb59c0321c02.tar.gz
freebsd-ports-gnome-4eb18583b9d5ba494e1e7f43fd6ccb59c0321c02.tar.zst
freebsd-ports-gnome-4eb18583b9d5ba494e1e7f43fd6ccb59c0321c02.zip
Long-awaited update of mvdsv from 0.1723b -> 0.1725b,
after discovery of new "official" development site of MVDSV project. Submitted by: Alexey Dokuchaev <danfe@regency.nsu.ru> (maintainer) PR: 65847
Diffstat (limited to 'games')
-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/