# $Id: Portfile 50274 2009-04-28 18:30:30Z jmr@macports.org $

PortSystem 1.0

name			sketchy
version			20060305
categories		lang scheme
platforms		darwin
maintainers		nomaintainer
description		interpreter for a purely applicative dialect of Scheme
long_description	Sketchy is an interpreter for a purely applicative dialect \
			of Scheme. It may be considered an implementation of pure LISP \
			plus global definitions, first-class continuations, and \
			input/output functions.

homepage		http://www.t3x.org/sketchy/
master_sites	http://www.t3x.org/files/
checksums		sha1 d642b65ed56fafe0633e39a4e53a821564d0fa24
patchfiles		patch-Makefile

use_configure	no

build.args		PREFIX=${prefix} \
				CC=${configure.cc}

destroot.destdir	PREFIX=${destroot}${prefix} BINOWN=`id -u` BINGRP=`id -g`
post-destroot {
	reinplace "s|image=\.*|image=\"${prefix}/share/sketchy/sketchy.image\"|g" \
		${destroot}${prefix}/bin/sk
}
