Update to version 0.27.
This commit is contained in:
parent
48718a0bef
commit
4a50a19556
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=201491
3 changed files with 24 additions and 12 deletions
|
@ -6,7 +6,7 @@
|
|||
#
|
||||
|
||||
PORTNAME?= mvdsv
|
||||
PORTVERSION= 0.20
|
||||
PORTVERSION= 0.27
|
||||
PORTEPOCH= 2
|
||||
CATEGORIES?= games
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
||||
|
@ -44,6 +44,10 @@ pre-everything::
|
|||
@${ECHO_MSG} "Define WITHOUT_X86_ASM to disable x86 assembly code"
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
# Fix bogus directories permissions
|
||||
@${FIND} ${WRKDIR} -type d -exec ${CHMOD} +X '{}' \;
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/../${PORTNAME} ${PREFIX}/bin
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
MD5 (mvdsv_0.20_sources.tar.bz2) = 4bbdf708093a4c9641ce63ca7cc4b99b
|
||||
SHA256 (mvdsv_0.20_sources.tar.bz2) = c84798a219ad5b0ad14f3fddc17a5cb686d316aace1222757eca51a6087b032f
|
||||
SIZE (mvdsv_0.20_sources.tar.bz2) = 363177
|
||||
MD5 (mvdsv_0.27_sources.tar.bz2) = 6609fd4bcf39dd1cf34d15b1b1ef1879
|
||||
SHA256 (mvdsv_0.27_sources.tar.bz2) = a22581c6450778477a3878bfe197f125259e8d66368aabedd62da5259abdb826
|
||||
SIZE (mvdsv_0.27_sources.tar.bz2) = 967977
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
# Created on Wednesday, May 21 2003 by Alexey Dokuchaev <danfe@regency.nsu.ru>
|
||||
#
|
||||
|
||||
DO_CFLAGS = ${CFLAGS} -funsigned-char -I${LOCALBASE}/include -Dstricmp=strcasecmp \
|
||||
-DSERVERONLY -DUSE_PR2 -D${BYTE_ORDER}Q__
|
||||
DO_CFLAGS = ${CFLAGS} -funsigned-char -I${LOCALBASE}/include \
|
||||
-Dstricmp=strcasecmp -DSERVERONLY -DUSE_PR2 -D${BYTE_ORDER}Q__
|
||||
|
||||
.if !defined(WITHOUT_KQUEUE)
|
||||
DO_CFLAGS+= -DKQUEUE
|
||||
|
@ -43,13 +43,14 @@ SV_OBJS = \
|
|||
\
|
||||
sv_ccmds.o \
|
||||
sv_demo.o \
|
||||
sv_demo_misc.o \
|
||||
sv_demo_qtv.o \
|
||||
sv_ents.o \
|
||||
sv_init.o \
|
||||
sv_login.o \
|
||||
sv_main.o \
|
||||
sv_master.o \
|
||||
sv_mod_frags.o \
|
||||
sv_model.o \
|
||||
sv_move.o \
|
||||
sv_nchan.o \
|
||||
sv_phys.o \
|
||||
|
@ -60,11 +61,12 @@ SV_OBJS = \
|
|||
bothtools.o \
|
||||
cmd.o \
|
||||
common.o \
|
||||
cmodel.o \
|
||||
crc.o \
|
||||
cvar.o \
|
||||
fs.o \
|
||||
mathlib.o \
|
||||
mdfour.o \
|
||||
md4.o \
|
||||
net_chan.o \
|
||||
net.o \
|
||||
pmove.o \
|
||||
|
@ -79,8 +81,8 @@ SV_OBJS = \
|
|||
|
||||
.if ${ARCH} == "i386" && !defined(WITHOUT_X86_ASM)
|
||||
SV_AS_OBJS = \
|
||||
math.o \
|
||||
worlda.o
|
||||
bothtoolsa.o \
|
||||
math.o
|
||||
.endif
|
||||
|
||||
SV_LIBS = -lm
|
||||
|
@ -101,6 +103,11 @@ QWDTOOLS_OBJS = \
|
|||
qwdtools/sync.o \
|
||||
qwdtools/tools.o
|
||||
|
||||
.if ${ARCH} == "i386" && !defined(WITHOUT_X86_ASM)
|
||||
QWDTOOLS_AS_OBJS = \
|
||||
bothtoolsa.o
|
||||
.endif
|
||||
|
||||
########################################################################
|
||||
|
||||
.c.o:
|
||||
|
@ -114,8 +121,9 @@ all: mvdsv qwdtools
|
|||
mvdsv: ${SV_OBJS} ${SV_AS_OBJS} .PHONY
|
||||
${CC} ${CFLAGS} -o ../mvdsv ${SV_OBJS} ${SV_AS_OBJS} ${SV_LIBS}
|
||||
|
||||
qwdtools: ${QWDTOOLS_OBJS} .PHONY
|
||||
${CC} ${CFLAGS} -o ../qwdtools ${QWDTOOLS_OBJS} ${SV_LIBS}
|
||||
qwdtools: ${QWDTOOLS_OBJS} ${QWDTOOLS_AS_OBJS} .PHONY
|
||||
${CC} ${CFLAGS} -o ../qwdtools ${QWDTOOLS_OBJS} \
|
||||
${QWDTOOLS_AS_OBJS}
|
||||
|
||||
clean:
|
||||
-rm -f *.o *.core
|
||||
|
|
Loading…
Reference in a new issue