aboutsummaryrefslogtreecommitdiffstats
path: root/games/ruby-exmars/Makefile
blob: 24a66cbefe916b65e7132cae3e8db97551da78d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Created by: Alejandro Pulver <alejandro@varnet.biz>
# $FreeBSD$

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>