Sat Jun 11 18:43:24 2016 UTC ()
Import pmars-0.9.2 as games/pmars

Core War is a game in which two or more virus-like programs fight against
each other in a simulated memory space or core.

Core War programs are written in an assembly language called Redcode which is
interpreted by a Core War simulator or MARS (Memory Array Redcode Simulator).

The object of the game is to prevent the other program(s) from executing.


(kamil)
diff -r0 -r1.1 pkgsrc/games/pmars/DESCR
diff -r0 -r1.1 pkgsrc/games/pmars/Makefile
diff -r0 -r1.1 pkgsrc/games/pmars/PLIST
diff -r0 -r1.1 pkgsrc/games/pmars/distinfo

File Added: pkgsrc/games/pmars/DESCR
Core War is a game in which two or more virus-like programs fight against
each other in a simulated memory space or core.

Core War programs are written in an assembly language called Redcode which is
interpreted by a Core War simulator or MARS (Memory Array Redcode Simulator).

The object of the game is to prevent the other program(s) from executing.

File Added: pkgsrc/games/pmars/Makefile
# $NetBSD: Makefile,v 1.1 2016/06/11 18:43:24 kamil Exp $
#

DISTNAME=		pmars-0.9.2
CATEGORIES=		games
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=corewar/}

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://www.koth.org/pmars/
COMMENT=		The official Core Wars simulator
LICENSE=		gnu-gpl-v2

BUILD_MAKE_FLAGS+=	-C src
BUILD_MAKE_FLAGS+=	CC=${CC:Q}
BUILD_MAKE_FLAGS+=	LIB="-Wl,-rpath,${BUILDLINK_PREFIX.libX11}/lib -lX11"

INSTALLATION_DIRS+=	bin share/pmars share/pmars/config share/pmars/warriors ${PKGMANDIR}/man6

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/src/pmars ${DESTDIR}${PREFIX}/bin
	${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/pmars
	${INSTALL_DATA} ${WRKSRC}/CONTRIB ${DESTDIR}${PREFIX}/share/pmars
	${INSTALL_DATA} ${WRKSRC}/config/* ${DESTDIR}${PREFIX}/share/pmars/config
	${INSTALL_DATA} ${WRKSRC}/warriors/* ${DESTDIR}${PREFIX}/share/pmars/warriors
	${INSTALL_MAN} ${WRKSRC}/doc/pmars.6 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man6

.include "../../x11/libX11/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

File Added: pkgsrc/games/pmars/PLIST
@comment $NetBSD: PLIST,v 1.1 2016/06/11 18:43:24 kamil Exp $
bin/pmars
man/man6/pmars.6
share/pmars/CONTRIB
share/pmars/README
share/pmars/config/94x.opt
share/pmars/config/icws.opt
share/pmars/config/mw.mac
share/pmars/config/pmars.mac
share/pmars/config/x.opt
share/pmars/warriors/aeka.red
share/pmars/warriors/flashpaper.red
share/pmars/warriors/pspace.red
share/pmars/warriors/rave.red
share/pmars/warriors/validate.red

File Added: pkgsrc/games/pmars/distinfo
$NetBSD: distinfo,v 1.1 2016/06/11 18:43:24 kamil Exp $

SHA1 (pmars-0.9.2.tar.gz) = b49162a4f63ed6c4e94e28b762c41ff73057b99f
RMD160 (pmars-0.9.2.tar.gz) = d0f6ca86633424b10d54b418ee371fd6bf987e35
SHA512 (pmars-0.9.2.tar.gz) = 901adb3e1620a3ff23810514001926e233c7654b623d3d7c2541598141e539647d5a9a04b8da166f2f01c24afca95351affd51c10267ccaffd6d1bd0788545af
Size (pmars-0.9.2.tar.gz) = 158415 bytes
SHA1 (patch-src_Makefile) = 33b7617dc7d67bbd82258c02ce16a20746a0aad0
SHA1 (patch-src_cdb.c) = 77e8fe6280cf844a80aeaf8477affe92d4b6cb66
SHA1 (patch-src_sim.c) = a3a9480f930de346b13653d970c0fc10c67d6ce4
SHA1 (patch-src_sim.h) = d68c1b49bbf863527268d1a5796e81481e9022b8
SHA1 (patch-src_xwindisp.c) = 226a7a79db69c97667059f6113ac5a6599da8c5c