PortSystem		1.0

name			scare
version			1.3.10
categories		games
license			GPL-2
maintainers		nomaintainer
description		SCARE is a GPL C-based interpreter for ADRIFT games
long_description	SCARE is secondary clone of jAsea, Mark J. Tilford's\
			Java GPL clone of the Adrift Runner. It aims to\
			provide an ANSI/ISO C core Adrift interpreter,\
			capable of running Adrift version 4.00, version 3.90,\
			and version 3.80 games, and portable enough to run on\
			Linux, Windows, DOS, Macintosh, Amiga, or any\
			platform that offers an ANSI/ISO C compiler.
homepage		http://www.geocities.com/legion_if/scare.html

platforms		darwin freebsd
use_zip			yes
master_sites \
	http://mirror.ifarchive.org/if-archive/programming/adrift/ \
	http://www.ifarchive.org/if-archive/programming/adrift/
checksums		md5	5312c6d43e72c9b2800742b272901f9d \
			sha1	9890691b1bb640baa1d4d74df9d4f990f3804273 \
			rmd160	e1def469fa1696658cc783cb0ded7244a6e05b77

use_configure		no
build.target		scare
build.args			CC=${configure.cc}

destroot {
	xinstall -d -m 0755 ${destroot}${prefix}/share/${distname}
	xinstall -m 0755 ${worksrcpath}/source/${name} \
		${destroot}${prefix}/bin
	xinstall -m 0644 -W ${worksrcpath}/doc \
		DEBUGGER FEATURES RUNNING \
		${destroot}${prefix}/share/${distname}
}
