blob: 16851a666ca64e8bfb8d40867a22b0cdf8e8a067 (
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
56
|
# New ports collection makefile for: MVDSV (+ master port for qwdtools)
# Date created: 03 Jun 2003
# Whom: Alexey Dokuchaev <danfe@regency.nsu.ru>
#
# $FreeBSD$
#
PORTNAME?= mvdsv
PORTVERSION= 0.29
PORTEPOCH= 2
CATEGORIES?= games
MASTER_SITES= http://qw-dev.net/attachments/download/201/
DISTNAME= mvdsv_${PORTVERSION}-sources
MAINTAINER= danfe@FreeBSD.org
COMMENT?= Enhanced QuakeWorld server with multi-view demos capability
LICENSE= GPLv2
USE_ZIP= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS= ${OPSYS} ${ARCH:C/.*(64)/\1/}
ALL_TARGET= ${PORTNAME}
WRKSRC= ${WRKDIR}/mvdsv
MAKE_JOBS_UNSAFE= yes
PLIST_FILES= bin/${PORTNAME}
OPTIONS= X86_ASM "Compile with x86 assembly code" on
.if ${PORTNAME} == "mvdsv"
OPTIONS+= KQUEUE "Enable Kqueue support" on
.endif
.include <bsd.port.pre.mk>
.if defined(WITHOUT_KQUEUE)
MAKE_ARGS+= -DNOKQUEUE
.endif
.if defined(WITHOUT_X86_ASM)
MAKE_ARGS+= -DWITHOUT_X86_ASM
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
post-install:
# Checking for presence of ${PKGMESSAGE} explicitly does not work here
.if exists(${.CURDIR}/pkg-message)
@${ECHO_MSG}
@${CAT} ${PKGMESSAGE}
@${ECHO_MSG}
.endif
.include <bsd.port.post.mk>
|