blob: 35890f9b2642ec8d69b11f4b874d1b1de8c6de0c (
plain)
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
57
58
|
# 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.28
PORTEPOCH= 2
CATEGORIES?= games
MASTER_SITES= http://qw-dev.net/attachments/download/130/
DISTNAME= mvdsv_${PORTVERSION}-sources
MAINTAINER= danfe@FreeBSD.org
COMMENT?= Enhanced QuakeWorld server with multi-view demos capability
USE_ZIP= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS= ${OPSYS}
ALL_TARGET= ${PORTNAME}
WRKSRC= ${WRKDIR}/mvdsv-${PORTVERSION}
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
post-extract:
# Allow execution of configure script (fix permissions)
@${CHMOD} +x ${WRKSRC}/configure
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>
|