1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

QMars stands for Quicker Mars. It is a completely new implementation of a mars

simulator, which is an interpreter of the Assembler-like language RedCode,
which is used in CoreWars. QMars is heavily optimized to be as fast as
possible.

WWW:	http://corewar.co.uk/ankerl/qmars.htm
This commit is contained in:
Alejandro Pulver 2008-01-30 03:28:45 +00:00
parent fe9e95088f
commit 7bf49c7a44
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=206419
5 changed files with 58 additions and 0 deletions

View File

@ -616,6 +616,7 @@
SUBDIR += qgo
SUBDIR += qix
SUBDIR += qkmj
SUBDIR += qmars
SUBDIR += qnetchess
SUBDIR += qnetwalk
SUBDIR += qonk

35
games/qmars/Makefile Normal file
View File

@ -0,0 +1,35 @@
# New ports collection makefile for: qmars
# Date created: 2008-01-15
# Whom: alepulver
#
# $FreeBSD$
#
PORTNAME= qmars
PORTVERSION= 1.1
CATEGORIES= games
MASTER_SITES= http://corewar.co.uk/ankerl/
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= alepulver@FreeBSD.org
COMMENT= Quicker Mars is heavily optimized to be as fast as possible
BUILD_DEPENDS= makedepend:${PORTSDIR}/devel/makedepend
USE_BZIP2= yes
REINPLACE_ARGS= -i ""
WRKSRC= ${WRKDIR}/${PORTNAME}
post-patch:
@${REINPLACE_CMD} -e 's|g++|${CXX}|; s|CCFLAGS =|& ${CXXFLAGS}|' \
${WRKSRC}/${MAKEFILE}
@${REINPLACE_CMD} -e 's|\./||' ${WRKSRC}/bench.*
@${REINPLACE_CMD} -e 's|pmars|&-server|' ${WRKSRC}/bench.pmars
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${MKDIR} ${DATADIR}
${INSTALL_SCRIPT} ${WRKSRC}/bench.* ${DATADIR}
${CP} -r ${WRKSRC}/warriors ${DATADIR}
.include <bsd.port.mk>

3
games/qmars/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (qmars_1.1.tar.bz2) = 2b2493562af8bf98a8934d0136dd1856
SHA256 (qmars_1.1.tar.bz2) = ee5f9535bf0dba56b069232d9052ac90b7513f68047eb9e966c6901e920dcaaf
SIZE (qmars_1.1.tar.bz2) = 16705

6
games/qmars/pkg-descr Normal file
View File

@ -0,0 +1,6 @@
QMars stands for Quicker Mars. It is a completely new implementation of a mars
simulator, which is an interpreter of the Assembler-like language RedCode,
which is used in CoreWars. QMars is heavily optimized to be as fast as
possible.
WWW: http://corewar.co.uk/ankerl/qmars.htm

13
games/qmars/pkg-plist Normal file
View File

@ -0,0 +1,13 @@
bin/qmars
%%DATADIR%%/bench.exhaust
%%DATADIR%%/bench.exmars
%%DATADIR%%/bench.pmars
%%DATADIR%%/bench.qmars
%%DATADIR%%/warriors/evolver1090.rc
%%DATADIR%%/warriors/fixed.rc
%%DATADIR%%/warriors/jaguar.rc
%%DATADIR%%/warriors/npaper2.rc
%%DATADIR%%/warriors/sonofvain.rc
%%DATADIR%%/warriors/stalker.rc
@dirrm %%DATADIR%%/warriors
@dirrm %%DATADIR%%