# $Id: Portfile,v 1.10 2003/11/17 21:19:59 jkh Exp $

PortSystem 1.0
name		nqc
version		2.4.r3
categories	lang
maintainers	landonf@opendarwin.org
description	Not-Quite-C Lego RCX Compiler
platforms	darwin

master_sites	http://www.baumfamily.org/nqc/release/
extract.suffix	.tgz
checksums	md5 5fc032b990dc065d523285d9ccab91b4
post-patch	{ reinplace s|/usr/local|${prefix}/| ${worksrcpath}/Makefile }

configure	{}

build.env	TARGET=macosx

pre-destroot     { reinplace "s|${prefix}|${destroot}${prefix}|g" ${worksrcpath}/Makefile }
