freebsd-ports/games/mvdsv/Makefile
Alexey Dokuchaev 58d6b4a1ae Unbreak the build on 64-bit architectures.
Reported by:	pav
2011-08-18 08:04:43 +00:00

57 lines
1.2 KiB
Makefile

# 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>