diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2007-10-15 11:03:18 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2007-10-15 11:03:18 +0000 |
commit | 4a50a19556d405236e9b96d0a7eee9e507c60455 (patch) | |
tree | 01ec89cb487c753c2d21bb6896845f8971b627ec /games | |
parent | 48718a0befea1de499d513c477753efc675168bb (diff) | |
download | ports-4a50a19556d405236e9b96d0a7eee9e507c60455.tar.gz ports-4a50a19556d405236e9b96d0a7eee9e507c60455.zip |
Notes
Diffstat (limited to 'games')
-rw-r--r-- | games/mvdsv/Makefile | 6 | ||||
-rw-r--r-- | games/mvdsv/distinfo | 6 | ||||
-rw-r--r-- | games/mvdsv/files/Makefile | 24 |
3 files changed, 24 insertions, 12 deletions
diff --git a/games/mvdsv/Makefile b/games/mvdsv/Makefile index 0ac6eca66f8d..aa3265cb0991 100644 --- a/games/mvdsv/Makefile +++ b/games/mvdsv/Makefile @@ -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 diff --git a/games/mvdsv/distinfo b/games/mvdsv/distinfo index 68bc7879303e..f85c3a535fde 100644 --- a/games/mvdsv/distinfo +++ b/games/mvdsv/distinfo @@ -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 diff --git a/games/mvdsv/files/Makefile b/games/mvdsv/files/Makefile index f277556e33ed..c1f6bf109027 100644 --- a/games/mvdsv/files/Makefile +++ b/games/mvdsv/files/Makefile @@ -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 |