mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
5fdf19ae5a
Reported by: maintainer
45 lines
941 B
Makefile
45 lines
941 B
Makefile
# Created by: Alexey Dokuchaev <danfe@regency.nsu.ru>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME?= mvdsv
|
|
PORTVERSION= 0.33
|
|
PORTEPOCH= 2
|
|
CATEGORIES?= games
|
|
|
|
MAINTAINER= danfe@FreeBSD.org
|
|
COMMENT?= Enhanced QuakeWorld server with multi-view demos capability
|
|
|
|
LICENSE= GPLv2
|
|
|
|
.if ${PORTNAME} == mvdsv
|
|
LIB_DEPENDS= libcurl.so:ftp/curl \
|
|
libpcre.so:devel/pcre
|
|
USES= localbase:ldflags
|
|
.endif
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= deurk
|
|
|
|
BUILD_WRKSRC?= ${WRKSRC}/build/make
|
|
MAKEFILE= Makefile.BSD
|
|
MAKE_ARGS= UNAME=${OPSYS}
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
OPTIONS_DEFINE= OPTIMIZED_CFLAGS
|
|
OPTIONS_DEFINE_i386= ASM
|
|
OPTIONS_DEFAULT_i386= ASM
|
|
ASM_IMPLIES= OPTIMIZED_CFLAGS
|
|
|
|
ASM_MAKE_ARGS_OFF= -DWITHOUT_X86_ASM
|
|
OPTIMIZED_CFLAGS_MAKE_ARGS= -DWITH_OPTIMIZED_CFLAGS
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '/#include/s,/source,/src,' \
|
|
${WRKSRC}/tools/qwdtools/source/defs.h
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|