2003-06-03 21:36:13 +02:00
|
|
|
# New ports collection makefile for: MVDSV
|
|
|
|
# Date created: 03 Jun 2003
|
|
|
|
# Whom: Alexey Dokuchaev <danfe@regency.nsu.ru>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2004-11-15 12:41:43 +01:00
|
|
|
PORTNAME?= mvdsv
|
2006-07-05 15:00:35 +02:00
|
|
|
PORTVERSION= 0.20
|
2005-10-26 11:53:40 +02:00
|
|
|
PORTEPOCH= 2
|
2004-11-15 12:41:43 +01:00
|
|
|
CATEGORIES?= games
|
2005-10-26 11:53:40 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
|
|
|
http://quakeworld.ru/files/vvd/mvdsv/
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2004-11-15 12:41:43 +01: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
|
|
|
|
2004-04-29 13:13:35 +02:00
|
|
|
USE_BZIP2= yes
|
|
|
|
|
2003-06-03 21:36:13 +02:00
|
|
|
MAKEFILE= ${FILESDIR}/Makefile
|
2004-11-15 12:41:43 +01:00
|
|
|
ALL_TARGET= ${PORTNAME}
|
2004-04-29 13:13:35 +02:00
|
|
|
|
2004-11-15 12:41:43 +01:00
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
WRKSRC= ${WRKDIR}/mvdsv_${PORTVERSION}/source
|
2003-06-03 21:36:13 +02:00
|
|
|
|
2006-07-05 15:00:35 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${ARCH} == "alpha" || ${ARCH} == "amd64" || ${ARCH} == "i386" || ${ARCH} == "ia64"
|
|
|
|
MAKE_ARGS+= BYTE_ORDER=__LITTLE_ENDIAN__
|
|
|
|
.else
|
|
|
|
MAKE_ARGS+= BYTE_ORDER=__BIG_ENDIAN__
|
|
|
|
.endif
|
|
|
|
|
2003-06-03 21:36:13 +02:00
|
|
|
pre-everything::
|
2006-07-05 15:14:37 +02:00
|
|
|
.if !defined(WITHOUT_KQUEUE)
|
|
|
|
@${ECHO_MSG} "Define WITHOUT_KQUEUE to disable Kqueue support"
|
|
|
|
.endif
|
2004-01-09 23:29:38 +01:00
|
|
|
.if !defined(WITH_OPTIMIZED_CFLAGS)
|
|
|
|
@${ECHO_MSG} "Define WITH_OPTIMIZED_CFLAGS to enable extra optimization options"
|
|
|
|
.endif
|
2006-07-05 15:00:35 +02:00
|
|
|
.if ${ARCH} == "i386" && !defined(WITHOUT_X86_ASM)
|
2003-06-03 21:36:13 +02:00
|
|
|
@${ECHO_MSG} "Define WITHOUT_X86_ASM to disable x86 assembly code"
|
|
|
|
.endif
|
|
|
|
|
|
|
|
do-install:
|
2004-11-15 12:41:43 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/../${PORTNAME} ${PREFIX}/bin
|
2003-06-03 21:36:13 +02:00
|
|
|
|
2006-07-05 15:00:35 +02:00
|
|
|
.include <bsd.port.post.mk>
|