885a045ee4
- Explicitly deduce endianness instead of patching sources - Do not build bundled PCRE code, use the one from ports - ASM option is 32-bit only and implies OPTIMIZED_CFLAGS - Unfortunately, upstream had removed BSD Kqueue support - Actualize WWW line in the port descriptions while here
44 lines
941 B
Makefile
44 lines
941 B
Makefile
# Created by: Alexey Dokuchaev <danfe@regency.nsu.ru>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME?= mvdsv
|
|
PORTVERSION= 0.32
|
|
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>
|