2013-03-17 15:55:28 +01:00
|
|
|
# Created by: Alexey Dokuchaev <danfe@regency.nsu.ru>
|
2003-06-03 21:36:13 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2004-11-15 12:41:43 +01:00
|
|
|
PORTNAME?= mvdsv
|
2011-08-09 14:05:22 +02:00
|
|
|
PORTVERSION= 0.29
|
2005-10-26 11:53:40 +02:00
|
|
|
PORTEPOCH= 2
|
2004-11-15 12:41:43 +01:00
|
|
|
CATEGORIES?= games
|
2011-08-09 14:05:22 +02:00
|
|
|
MASTER_SITES= http://qw-dev.net/attachments/download/201/
|
2009-06-29 12:27:53 +02: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
|
|
|
|
2011-08-09 14:05:22 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2014-03-17 10:57:16 +01:00
|
|
|
USES= zip
|
2004-04-29 13:13:35 +02:00
|
|
|
|
2009-06-29 12:27:53 +02:00
|
|
|
HAS_CONFIGURE= yes
|
2011-08-18 10:04:43 +02:00
|
|
|
CONFIGURE_ARGS= ${OPSYS} ${ARCH:C/.*(64)/\1/}
|
2004-11-15 12:41:43 +01:00
|
|
|
ALL_TARGET= ${PORTNAME}
|
2011-08-09 14:05:22 +02:00
|
|
|
WRKSRC= ${WRKDIR}/mvdsv
|
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
|
|
|
|
2013-03-17 15:55:28 +01:00
|
|
|
OPTIONS_DEFINE_i386= ASM
|
|
|
|
OPTIONS_DEFINE_amd64= ASM
|
|
|
|
OPTIONS_DEFAULT_i386= ASM
|
|
|
|
OPTIONS_DEFAULT_amd64= ASM
|
|
|
|
|
2014-03-17 10:57:16 +01:00
|
|
|
.if ${PORTNAME} == mvdsv
|
2013-03-17 15:55:28 +01:00
|
|
|
OPTIONS_DEFINE+= KQUEUE
|
|
|
|
OPTIONS_DEFAULT+= KQUEUE
|
2009-06-29 12:27:53 +02:00
|
|
|
.endif
|
2003-06-03 21:36:13 +02:00
|
|
|
|
2013-03-17 15:55:28 +01:00
|
|
|
KQUEUE_DESC= Kqueue support
|
|
|
|
|
2014-03-17 10:57:16 +01:00
|
|
|
KQUEUE_MAKE_ARGS_OFF= -DNOKQUEUE
|
|
|
|
ASM_MAKE_ARGS_OFF= -DWITHOUT_X86_ASM
|
2003-06-03 21:36:13 +02:00
|
|
|
|
2013-09-12 15:53:53 +02:00
|
|
|
post-patch:
|
2013-10-08 17:59:56 +02:00
|
|
|
@${REINPLACE_CMD} -e 's,gcc,${CC},' ${WRKSRC}/configure
|
2013-09-12 15:53:53 +02:00
|
|
|
@${REINPLACE_CMD} -e 's,^inline ,,' ${WRKSRC}/source/sv_sys_unix.c
|
|
|
|
|
2003-06-03 21:36:13 +02:00
|
|
|
do-install:
|
2013-10-08 17:59:56 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
2003-06-03 21:36:13 +02:00
|
|
|
|
2013-03-17 15:55:28 +01:00
|
|
|
.include <bsd.port.mk>
|