# Created by: Alejandro Pulver <alejandro@varnet.biz>
# $FreeBSD: branches/RELENG_9_2_0/games/ruby-exmars/Makefile 313317 2013-03-03 01:43:02Z swills $

PORTNAME=	exmars
PORTVERSION=	0.01
CATEGORIES=	games ruby
MASTER_SITES=	http://corewar.co.uk/ankerl/
PKGNAMEPREFIX=	${RUBY_PKGNAMEPREFIX}

MAINTAINER=	ruby@FreeBSD.org
COMMENT=	Ruby interface to the exMARS Memory Array Redcode Simulator

DEPRECATED=	Does not work with Ruby 1.9
EXPIRATION_DATE=	2013-05-02

USE_RUBY=	yes
USE_RUBY_EXTCONF=	yes

post-install:
	${MKDIR} ${RUBY_MODEXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/test.rb ${RUBY_MODEXAMPLESDIR}/Mars.rb

.include <bsd.port.pre.mk>
.if ${RUBY_VER} == 1.9
BROKEN=	does not build with ruby 1.9
.endif
.include <bsd.port.post.mk>
