2003-06-03 21:36:13 +02:00
|
|
|
# New ports collection makefile for: MVDSV
|
|
|
|
# Date created: 03 Jun 2003
|
|
|
|
# Whom: Alexey Dokuchaev <danfe@regency.nsu.ru>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2004-11-15 12:41:43 +01:00
|
|
|
PORTNAME?= mvdsv
|
2005-03-03 14:00:02 +01:00
|
|
|
PORTVERSION= 0.178
|
2004-11-16 10:43:51 +01:00
|
|
|
PORTEPOCH= 1
|
2004-11-15 12:41:43 +01:00
|
|
|
CATEGORIES?= games
|
2004-04-29 13:13:35 +02:00
|
|
|
MASTER_SITES= http://quakeworld.ru/files/vvd/mvdsv/ \
|
2003-06-03 21:36:13 +02:00
|
|
|
http://freebsd.nsu.ru/distfiles/
|
2004-11-15 12:41:43 +01:00
|
|
|
DISTNAME= mvdsv_${PORTVERSION}_sources
|
2003-06-03 21:36:13 +02:00
|
|
|
|
2004-08-27 10:46:33 +02:00
|
|
|
MAINTAINER= danfe@FreeBSD.org
|
2004-11-15 12:41:43 +01:00
|
|
|
COMMENT?= Enhanced QuakeWorld server with multi-view demos capability
|
2003-06-03 21:36:13 +02:00
|
|
|
|
2004-04-29 13:13:35 +02:00
|
|
|
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
|
|
|
|
|
2003-06-03 21:36:13 +02:00
|
|
|
MAKEFILE= ${FILESDIR}/Makefile
|
2004-11-15 12:41:43 +01:00
|
|
|
ALL_TARGET= ${PORTNAME}
|
2004-04-29 13:13:35 +02:00
|
|
|
MAKE_ARGS+= GCC_VER=${GCC_VER}
|
|
|
|
|
2004-11-15 12:41:43 +01:00
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
WRKSRC= ${WRKDIR}/mvdsv_${PORTVERSION}/source
|
2003-06-03 21:36:13 +02:00
|
|
|
|
|
|
|
pre-everything::
|
2004-01-09 23:29:38 +01:00
|
|
|
.if !defined(WITH_OPTIMIZED_CFLAGS)
|
|
|
|
@${ECHO_MSG} "Define WITH_OPTIMIZED_CFLAGS to enable extra optimization options"
|
|
|
|
.endif
|
2003-06-03 22:16:26 +02:00
|
|
|
.if ${MACHINE_ARCH} == "i386" && !defined(WITHOUT_X86_ASM)
|
2003-06-03 21:36:13 +02:00
|
|
|
@${ECHO_MSG} "Define WITHOUT_X86_ASM to disable x86 assembly code"
|
|
|
|
.endif
|
|
|
|
|
|
|
|
do-install:
|
2004-11-15 12:41:43 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/../${PORTNAME} ${PREFIX}/bin
|
2003-06-03 21:36:13 +02:00
|
|
|
|
2004-04-29 13:13:35 +02:00
|
|
|
.include <bsd.port.post.mk>
|