2009-06-29 13:00:08 +02:00
|
|
|
# New ports collection makefile for: MVDSV (+ master port for qwdtools)
|
2003-06-03 21:36:13 +02:00
|
|
|
# Date created: 03 Jun 2003
|
|
|
|
# Whom: Alexey Dokuchaev <danfe@regency.nsu.ru>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2004-11-15 12:41:43 +01:00
|
|
|
PORTNAME?= mvdsv
|
2009-06-29 12:27:53 +02:00
|
|
|
PORTVERSION= 0.28
|
2005-10-26 11:53:40 +02:00
|
|
|
PORTEPOCH= 2
|
2004-11-15 12:41:43 +01:00
|
|
|
CATEGORIES?= games
|
2009-06-29 12:27:53 +02:00
|
|
|
MASTER_SITES= http://qw-dev.net/attachments/download/130/
|
|
|
|
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
|
|
|
|
2009-06-29 12:27:53 +02:00
|
|
|
USE_ZIP= yes
|
2004-04-29 13:13:35 +02:00
|
|
|
|
2009-06-29 12:27:53 +02:00
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= ${OPSYS}
|
2004-11-15 12:41:43 +01:00
|
|
|
ALL_TARGET= ${PORTNAME}
|
2009-06-29 12:27:53 +02:00
|
|
|
WRKSRC= ${WRKDIR}/mvdsv-${PORTVERSION}
|
2009-11-20 23:53:09 +01:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
2004-04-29 13:13:35 +02:00
|
|
|
|
2004-11-15 12:41:43 +01:00
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
2009-06-29 12:27:53 +02:00
|
|
|
|
|
|
|
OPTIONS= X86_ASM "Compile with x86 assembly code" on
|
|
|
|
.if ${PORTNAME} == "mvdsv"
|
|
|
|
OPTIONS+= KQUEUE "Enable Kqueue support" on
|
|
|
|
.endif
|
2003-06-03 21:36:13 +02:00
|
|
|
|
2006-07-05 15:00:35 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2009-06-29 12:27:53 +02:00
|
|
|
.if defined(WITHOUT_KQUEUE)
|
|
|
|
MAKE_ARGS+= -DNOKQUEUE
|
2006-07-05 15:00:35 +02:00
|
|
|
.endif
|
|
|
|
|
2009-06-29 12:27:53 +02:00
|
|
|
.if defined(WITHOUT_X86_ASM)
|
|
|
|
MAKE_ARGS+= -DWITHOUT_X86_ASM
|
2003-06-03 21:36:13 +02:00
|
|
|
.endif
|
|
|
|
|
2007-10-15 13:03:18 +02:00
|
|
|
post-extract:
|
2009-06-29 12:27:53 +02:00
|
|
|
# Allow execution of configure script (fix permissions)
|
|
|
|
@${CHMOD} +x ${WRKSRC}/configure
|
2007-10-15 13:03:18 +02:00
|
|
|
|
2003-06-03 21:36:13 +02:00
|
|
|
do-install:
|
2009-06-29 12:27:53 +02:00
|
|
|
${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
|
2003-06-03 21:36:13 +02:00
|
|
|
|
2006-07-05 15:00:35 +02:00
|
|
|
.include <bsd.port.post.mk>
|