1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00
freebsd-ports/games/mvdsv/Makefile
Sergey A. Osokin 9fc8656bd3 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
2004-04-29 11:13:35 +00:00

54 lines
1.1 KiB
Makefile

# New ports collection makefile for: MVDSV
# Date created: 03 Jun 2003
# Whom: Alexey Dokuchaev <danfe@regency.nsu.ru>
#
# $FreeBSD$
#
PORTNAME= mvdsv
PORTVERSION= 0.1725b
CATEGORIES= games
MASTER_SITES= http://quakeworld.ru/files/vvd/mvdsv/ \
http://freebsd.nsu.ru/distfiles/
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}/${PORTNAME}${PORTVERSION}/source
pre-everything::
.if !defined(WITH_OPTIMIZED_CFLAGS)
@${ECHO_MSG} "Define WITH_OPTIMIZED_CFLAGS to enable extra optimization options"
.endif
.if ${MACHINE_ARCH} == "i386" && !defined(WITHOUT_X86_ASM)
@${ECHO_MSG} "Define WITHOUT_X86_ASM to disable x86 assembly code"
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.include <bsd.port.post.mk>