blob: 5420ff07131d2fac6efd111a5e2a9c75a8b3ad70 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# New ports collection makefile for: MVDSV
# Date created: 03 Jun 2003
# Whom: Alexey Dokuchaev <danfe@regency.nsu.ru>
#
# $FreeBSD$
#
PORTNAME?= mvdsv
PORTVERSION= 0.178
PORTEPOCH= 1
CATEGORIES?= games
MASTER_SITES= http://quakeworld.ru/files/vvd/mvdsv/ \
http://freebsd.nsu.ru/distfiles/
DISTNAME= mvdsv_${PORTVERSION}_sources
MAINTAINER= danfe@FreeBSD.org
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
ALL_TARGET= ${PORTNAME}
MAKE_ARGS+= GCC_VER=${GCC_VER}
PLIST_FILES= bin/${PORTNAME}
WRKSRC= ${WRKDIR}/mvdsv_${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>
|